commit acb0dd0b0f5ecb98cb7ceb2e8a09a09e667d5bef parent 001b4a7c48e466432a72037953c8a355dabe0542 Author: klewer-martin <martin.cachari@gmail.com> Date: Sat, 6 Mar 2021 01:03:18 -0300 Update; Diffstat:
M | .config/nvim/init.vim | | | 14 | ++++++++++---- |
1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim @@ -22,10 +22,10 @@ " Plugins settings let g:airline_theme='dark' - let g:airline#extensions#tabline#enable = 1 + let g:airline#extensions#tabline#enabled = 1 let g:colorizer_auto_color = 1 - - + let g:airline_left_sep='>' + let g:airline_right_sep='<' " Basic settings syntax on @@ -38,15 +38,21 @@ set number set norelativenumber set mouse=a + set undofile + + set undodir=~/.config/nvim/undodir highlight VertSplit cterm=NONE " Key remaps - let mapleader ='\' + let mapleader =' ' " Open file tree; map <leader>n :NERDTreeToggle<CR> + " Open file tree; + map <leader>s :source $HOME/.config/nvim/init.vim<CR> + " Stops highlight after a search hitting return; nnoremap <CR> :noh<CR><CR>