Browse Source

testing

master
lolson 9 years ago
parent
commit
8edb9b9d56
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      plugin/makecols.vim

+ 3
- 2
plugin/makecols.vim View File

@ -7,7 +7,8 @@ function! s:beep()
return "" return ""
endfunction endfunction
function! s:makecols(mode) range
function! s:makecols() range
let mode = visualmode()
if (mode != "V") if (mode != "V")
echo "You must be in linewise visual mode" echo "You must be in linewise visual mode"
return s:beep() return s:beep()
@ -31,7 +32,7 @@ endfunction
vnoremap <silent> mc :<C-U>call <SID>makecols(visualmode())<CR>
vnoremap <silent> mc :<C-U>call <SID>makecols()<CR>

Loading…
Cancel
Save