From: Samir Benmendil Date: Sun, 24 May 2015 16:36:23 +0000 (+0100) Subject: vim: lcd into ultisnips dir when editing snippets X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/57dd63ffa7e5b7dbdff96acdd23e0e55cf2fafab vim: lcd into ultisnips dir when editing snippets --- diff --git a/vim/vimrc b/vim/vimrc index 83f2379..bffc315 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -637,7 +637,7 @@ nmap ev :call EditConfig('vimrc') nmap ef :call EditConfig('ftplugin') nmap es :call EditConfig('syntax') nmap ei :call EditConfig('indent') -nmap eu :UltiSnipsEdit +nmap eu :UltiSnipsEdit:lcd %:p:h " spell check {{{2 " http://tex.stackexchange.com/a/52932