diff --git a/vim/vim.symlink/UltiSnips/all.snippets b/vim/vim.symlink/UltiSnips/all.snippets new file mode 100644 index 0000000..0627305 --- /dev/null +++ b/vim/vim.symlink/UltiSnips/all.snippets @@ -0,0 +1,10 @@ +snippet testeagle +TEST $1 +EAGLE $2 + +* * * + +$0 + +* * * +endsnippet diff --git a/vim/vimrc.symlink b/vim/vimrc.symlink index e224569..e047a63 100644 --- a/vim/vimrc.symlink +++ b/vim/vimrc.symlink @@ -127,7 +127,7 @@ noremap ;; ; " sure to mess up someone not familiar with my setup. inoremap hh inoremap hhh h -inoremap +" inoremap " Bad arrow keys " @@ -296,6 +296,14 @@ set laststatus=2 " Pastetoggle to let Vim paste things without auto stuff set pastetoggle= +"""""""""""""""""" +" Ultisnips, y'all +"""""""""""""""""" + +let g:UltiSnipsExpandTrigger="" +let g:UltiSnipsJumpForwardTrigger="" +let g:UltiSnipsJumpBackwardTrigger="" + """"""""""""""""" " Custom autocmds """"""""""""""""" @@ -312,9 +320,7 @@ augroup vimrcEx " Language whitespace settings autocmd FileType json,c,xml,java,php,python setl sw=4 sts=4 - autocmd FileType - \ make - \ setl noet sw=8 sts=8 ts=8 + autocmd FileType make setl noet sw=8 sts=8 ts=8 " Hard wrap prose " @@ -328,8 +334,6 @@ augroup vimrcEx \ markdown, \ setl tw=80 fo=t1 - " Create files when opened - autocmd BufNewFile * write augroup END " Set the statusline. @@ -348,6 +352,7 @@ set statusline+=\ %{SyntasticStatuslineFlag()} " syntastic errors " line styles I need to colour my lines red. I need to split these out. let g:syntastic_enable_signs = 0 let g:syntastic_javascript_checkers = ['eslint'] +let g:systastic_xml_checkers = ['xmllint'] let g:syntastic_stl_format='[%t errors, first: %F]' " Copy visual selection to clipboard.