From cd8896326e95fc8b6bb3ff0b61192d8aaf35f8ad Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 7 Jan 2013 09:55:13 -0800 Subject: [PATCH] Tweak some Vim macros for sourcing and editing configuration files --- vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 0d6ef28..07a6fc1 100644 --- a/vimrc +++ b/vimrc @@ -173,7 +173,10 @@ nmap :nohlsearch " find all nmap fa :%s/\v -nmap sn :e ~/.vim/bundle/snipmate/snippets/=&filetype.snippets +" Open the snippet file for the current filetype +nmap esn :e ~/.vim/bundle/snipmate/snippets/=&filetype.snippets +" Open the ftplugin-after script for the current filetype +nmap eft :e ~/.vim/after/ftplugin/=&filetype.vim " Toggle position highlighting nmap cl :set invcursorline