diff --git a/vim/vimrc b/vim/vimrc index 9de1576..d351b5f 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -28,6 +28,11 @@ if has('nvim') set inccommand=split endif +if has("persistent_undo") + set undodir=$HOME."/.undodir" + set undofile +endif + let g:ale_set_baloons = 1 let g:ale_completion_enabled = 1 @@ -67,7 +72,11 @@ let g:airline#extensions#tabline#enabled = 1 let g:airline_powerline_fonts = 1 let g:airline#extensions#tabline#formatter = 'unique_tail_improved' -nnoremap :UndotreeToggle +nnoremap u :UndotreeToggle +nnoremap h +nnoremap j +nnoremap k +nnoremap l "which-key let g:which_key_map = {}