vim stuff
This commit is contained in:
parent
b3d133aa28
commit
2cf52e0d49
@ -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 <C-b> :NERDTreeToggle<CR>
|
||||
|
||||
nnoremap <C-l> :bnext<CR>
|
||||
nnoremap <C-h> :bprevious<CR>
|
||||
|
Loading…
Reference in New Issue
Block a user