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.

86 lines
1.4 KiB

9 years ago
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
  2. ========
  3. Makecols.vim is intended to easily convert lists into column based
  4. layouts.
  5. The easiest way to explain is with examples.
  6. Say you have a list of things (in this case numbers)
  7. 1
  8. 2
  9. 3
  10. 4
  11. 5
  12. 6
  13. 7
  14. 8
  15. 9
  16. 10
  17. and you’d like it to look neater
  18. 1 2
  19. 3 4
  20. 5 6
  21. 7 8
  22. 9 10
  23. [That’s pretty neat](https://www.youtube.com/watch?v=Hm3JodBR-vs&feature=youtu.be&t=25s)
  24. Usage
  25. -----
  26. Here’s how you do it.
  27. Start with a list like above.
  28. 1
  29. 2
  30. 3
  31. 4
  32. 5
  33. 6
  34. 7
  35. 8
  36. 9
  37. 10
  38. Then visual select the rows you’d like to make neat.
  39. Then type ```mc``` and viola! The data has automagically been
  40. reconstructed into a satisfactory arrangement. Free of the worry
  41. caused by inadequate single column list layouts.
  42. 1 2
  43. 3 4
  44. 5 6
  45. 7 8
  46. 9 10
  47. Installation
  48. ------------
  49. If you don't have a preferred installation method, I recommend
  50. installing [pathogen.vim](https://github.com/tpope/vim-pathogen), and
  51. then simply copy and paste:
  52. cd ~/.vim/bundle
  53. git clone git://github.com/leothelocust/vim-makecols.git
  54. Once help tags have been generated, you can view the manual with
  55. `:help makecols`.
  56. Contributing
  57. ------------
  58. Just pull, make some changes, and create a merge request.
  59. License
  60. -------
  61. Copyright (c) Levi Olson. Distribution under the same terms as Vim itself.
  62. See `:help license`.