From 33724076b23aefea4a3af26847cb3659bd523452 Mon Sep 17 00:00:00 2001 From: triethyl Date: Fri, 8 Aug 2025 11:03:36 -0400 Subject: neovim: change some plugins and fix sessions --- pkgs/custom-neovim/config/lua/mappings.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pkgs/custom-neovim/config/lua/mappings.lua') diff --git a/pkgs/custom-neovim/config/lua/mappings.lua b/pkgs/custom-neovim/config/lua/mappings.lua index 0bcff87..1379973 100644 --- a/pkgs/custom-neovim/config/lua/mappings.lua +++ b/pkgs/custom-neovim/config/lua/mappings.lua @@ -24,8 +24,7 @@ mapkey("n", "t", "Manage tabs", "") mapkey("n", "to", "Open new tab", ":tabnew") mapkey("n", "tc", "Close tab", ":tabclose") mapkey("n", "tt", "Go to next tab", ":tabnext") -mapkey("n", "tn", "Go to next tab", ":tabnext") -mapkey("n", "tp", "Go to previous tab", ":tabprev") +mapkey("n", "tT", "Go to previous tab", ":tabprev") mapkey("n", "tr", "Rename current tab", function() vim.ui.input({ prompt = "Rename tab: "}, function(input) if input then @@ -56,7 +55,7 @@ mapkey("n", "co", "Open new terminal", ":lua Snacks.terminal.open()" -- Git mapkey("n", "g", "Manage git", "") mapkey("n", "gg", "Open lazygit", ":lua Snacks.lazygit()") -mapkey("n", "ga", "Add the current file", ":Git add") +mapkey("n", "ga", "Add the current file", ":Git add %") mapkey("n", "gs", "Open git status picker", ":lua Snacks.picker.git_status()") -- Other leader keys -- cgit v1.2.3