1
0
Fork 0
mirror of https://github.com/eoli3n/dotfiles synced 2024-05-26 09:26:06 +02:00
eoli3n-dotfiles/roles/neovim/files/init.vim
2019-12-01 16:29:03 +01:00

30 lines
860 B
VimL

" Plugins will be downloaded under the specified directory.
call plug#begin('~/.vim/plugged')
" Declare the list of plugins.
Plug 'tpope/vim-sensible'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
" List ends here. Plugins become visible to Vim after this call.
call plug#end()
" Configure autoindent
set tabstop=4 softtabstop=2 expandtab shiftwidth=2 autoindent
" remember last cursor place
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
" Configure Airline
let g:airline_powerline_fonts = 1
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
let g:airline_symbols.space = "\ua0"
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#show_buffers = 0
let g:airline_theme = 'minimalist'
" Default term cursor
set guicursor=