From 5a908c6cbcdba880f7f267c9a238c492d021ac0c Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Thu, 10 Mar 2022 16:16:49 +0100 Subject: (n)vim: leader+arrow window nav --- .config/nvim/lua/binds.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.config') diff --git a/.config/nvim/lua/binds.lua b/.config/nvim/lua/binds.lua index 0e7ae96..7b5d3fe 100644 --- a/.config/nvim/lua/binds.lua +++ b/.config/nvim/lua/binds.lua @@ -24,6 +24,10 @@ map('n', 'h', ':wincmd h', opts) map('n', 'j', ':wincmd j', opts) map('n', 'k', ':wincmd k', opts) map('n', 'l', ':wincmd l', opts) +map('n', '', ':wincmd h', opts) +map('n', '', ':wincmd j', opts) +map('n', '', ':wincmd k', opts) +map('n', '', ':wincmd l', opts) map('n', 'p', 'Telescope find_files', opts) map('n', 'P', 'Telescope file_browser hidden=true', opts) -- cgit v1.2.3-70-g09d2