vim-linebox 1.0c1 -- The VIM lines and boxes plugin
source link: https://www.vim.org/scripts/script.php?script_id=6011%231.0c1
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
The VIM lines and boxes plugin : vim online
vim-linebox : The VIM lines and boxes plugin
script karma Rating 0/0, Downloaded by 5 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. This will find the
shortest path, from start to end, 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
rate this script Life Changing Helpful Unfulfilling
script versions (upload new version)
Click on the package to download.
package script version date Vim version user release notes
vim-linebox-master.zip 1.0c1 2022-04-11 7.0 Initial upload
ip used for rating: 141.164.63.164
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK