vim-linebox : The VIM lines and boxes plugin
script karma |
Rating 11/4,
Downloaded by 410 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
|
|
script type |
utility |
|
description |
For more info, visit https://github.com/yoshi1123/vim-linebox
Demo here: https://github.com/yoshi1123/vim-linebox/blob/master/doc/vim-linebox-demo.gif
linebox is a vim plugin to draw boxes and lines. Boxes are drawn by visually
selecting a rectangle, and then pressing either `<leader>b` or `<leader>B`
(with default mappings, enabled in vimrc). Lines are drawn by setting a start
and end mark, and pressing `<leader>L` (with default mappings, enabled in
vimrc). This will find the shortest path, from start to end (if there is a
path), no matter where the start and end positions are, avoiding any text.
Lines can start and stop on other lines, and will merge with them.
Features:
- Draw boxes with <leader>b
- Draw blended boxes with <leader>B
- Draw lines with <leader>L
Quick Start:
Add let g:linebox_default_maps = 1 to your vimrc (see "Default mappings" below).
Boxes:
Use visual mode to select a rectable, and make a box with <leader>b.
Use visual mode to select a rectable, and make a box with <leader>B to blend with other lines.
Lines:
Make a start and end mark with marks `a and `b. Then draw a line with <leader>L.
NOTE: There must be a path of whitespace from mark a to mark b. |
|
install details |
NOTE: On Windows, replace the directory ~/.vim with ~/vimfiles
Github:
Vim Packages
Linux/Unix/OSX:
git clone --recursive https://github.com/yoshi1123/vim-linebox ~/.vim/pack/bundle/start/vim-linebox
Run :helptags ~/.vim/pack/bundle/start/vim-linebox/doc
Windows:
git clone --recursive https://github.com/yoshi1123/vim-linebox ~/vimfiles/pack/bundle/start/vim-linebox
Run :helptags ~/vimfiles/pack/bundle/start/vim-linebox/doc
Pathogen
Linux/Unix/OSX:
git clone --recursive https://github.com/yoshi1123/vim-linebox ~/.vim/bundle/vim-linebox
Windows:
git clone --recursive https://github.com/yoshi1123/vim-linebox ~/.vim/bundle/vim-linebox
Vundle
Add Bundle 'https://github.com/yoshi1123/vim-linebox' to .vimrc
Run :BundleInstall
NeoBundle
Add NeoBundle 'https://github.com/yoshi1123/vim-linebox' to .vimrc
Run :NeoBundleInstall
vim-plug
Add Plug 'https://github.com/yoshi1123/vim-linebox' to .vimrc
Run :PlugInstall
ZIP:
Unzip to ~/.vim/pack/bundle/start/vim-linebox
Run :helptags ~/.vim/pack/bundle/start/vim-linebox/doc |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.144.165.218
|