|
|
@ -2,6 +2,11 @@ |
|
|
|
" Author: Levi Olson <http://leviolson.com/> |
|
|
|
" Version: 1.0 |
|
|
|
|
|
|
|
function! s:beep() |
|
|
|
exe "norm! \<Esc>" |
|
|
|
return "" |
|
|
|
endfunction |
|
|
|
|
|
|
|
function! s:makecols(no_of_cols) |
|
|
|
return s:beep() |
|
|
|
endfunction |
|
|
@ -10,7 +15,12 @@ endfunction |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nnoremap <Plug>MakeCols :<C-U>call <SID>makecols(4)<CR> |
|
|
|
|
|
|
|
|
|
|
|
if !exists("g:makecols_no_mappings") || ! g:makecols_no_mappings |
|
|
|
nmap mc <Plug>MakeCols |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -22,4 +32,4 @@ endfunction |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" vim:set ft=vim sw=4 sts=2 et: |
|
|
|
" vim:set ft=vim sw=4 sts=4 et: |