diff options
| author | brustybee <beebeeb5k@gmail.com> | 2026-04-10 21:09:33 +0530 |
|---|---|---|
| committer | brustybee <beebeeb5k@gmail.com> | 2026-04-10 21:09:33 +0530 |
| commit | c2a96fe631769e1de761d90ceecbe5727d7a392f (patch) | |
| tree | ac25fc1ea7dd41e07acb2c045ecbf8c93274883e /lua | |
| parent | 60312b40af4cfca1291a825228e06f1557921267 (diff) | |
disable gui cursor for insertmode and use kaomoji for lualine mode
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/config/options.lua | 2 | ||||
| -rw-r--r-- | lua/plugins/ui.lua | 23 |
2 files changed, 22 insertions, 3 deletions
diff --git a/lua/config/options.lua b/lua/config/options.lua index 62a4a44..d0e2b40 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -9,7 +9,7 @@ vim.o.undofile = false vim.o.undodir = vim.fn.expand("~/.local/share/nvim/undo") vim.o.termguicolors = true --- vim.o.guicursor = "n-v-c-sm:block,ci-ve:ver25,r-cr-o:hor20" +vim.o.guicursor = "n-v-c-sm:block,ci-ve:ver25,r-cr-o:hor20" vim.o.showmode = false vim.o.showcmd = false vim.o.signcolumn = "yes" diff --git a/lua/plugins/ui.lua b/lua/plugins/ui.lua index 493c426..b2094eb 100644 --- a/lua/plugins/ui.lua +++ b/lua/plugins/ui.lua @@ -9,6 +9,25 @@ return { component_separators = { left = "|", right = "|" }, section_separators = {}, }, + sections = { + lualine_a = { + { + "mode", + fmt = function(mode) + return ({ + NORMAL = "(。•ᴗ•。)", + INSERT = "(づ。◕‿‿◕。)づ", + VISUAL = "(≧◡≦)", + ["V-LINE"] = "(≧▿≦)", + ["V-BLOCK"] = "(☆ω☆)", + COMMAND = "( ̄ω ̄)", + REPLACE = "(;ω;)", + TERMINAL = "(^▽^)", + })[mode] or mode + end, + }, + }, + }, }) end, }, @@ -39,8 +58,8 @@ return { chars = { horizontal_line = "─", vertical_line = "│", - left_top = "╭", - left_bottom = "╰", + left_top = "┌", + left_bottom = "└", right_arrow = "─", }, textobject = "", |
