Permalink
Browse files

Make <Leader>' switch between ' and "

  • Loading branch information...
1 parent d553e27 commit 22b00f859ac04809fc29356e48ca9f19d9ab3499 @mattr- committed Apr 2, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 .vimrc
View
4 .vimrc
@@ -141,6 +141,10 @@ nnoremap <Leader><Leader> <C-^>
" Hashrocket with <C-l>
imap <C-l> <space>=><space>
+
+" Make <leader>' switch between ' and "
+nnoremap <Leader>' ""yls<C-r>={'"': "'", "'": '"'}[@"]<CR><Esc>
+
"}}}
"Command-T configuration

0 comments on commit 22b00f8

Please sign in to comment.