Skip to content

Commit

Permalink
Fix cursor position for ERB <C-X>-
Browse files Browse the repository at this point in the history
Closes #17.
  • Loading branch information
tpope committed Jul 10, 2012
1 parent a736570 commit 2f639ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/ragtag.vim
Expand Up @@ -131,7 +131,7 @@ function! s:Init()
endif
" <% %>
if &ft =~ '\<eruby\>'
inoremap <buffer> <C-X>- <%<Space><Space>%><Esc>3hi
inoremap <buffer> <C-X>- <%<Space><Space>%><Esc>2hi
inoremap <buffer> <C-X>_ <C-V><NL><Esc>I<%<Space><Esc>A<Space>%><Esc>F<NL>s
elseif &ft == "cf"
inoremap <buffer> <C-X>- <cf><Left>
Expand Down

0 comments on commit 2f639ea

Please sign in to comment.