~smlavine/dots

615d553ade99946bc886757fe9d0f63a467fcdcb — Sebastian LaVine 29 days ago 8098264
Add <Tab> bind the same as <C-I> bind

Recent neovim 0.7 release changes how <C-I> and <Tab> are related. This
resulted in this binding being broken in st. This rebinding fixes the
problem; the binding still works with <C-I> though.
1 files changed, 3 insertions(+), 0 deletions(-)

M src/.config/nvim/init.vim
M src/.config/nvim/init.vim => src/.config/nvim/init.vim +3 -0
@@ 144,6 144,9 @@ tnoremap <C-\><C-N> <Esc>
" Indetation fix rebind
nnoremap <C-I> ==
vnoremap <C-I> ==
" Cludge for 0.7 release that broke <C-I> binding in st terminal.
nnoremap <Tab> ==
vnoremap <Tab> ==

" Better window resizing hotkeys
nnoremap - :res -1<CR>