diff options
| author | triethyl <triethylammonium@pm.me> | 2026-03-18 16:23:22 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2026-03-18 16:23:22 -0400 |
| commit | 26f9b43fec441b1c17a44daab12db1b20f57254b (patch) | |
| tree | 13dc2bf5c5e60b6f226d7793604960e23c6e2073 /pkgs/custom-neovim/config/lua/keymaps.lua | |
| parent | 93b5c03ba84dc071deaf9951bff97d7edf01e4cc (diff) | |
neovim: tons of misc changes
Diffstat (limited to 'pkgs/custom-neovim/config/lua/keymaps.lua')
| -rw-r--r-- | pkgs/custom-neovim/config/lua/keymaps.lua | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/custom-neovim/config/lua/keymaps.lua b/pkgs/custom-neovim/config/lua/keymaps.lua index 67d61cf..3fc39b2 100644 --- a/pkgs/custom-neovim/config/lua/keymaps.lua +++ b/pkgs/custom-neovim/config/lua/keymaps.lua @@ -43,7 +43,6 @@ mapkey("n", "<leader>tt", "Go to next tab", ":tabn<cr>") mapkey("n", "<leader>tT", "Go to previous tab", ":tabp<cr>") mapkey("n", "<leader>to", "Open new tab", ":tabnew<cr>") mapkey("n", "<leader>tc", "Close current tab", ":tabclose<cr>") --- mapkey("n", "<leader>tp", "Pick tabs", ":FzfLua tabs", "fzf-lua") -- Buffers mapkey("n", "<leader>b", "Manage buffers", "") @@ -59,12 +58,17 @@ mapkey("n", "<leader>bc", "Clear invisible buffers", function () end) -- Comment box -mapkey("n", "<leader>j", "Manage comment graphics", "") -mapkey("n", "<leader>jb", "Create comment box", ":CB") +mapkey({"n", "v"}, "<leader>j", "Manage comment graphics", "") +mapkey({"n", "v"}, "<leader>jd", "Remove comment graphics", ":CBd<cr>") +mapkey({"n", "v"}, "<leader>jb", "Create simple comment box", ":CBccbox<cr>") +mapkey({"n", "v"}, "<leader>jh", "Create heavy comment box", ":CBccbox3<cr>") +mapkey({"n", "v"}, "<leader>jq", "Create quote comment box", ":CBccbox12<cr>") +mapkey({"n", "v"}, "<leader>jl", "Create simple comment line", ":CBccline<cr>") -- Session mapkey("n", "<leader>w", "Manage sessions", "") -mapkey("n", "<leader>ww", "Manage Sessions", ":AutoSession search<cr>", "mini.pick") +mapkey("n", "<leader>ww", "Search sessions", ":AutoSession search<cr>", "mini.pick") +mapkey("n", "<leader>wd", "Delete a session", ":AutoSession deletePicker<cr>", "mini.pick") mapkey("n", "<leader>ws", "Save current session", ":AutoSession save<cr>") mapkey("n", "<leader>wr", "Open last session", ":AutoSession restore<cr>") mapkey("n", "<leader>wp", "Purge orphaned sessions", ":AutoSession purgeOrphaned<cr>") |
