From 122897f9d2f4f63ed34524a654b312ec176d06d6 Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Mon, 26 Feb 2024 16:09:07 -0600 Subject: remap ctrl+[hjlk] to scroll the viewbox by one row/col at a time --- nvim/init.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nvim/init.vim') diff --git a/nvim/init.vim b/nvim/init.vim index 9e89eb6..d7794b6 100755 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -81,10 +81,10 @@ nmap l :setlocal spell! spelllang=en_us " Set cursorcolumn with comma-c nmap c :set cursorcolumn! " Navigate faster than hjkl with ctrl-hjlk -nmap 0 -nmap -nmap -nmap $ +nmap zh +nmap +nmap +nmap zl " Faster split navigation (leader-wasd, as opposed to ctrl-w + hjlk) map a h map s j -- cgit v1.2.3