Permalink
Browse files

this works better

  • Loading branch information...
1 parent a5af646 commit 8dfc4b903a7c429d8e8ff3cba555c3317ab7a3ba @dag committed May 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugin/offside.vim
View
@@ -11,11 +11,11 @@ function! s:InnerOffside() " {{{
break
endif
endfor
- return (l:start + 1) . 'GV' . (l:end - 1) . 'G'
+ execute 'normal! ' . (l:start + 1) . 'GV' . (l:end - 1) . 'G'
endfunction " }}}
-vnoremap <expr> <Plug>InnerOffside <SID>InnerOffside()
+vnoremap <Plug>InnerOffside :<c-u>call <SID>InnerOffside()<cr>
if !hasmapto('<Plug>InnerOffside')
vmap <unique> <silent> io <Plug>InnerOffside

0 comments on commit 8dfc4b9

Please sign in to comment.