diff options
| -rw-r--r-- | pkgs/custom-neovim/config/lua/mappings.lua | 4 | ||||
| -rw-r--r-- | pkgs/custom-neovim/design.md | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/custom-neovim/config/lua/mappings.lua b/pkgs/custom-neovim/config/lua/mappings.lua index ec5788b..5479cc0 100644 --- a/pkgs/custom-neovim/config/lua/mappings.lua +++ b/pkgs/custom-neovim/config/lua/mappings.lua @@ -47,7 +47,9 @@ mapkey("n", "<leader>cc", "Toggle terminal", ":lua Snacks.terminal.toggle()<cr>" mapkey("n", "<leader>co", "Open new terminal", ":lua Snacks.terminal.open()<cr>") -- Git -mapkey("n", "<leader>g", "Open lazygit", ":lua Snacks.lazygit()<cr>") +mapkey("n", "<leader>g", "Manage git", "") +mapkey("n", "<leader>gg", "Open lazygit", ":lua Snacks.lazygit()<cr>") +mapkey("n", "<leader>ga", "Add the current file", ":Git add<cr>") -- Other leader keys mapkey("n", "<leader>e", "Open file manager", ":lua MiniFiles.open()<cr>") diff --git a/pkgs/custom-neovim/design.md b/pkgs/custom-neovim/design.md index 2ba7e31..9eb376e 100644 --- a/pkgs/custom-neovim/design.md +++ b/pkgs/custom-neovim/design.md @@ -13,10 +13,7 @@ - add quick window switcher plugin - make tabby run on highlight groups - add modified tags to tabby -- add gitsigns -- rebase statusline git branch on gitsigns -- add git status to statusline - prevent dropbar filename from truncating - add keybind to activate dropbar drop down menu -- add good git keybinds - find dropbar load autocommand and modify to work on winenter to prevent no dropbar when splitting +- make mini clue work in mini files (maybe autocommand?) |
