makecols.vim: converting lists to columns made simple
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
439 B

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