summaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc32
1 files changed, 32 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 2b1c8ac..6836900 100644
--- a/vimrc
+++ b/vimrc
@@ -170,6 +170,11 @@ augroup Lilo
autocmd BufEnter */etc/lilo* set syntax=lilo
augroup END
+augroup Jenkinsfile
+ au!
+ autocmd BufEnter */Jenkinsfile set ft=Jenkinsfile
+augroup END
+
" Quick search for merges
nmap <F1> /^\(<\{7\}\\|>\{7\}\\|=\{7\}\)<CR>
@@ -193,6 +198,10 @@ nmap ; za
"nmap <F5> :windo set invfoldenable<CR>
nmap <F5> :set invet<CR>
+nmap <F10> :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<'
+\ . synIDattr(synID(line("."),col("."),0),"name") . "> lo<"
+\ . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">"<CR>
+
"buffer moving
nmap <ESC>h :tabN<CR>
nmap <ESC>j :bn<CR>
@@ -292,6 +301,7 @@ augroup WhiteSpaces
autocmd OptionSet textwidth call HighLightExtraSpacesAndColumns()
"Don’t overwrite the whitespaces colors on cursor line…
+ autocmd BufRead * call matchadd('SpecialKey', '\s\+', -1)
autocmd WinEnter * call matchadd('SpecialKey', '\s\+', -1)
augroup END
@@ -549,6 +559,28 @@ augroup PyMode
let g:pymode_lint_on_fly = 1
let g:pymode_lint_unmodified = 1
+ let g:pymode_rope = 1
+ let g:pymode_rope_complete_on_dot = 0
+
autocmd FileType * set signcolumn=auto
autocmd FileType python set signcolumn=yes
+
+ autocmd FileType python sign define PymodeC texthl=Number
augroup END
+
+augroup FuckingShit
+ autocmd BufEnter defs.* set ft=make
+ autocmd BufEnter rules.* set ft=make
+augroup END
+
+augroup Syntastic_And_Tsuquyomi
+ let g:syntastic_always_populate_loc_list = 1
+ let g:syntastic_auto_loc_list = 1
+ let g:syntastic_check_on_open = 1
+ let g:syntastic_check_on_wq = 1
+
+ " Tsuquyomi-powered
+ let g:tsuquyomi_disable_quickfix = 1
+ let g:syntastic_typescript_checkers = ['tsuquyomi']
+augroup END
+