summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-08-05 22:52:11 -0400
committertriethyl <triethylammonium@pm.me>2025-08-05 22:52:11 -0400
commit48eca36c6b2833a5d41b96a229c4ccc97ade809a (patch)
tree2f5bcd90cb4a294b9caa35a951eb2583f7e5e97e /pkgs
parent2709e7f94ddb5a81249c8b27162f9b33590b1516 (diff)
neovim: added git binds
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/custom-neovim/config/lua/mappings.lua4
-rw-r--r--pkgs/custom-neovim/design.md5
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?)