mirror of https://github.com/akelge/vim
Moved templates and airline customizations in vimrc
This commit is contained in:
parent
c3c8c72c52
commit
e19d472baa
32
vimrc
32
vimrc
|
@ -206,7 +206,37 @@ let g:pandoc#command#custom_open = "MyPandocOpen"
|
||||||
function! MyPandocOpen(file)
|
function! MyPandocOpen(file)
|
||||||
return "open ". a:file
|
return "open ". a:file
|
||||||
endfunction
|
endfunction
|
||||||
"
|
|
||||||
|
|
||||||
|
" """""""""""""""""
|
||||||
|
" Templates
|
||||||
|
" """""""""""""""""
|
||||||
|
|
||||||
|
let g:templates_directory=[$HOME.'/.vim/myTemplates']
|
||||||
|
|
||||||
|
" """""""""""""""""
|
||||||
|
" Airline customizations
|
||||||
|
" """""""""""""""""
|
||||||
|
let g:airline#extensions#capslock#enabled = 1
|
||||||
|
let g:airline#extensions#branch#use_vcscommand = 0
|
||||||
|
|
||||||
|
if !exists('g:airline_symbols')
|
||||||
|
let g:airline_symbols = {}
|
||||||
|
endif
|
||||||
|
|
||||||
|
" unicode symbols
|
||||||
|
let g:airline_left_sep = '»'
|
||||||
|
let g:airline_left_sep = '▶'
|
||||||
|
let g:airline_right_sep = '«'
|
||||||
|
let g:airline_right_sep = '◀'
|
||||||
|
let g:airline_symbols.linenr = '␊'
|
||||||
|
let g:airline_symbols.linenr = ''
|
||||||
|
let g:airline_symbols.linenr = '¶'
|
||||||
|
let g:airline_symbols.branch = '⎇'
|
||||||
|
let g:airline_symbols.paste = 'ρ'
|
||||||
|
let g:airline_symbols.paste = 'Þ'
|
||||||
|
let g:airline_symbols.paste = '∥'
|
||||||
|
let g:airline_symbols.whitespace = 'Ξ'
|
||||||
|
|
||||||
|
|
||||||
" """""""""""
|
" """""""""""
|
||||||
|
|
Loading…
Reference in New Issue