From 422bd18fa709fcf0c96f735dc81fce4012959604 Mon Sep 17 00:00:00 2001 From: simonkellet Date: Thu, 14 Oct 2021 12:11:31 +0100 Subject: [PATCH] fixed remaps --- nvim/init.vim | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/nvim/init.vim b/nvim/init.vim index bd6dd98..10fb197 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,7 +1,6 @@ call plug#begin('~/local/share/nvim/plugged') Plug 'itchyny/lightline.vim' -Plug 'airblade/vim-gitgutter' Plug 'editorconfig/editorconfig-vim' Plug 'itchyny/lightline.vim' Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } @@ -74,18 +73,22 @@ let g:fzf_nvim_statusline = 0 " disable statusline overwriting "remaps nnoremap :Files -nnoremap a :Windows +nnoremap w :Windows nnoremap h :History " Switching windows -map h -map j -map k -map l +nnoremap h +nnoremap j +nnoremap k +nnoremap l + +" +nnoremap :tabp +nnoremap :tabn -" Basic cmd commands +" Basic cmd commanous nnoremap :!touch -nnoremap :!crf +nnoremap :tabe nnoremap :!mdkir nnoremap :!mv% @@ -93,4 +96,5 @@ nnoremap :!mv% vmap < >gv - +" Open NERDTree +nnoremap n :NERDTreeToggle