From c2a96fe631769e1de761d90ceecbe5727d7a392f Mon Sep 17 00:00:00 2001 From: brustybee Date: Fri, 10 Apr 2026 21:09:33 +0530 Subject: disable gui cursor for insertmode and use kaomoji for lualine mode --- lua/config/options.lua | 2 +- lua/plugins/ui.lua | 23 +++++++++++++++++++++-- 2 files changed, 22 insertions(+), 3 deletions(-) (limited to 'lua') 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 = "", -- cgit v1.3.1