1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 12:30:32 +01:00

Move filetype configuration to filetype specific files.

This commit is contained in:
2020-02-09 19:07:40 +01:00
parent 491580840a
commit 05d10074d0
2 changed files with 6 additions and 7 deletions

View File

@@ -0,0 +1,3 @@
set expandtab
map <buffer> <F5> :update<CR>\ll<CR>

View File

@@ -25,13 +25,6 @@ set colorcolumn=72
map <F1> <Esc> map <F1> <Esc>
imap <F1> <Esc> imap <F1> <Esc>
map <F5> :update<CR>:make<CR>
imap <F5> <Esc>:update<CR>:make<CR>
map <F7> :call SetExecutable()<CR>
imap <F7> <Esc>:call SetExecutable<CR>
" Paste using Ctrl+V in insert mode. " Paste using Ctrl+V in insert mode.
inoremap <C-v> <C-o>"+p inoremap <C-v> <C-o>"+p
@@ -45,6 +38,9 @@ let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1 let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_wq = 0 let g:syntastic_check_on_wq = 0
"vim-latex configuration
let g:Tex_CompileRule_pdf = "latexmk -pdflatex='pdflatex -file-line-error -synctex=1 -interaction=nonstopmode' $*"
" Remove trailing whitespace, always. " Remove trailing whitespace, always.
fun! StripTrailingWhitespace() fun! StripTrailingWhitespace()
" Skip files where the type is trailing space sensitive. " Skip files where the type is trailing space sensitive.