7824a3c6c12f

Scala wrap word maps
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 24 Jul 2013 10:51:18 -0400
parents 07abcd2e836b
children d7112a09d1dd ad46491f8dd6
branches/tags (none)
files vim/vimrc

Changes

--- a/vim/vimrc	Tue Jul 23 11:32:16 2013 -0400
+++ b/vim/vimrc	Wed Jul 24 10:51:18 2013 -0400
@@ -1033,6 +1033,9 @@
     au Filetype scala nnoremap <buffer> <localleader>s :SortScalaImports<cr>
     au Filetype scala nnoremap <buffer> M :call scaladoc#Search(expand("<cword>"))<cr>
     au Filetype scala vnoremap <buffer> M "ry:call scaladoc#Search(@r)<cr>
+    au Filetype scala nmap <buffer> <localleader>( ysiwbi
+    au Filetype scala nmap <buffer> <localleader>[ ysiwri
+    ")]
 augroup END
 
 " }}}