Skip to content

Commit

Permalink
this works better
Browse files Browse the repository at this point in the history
  • Loading branch information
dag committed May 22, 2012
1 parent a5af646 commit 8dfc4b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/offside.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8dfc4b9

Please sign in to comment.