1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-29 17:18:13 +01:00
eoli3n-dotfiles/roles/neovim/files/init.vim
2020-05-08 11:00:54 +02:00

34 lines
1002 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'
Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
" 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'
" Configure hexokinase colorizer
let g:Hexokinase_highlighters = [ 'sign_column' ]
" Default term cursor
set guicursor=