From 44c60c6fddb3af807bd1c2e167ac4ab2ae46bb72 Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 15 Feb 2024 13:26:41 +0900 Subject: [PATCH] Update keybinds --- home-manager/common/software/cli/nixvim-base.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/home-manager/common/software/cli/nixvim-base.nix b/home-manager/common/software/cli/nixvim-base.nix index 019a44d3..6b3b22ae 100644 --- a/home-manager/common/software/cli/nixvim-base.nix +++ b/home-manager/common/software/cli/nixvim-base.nix @@ -60,14 +60,15 @@ (nmap "wj" ":wincmd j" // desc "Move down") (nmap "wk" ":wincmd k" // desc "Move up") (nmap "wp" ":wincmd p" // desc "Move to [p]revious") - (nmap "wp" ":wincmd n" // desc "Move to [n]ext") + (nmap "wn" ":wincmd n" // desc "Move to [n]ext") (nmap "wc" ":wincmd c" // desc "[C]lose active window") (nmap "ww" ":wincmd w" // desc "Switch [w]indows") - (nmap "wnh" ":wincmd n" // desc "[N]ew [H]orizontal window") - (nmap "wnv" ":wincmd v" // desc "[N]ew [V]ertical window") + (nmap "wNh" ":wincmd n" // desc "New [H]orizontal window") + (nmap "wNv" ":wincmd v" // desc "New [V]ertical window") # Buffer Management - (nmap "bn" ":bnext" // desc "Next buffer") - (nmap "bp" ":bNext" // desc "Previous buffer") + (nmap "bn" ":bnext" // desc "Next buffer") + (nmap "bp" ":bNext" // desc "Previous buffer") + (nmap "bc" ":bdelete" // desc "[c]lose buffer") ]; options = {