Add : replacement

Both Ruby and Clojure use :keywords, so I'm considering this general
enough to make a default.
This commit is contained in:
Tim Pope 2013-01-01 01:34:27 -05:00
parent 1c9d8e660c
commit 29afa295ae

View File

@ -162,6 +162,9 @@ function! s:wrap(string,char,type,...)
elseif newchar ==# 's' elseif newchar ==# 's'
let before = ' ' let before = ' '
let after = '' let after = ''
elseif newchar ==# ':'
let before = ':'
let after = ''
elseif newchar =~# "[tT\<C-T><,]" elseif newchar =~# "[tT\<C-T><,]"
let dounmapp = 0 let dounmapp = 0
let dounmapb = 0 let dounmapb = 0