diff options
Diffstat (limited to 'plugin/colon_operator.vim')
-rw-r--r-- | plugin/colon_operator.vim | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/plugin/colon_operator.vim b/plugin/colon_operator.vim index 5a30115..cf547e7 100644 --- a/plugin/colon_operator.vim +++ b/plugin/colon_operator.vim @@ -5,15 +5,11 @@ " Author: Tom Ryder <tom@sanctum.geek.nz> " License: Same as Vim itself " -if exists('loaded_colon_operator') || &compatible - finish -endif -if v:version < 700 +if exists('loaded_colon_operator') || &compatible || v:version < 700 finish endif let loaded_colon_operator = 1 " Set up mapping -nnoremap <expr> <silent> <unique> - \ <Plug>(ColonOperator) - \ colon_operator#Map() +nnoremap <expr> <Plug>(ColonOperator) + \ colon_operator#() |