diff --git a/lua/core/default_config.lua b/lua/core/default_config.lua index 120b01b..131fa54 100644 --- a/lua/core/default_config.lua +++ b/lua/core/default_config.lua @@ -70,6 +70,10 @@ M.ui = { { " Themes", "Spc t f", "Telescope themes" }, }, }, + + cheatsheet = { + theme = "grid", -- simple/grid + }, } M.plugins = {} diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index c98805f..2b52096 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -64,16 +64,16 @@ M.general = { t = { [""] = { termcodes "", "escape terminal mode" } }, v = { - [""] = { 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', opts = { expr = true } }, - [""] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', opts = { expr = true } }, + [""] = { 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', "move up", opts = { expr = true } }, + [""] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', "move down", opts = { expr = true } }, }, x = { - ["j"] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', opts = { expr = true } }, - ["k"] = { 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', opts = { expr = true } }, + ["j"] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', "move left", opts = { expr = true } }, + ["k"] = { 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', "move down", opts = { expr = true } }, -- Don't copy the replaced text after pasting in visual mode -- https://vim.fandom.com/wiki/Replace_a_word_with_yanked_text#Alternative_mapping_for_paste - ["p"] = { 'p:let @+=@0:let @"=@0', opts = { silent = true } }, + ["p"] = { 'p:let @+=@0:let @"=@0', "dont copy replaced text", opts = { silent = true } }, }, }