From c06c5bb385e90ef3be096bcd10a1030418e455e6 Mon Sep 17 00:00:00 2001 From: "tanguy@aristotle" Date: Wed, 26 Aug 2020 15:56:47 +0200 Subject: [PATCH] Add leader shortcuts for vim tab navigation --- .config/nvim/init.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 77f4c9d..fb73690 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -87,6 +87,17 @@ nnoremap l :wincmd l nnoremap u :UndotreeToggle nnoremap ps :Rg +nnoremap 1 1gt +nnoremap 2 2gt +nnoremap 3 3gt +nnoremap 4 4gt +nnoremap 5 5gt +nnoremap 6 6gt +nnoremap 7 7gt +nnoremap 8 8gt +nnoremap 9 9gt +nnoremap 0 10gt + " Add folding shortcuts and settings set foldmethod=indent set foldnestmax=10