WholeLineColor : plugin for changing background color of lines
| script karma
Downloaded by 552
Comments, bugs, improvements
script versions (upload new version)
|Have you ever wanted to mark lines or groups of lines in a way that is easy to see and be be able to jump to those markings? The WholeLineColor plugin lets you do just that. Using Vim's signs feature, the background color of lines can be changed with convenient mappings. Groups of lines can be marked in visual mode with the same mappings. There are also mappings to go to the next and previous group of marked lines.
Remove set color from current (or selected) lines.
Set background of current or selected lines to green.
Set background of current or selected lines to grey.
Set background of current or selected lines to blue.
Set background of current or selected lines to purple.
Set background of current or selected lines to red.
Set background of current or selected lines to black.
The above mappings work in both normal and visual mode and take a count just
like built in commands.
If you have the vim-repeat plugin (https://github.com/tpope/vim-repeat) installed, you can also repeat any of the above mappings with dot, '.'.
Delete all lines that don't have background color set (keep only lines with
background color set).
Delete all lines with background color set.
Remove all set background colors.
Go to next group of lines with background color set.
Go to previous group of lines with background color set.
The key used as the leader to the mappings. The default is <Space>.
Starting sign id. The default is 373700. Change this if this is conflicting
with other sign ids, e.g. sign ids coming from other plugins.
The keystroke used to go to the next group of lines with background color set.
The default is <c-n>.
The keystroke used to go to the previous group of lines with background color
set. The default is <c-p>.
These are the default highlight settings. Change them to suit your preferences.
highlight WLCBlackBackground ctermbg=233 guibg=#121212
highlight WLCRedBackground ctermbg=52 guibg=#882323
highlight WLCBlueBackground ctermbg=17 guibg=#003366
highlight WLCPurpleBackground ctermbg=53 guibg=#732c7b
highlight WLCGreyBackground ctermbg=238 guibg=#464646
highlight WLCGreenBackground ctermbg=22 guibg=#005500
|Extract the plugin files in your ~/.vim (*nix) or ~/vimfiles (Windows). You should have 2 files:
Next, to finish installing the help file run:
Alternatively, and arguably preferably, use Pathogen and checkout the vim-wholelinecolor directory in your bundle directory. Then, run:
Click on the package to download.
ip used for rating: 184.108.40.206