From 67a87f938fc76e254e6a3fa1eeb53483c8166876 Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 13 Feb 2024 11:21:43 +0900 Subject: [PATCH] Update shortcuts --- home-manager/common/software/cli/nixvim.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home-manager/common/software/cli/nixvim.nix b/home-manager/common/software/cli/nixvim.nix index a5556d4c..0fe8cb9b 100644 --- a/home-manager/common/software/cli/nixvim.nix +++ b/home-manager/common/software/cli/nixvim.nix @@ -43,13 +43,15 @@ # Normal Mode # NVimTree + (nmap "n" // desc "[N]vimTree") (nmap "nf" ":NvimTreeFocus"// desc "[F]ocus NvimTree") (nmap "nt" ":NvimTreeToggle" // desc "[T]oggle NvimTree") (nmap "ns" ":NvimTreeToggle" // desc "[S]earch NvimTree") (nmap "nc" ":NvimTreeClose" // desc "[C]lose NvimTree") # ToggleTerm - (nmap "tt" ":ToggleTerm" // desc "[T]oggle [T]erminal") + (nmap <"leader>t" // desc "[T]oggleTerm") + (nmap "tt" ":ToggleTerm" // desc "[T]oggle Terminal") ]; options = {