Added project configuration
+ added support for .project.vim config files * fixed minor issues
This commit is contained in:
parent
60f9dffbdd
commit
df4e455fb6
@ -1,4 +1,5 @@
|
||||
set colorcolumn=81
|
||||
set textwidth=80
|
||||
set cino=N-s
|
||||
|
||||
let g:cpp_attributes_highlight = 1
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
set colorcolumn=81
|
||||
set textwidth=80
|
||||
set cino=N-s
|
||||
|
||||
let g:cpp_attributes_highlight = 1
|
||||
|
||||
@ -12,5 +12,18 @@ let g:vimtex_fold_enable = 1
|
||||
let g:tex_flavor = 'latex'
|
||||
let g:vimtex_view_general_viewer = 'evince'
|
||||
let g:vimtex_compiler_method = 'latexmk'
|
||||
let g:vimtex_compiler_latexmk['options'] = '-shell-escape'
|
||||
let g:vimtex_compiler_latexmk = {
|
||||
\ 'build_dir' : 'bin',
|
||||
\ 'callback' : 1,
|
||||
\ 'continuous' : 1,
|
||||
\ 'executable' : 'latexmk',
|
||||
\ 'hooks' : [],
|
||||
\ 'options' : [
|
||||
\ '-verbose',
|
||||
\ '-file-line-error',
|
||||
\ '-synctex=1',
|
||||
\ '-interaction=nonstopmode',
|
||||
\ '-shell-escape',
|
||||
\ ],
|
||||
\}
|
||||
|
||||
|
||||
7
vimrc
7
vimrc
@ -40,10 +40,15 @@ nmap <silent> <C-l> :noh<CR>
|
||||
nmap <silent> <F6> gg=G<C-o><C-o><CR>
|
||||
nmap <silent> <C-t> :NERDTreeToggle<CR>
|
||||
|
||||
"headers
|
||||
" headers
|
||||
let g:header_auto_add_header=0
|
||||
let g:header_field_author='Steins7'
|
||||
let g:header_field_author_email='steinsset@gmail.com'
|
||||
let g:header_field_license_id='GNU'
|
||||
nmap <silent> <F4> :AddHeader<CR>
|
||||
|
||||
" allow project-specific configs
|
||||
if filereadable("./.project.vim")
|
||||
source ./.project.vim
|
||||
endif
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user