diff options
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/custom-neovim/config/lua/keymaps.lua | 9 | ||||
| -rw-r--r-- | pkgs/custom-neovim/todo.md | 4 |
2 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/custom-neovim/config/lua/keymaps.lua b/pkgs/custom-neovim/config/lua/keymaps.lua index a96902e..7ca0845 100644 --- a/pkgs/custom-neovim/config/lua/keymaps.lua +++ b/pkgs/custom-neovim/config/lua/keymaps.lua @@ -26,13 +26,20 @@ mapkey("n", "<leader>gc", "Git commit", ":Git commit<cr>", "mini-git") mapkey("n", "<leader>gp", "Git pull", ":Git pull<cr>", "mini-git") mapkey("n", "<leader>gP", "Git push", ":Git push<cr>", "mini-git") +-- Tabs +mapkey("n", "<leader>t", "Manage tabs", "") +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>") + -- Session mapkey("n", "<leader>w", "Manage sessions", "") mapkey("n", "<leader>ww", "Open a session", ":Autosession search<cr>", {"mini.pick"}) mapkey("n", "<leader>wd", "Delete a session", ":Autosession delete<cr>", {"mini.pick"}) -- Terminal -mapkey("n", "<leader>t", "Open terminal", ":botright terminal<cr>") +mapkey("n", "<leader>c", "Open terminal", ":botright terminal<cr>") -- Really delete mapkey({"n", "v"}, "<leader>d", "Really delete", [["_d]]) diff --git a/pkgs/custom-neovim/todo.md b/pkgs/custom-neovim/todo.md index 6a3fd4c..c2e47ab 100644 --- a/pkgs/custom-neovim/todo.md +++ b/pkgs/custom-neovim/todo.md @@ -4,3 +4,7 @@ - add git commands (add all and status) - add zoxide plugin - add markdown renderer +- add tab management keys +- add spellcheck to markdown +- fix current tab display + |
