diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 358512c..ce0617c 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -21,10 +21,16 @@ set tabstop=4 set shiftwidth=4 +" yaml indentation +autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab + " Start NERDTree when Vim is started without file arguments. autocmd StdinReadPre * let s:std_in=1 autocmd VimEnter * if argc() == 0 && !exists('s:std_in') | NERDTree | endif +" Mouse support +set mouse=a + let g:airline#extensions#tabline#enabled = 1 let g:airline_powerline_fonts = 1 @@ -38,3 +44,6 @@ Plug 'vim-airline/vim-airline' call plug#end() nnoremap :NERDTreeToggle + +nnoremap :bnext +nnoremap :bprevious