From d394e7dc27de4416f3ba74da736a5251c19a36f4 Mon Sep 17 00:00:00 2001 From: Adam 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/nvim/lua') 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