Move vim settings out of plugins to ensure they all get correctly loaded after everything else [Fix #373]
This commit is contained in:
12
vim/settings/surround.vim
Normal file
12
vim/settings/surround.vim
Normal file
@@ -0,0 +1,12 @@
|
||||
" via: http://whynotwiki.com/Vim
|
||||
" Ruby
|
||||
" Use v or # to get a variable interpolation (inside of a string)}
|
||||
" ysiw# Wrap the token under the cursor in #{}
|
||||
" v...s# Wrap the selection in #{}
|
||||
let g:surround_113 = "#{\r}" " v
|
||||
let g:surround_35 = "#{\r}" " #
|
||||
|
||||
" Select text in an ERb file with visual mode and then press s- or s=
|
||||
" Or yss- to do entire line.
|
||||
let g:surround_45 = "<% \r %>" " -
|
||||
let g:surround_61 = "<%= \r %>" " =
|
||||
Reference in New Issue
Block a user