diff options
| author | triethyl <triethylammonium@pm.me> | 2025-08-30 11:32:44 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-08-30 11:32:44 -0400 |
| commit | 39e8454b2a6d7a6e4402206bea6c4d074aad016d (patch) | |
| tree | 5d504f36adf922d7319a351fcdbf20db7574446c /pkgs/custom-neovim/config/lua/keymaps.lua | |
| parent | 69b3ae7497b0a5de71474fa9a2ff309c1887beec (diff) | |
neovim: added zoxide and fixed git add all
Diffstat (limited to 'pkgs/custom-neovim/config/lua/keymaps.lua')
| -rw-r--r-- | pkgs/custom-neovim/config/lua/keymaps.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/custom-neovim/config/lua/keymaps.lua b/pkgs/custom-neovim/config/lua/keymaps.lua index 74366a2..a6c74be 100644 --- a/pkgs/custom-neovim/config/lua/keymaps.lua +++ b/pkgs/custom-neovim/config/lua/keymaps.lua @@ -21,7 +21,7 @@ mapkey("n", "<leader>e", "Open file manager", ":lua MiniFiles.open()<cr>", "mini mapkey("n", "<leader>g", "Manage git", "") mapkey("n", "<leader>gg", "Open neogit", ":Neogit<cr>", "neogit") mapkey("n", "<leader>ga", "Git add", ":Git add %:p<cr>", "mini-git") -mapkey("n", "<leader>gA", "Git add cwd", ":Git add "..vim.fn.getcwd().."/.<cr>", "mini-git") +mapkey("n", "<leader>gA", "Git add cwd", function() vim.cmd("Git add "..vim.fn.getcwd().."/.") end, "mini-git") mapkey("n", "<leader>gr", "Git remove", ":Git rm %:p<cr>", "mini-git") mapkey("n", "<leader>gc", "Git commit", ":Git commit<cr>", "mini-git") mapkey("n", "<leader>gs", "Git status", ":Git status<cr>", "mini-git") |
