From 41a4234947f3bce693b14c398264414fe5143baf Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Wed, 6 Oct 2021 21:14:27 +0200 Subject: Vim added binds for switching windows --- .config/nvim/lua/binds.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/nvim/lua/binds.lua b/.config/nvim/lua/binds.lua index 55225d4..72cd58e 100644 --- a/.config/nvim/lua/binds.lua +++ b/.config/nvim/lua/binds.lua @@ -9,6 +9,11 @@ map('n', '', ':nohl', opts) map('n', 'n', 'nzzzv', opts) map('n', 'N', 'Nzzzv', opts) +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('i', 'kj', '', opts) map('i', ',', ',u', opts) map('i', '.', '.u', opts) -- cgit v1.2.3-70-g09d2