line_length.vim : Toggle hilighting of too long lines
| script karma
Downloaded by 202
Comments, bugs, improvements
script versions (upload new version)
|This script adds the :LineLength command that can be used to toggle
hilighting of the part of lines that are too long.
The code can also be found here: https://github.com/aklt/vim-line_length
Important: Please open an issue at github if you find a problem!
Add a mapping to toggle highlighting of long lines:
nmap R :LineLength<CR>
The max. line length can be set in a modeline in a comment within
one of the 5 last lines of a file:
// Lines longer than 80 characters will get a blue background
// ll: 80 blue
let g:LineLength_LineLength = 80
let g:LineLength_guibg = 'red'
let g:LineLength_ctermbg = 1
|unzip, open with vim and source it. Requires the Vimball plugin|
Click on the package to download.
ip used for rating: 188.8.131.52