mirror of
https://github.com/Foltik/dotfiles
synced 2025-01-07 08:42:47 -05:00
Add vim config
This commit is contained in:
parent
f85c23d836
commit
7dbce35255
14
cfg/vimrc
Normal file
14
cfg/vimrc
Normal file
@ -0,0 +1,14 @@
|
||||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'vim-airline/vim-airline'
|
||||
call plug#end()
|
||||
|
||||
" general config
|
||||
set number
|
||||
|
||||
" Allow saving files as root when vim was launched as user
|
||||
cmap w!! w !sudo tee > /dev/null %
|
||||
|
||||
" vim-airline configuration
|
||||
set laststatus=2
|
||||
let g:airline_powerline_fonts = 1
|
||||
let g:airline#extensions#tabline#enabled = 1
|
Loading…
Reference in New Issue
Block a user