summaryrefslogtreecommitdiff
path: root/lua/bee/plugins/ui.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/bee/plugins/ui.lua')
-rw-r--r--lua/bee/plugins/ui.lua69
1 files changed, 69 insertions, 0 deletions
diff --git a/lua/bee/plugins/ui.lua b/lua/bee/plugins/ui.lua
new file mode 100644
index 0000000..8ce2a3c
--- /dev/null
+++ b/lua/bee/plugins/ui.lua
@@ -0,0 +1,69 @@
+return {
+ {
+ "lualine.nvim",
+ auto_enable = true,
+ after = function(_)
+ require("lualine").setup({
+ options = {
+ component_separators = { left = "|", right = "|" },
+ section_separators = {},
+ },
+ sections = {
+ lualine_a = {
+ {
+ "mode",
+ fmt = function(mode)
+ return ({
+ ["NORMAL"] = "っ( ' ᵕ ' )っ",
+ ["O-PENDING"] = "っ( º _ º )っ",
+ ["INSERT"] = "っ(>‿<)っ✎",
+ ["VISUAL"] = "っ(⊙‿⊙)っ",
+ ["V-LINE"] = "っ(ò_ó)っ¤=[]::>",
+ ["V-BLOCK"] = "っ[ •̀ ⌂ •́ ]っ",
+ ["REPLACE"] = "っ( O )っ",
+ ["V-REPLACE"] = "っ[ O ]っ",
+ ["COMMAND"] = "っ(ง •̀_•́)ง",
+ ["TERMINAL"] = "っ( ͡° ͜ʖ ͡°)っ",
+ ["EX"] = "っ( ͡ಠ ͜ʖ ͡ಠ)ง",
+ ["SHELL"] = "っ(©_©)っ",
+ ["MORE"] = "っ(°-° )っ",
+ ["CONFIRM"] = "っ( 0_0)?",
+
+ -- ["SELECT"] = "っ(づ。◕‿‿◕。)づ",
+ -- ["S-LINE"] = "っ(づ。◕‿‿◕。)づ¤",
+ -- ["S-BLOCK"] = "っ[づ。◕‿‿◕。]づ",
+ })[mode] or mode
+ end,
+ },
+ },
+ lualine_c = {
+ {
+ "filename",
+ path = 1,
+ },
+ },
+ },
+ inactive_sections = {
+ lualine_a = { "filename" },
+ lualine_b = {},
+ lualine_c = {},
+ lualine_x = {},
+ lualine_y = {},
+ lualine_z = { "location" },
+ },
+ })
+ end,
+ },
+ {
+ "mini.indentscope",
+ auto_enable = true,
+ event = "DeferredUIEnter",
+ after = function(_)
+ require("mini.indentscope").setup({
+ draw = {
+ delay = 200,
+ },
+ })
+ end,
+ },
+}