Skip to content

Instantly share code, notes, and snippets.

@jbfink
Created September 7, 2018 22:51
Show Gist options
  • Save jbfink/451512ba21b83525156439f471b803a9 to your computer and use it in GitHub Desktop.
Save jbfink/451512ba21b83525156439f471b803a9 to your computer and use it in GitHub Desktop.
execute pathogen#infect()
filetype plugin on
set omnifunc=syntaxcomplete#Complete
:set smartindent
" filenames like *.xml, *.html, *.xhtml, ...
" These are the file extensions where this plugin is enabled.
"
let g:closetag_filenames = '*.html,*.xhtml,*.phtml'
" filenames like *.xml, *.xhtml, ...
" This will make the list of non-closing tags self-closing in the specified files.
"
let g:closetag_xhtml_filenames = '*.xhtml,*.jsx'
" integer value [0|1]
" This will make the list of non-closing tags case-sensitive (e.g. `<Link>` will be closed while `<link>` won't.)
"
let g:closetag_emptyTags_caseSensitive = 1
" Shortcut for closing tags, default is '>'
"
let g:closetag_shortcut = '>'
" Add > at current position without closing the current tag, default is ''
"
let g:closetag_close_shortcut = '<leader>>'
" for languagetool
:let g:languagetool_jar='$HOME/dev/languagetool/LanguageTool-4.1/languagetool-commandline.jar'
" for split-window nav (hopefully):
map <C-J> <C-W>j<C-W>_
map <C-K> <C-W>k<C-W>_
" Shut the hell up vim-go
let g:go_version_warning = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment