All Projects → pjcj → Vim Hl Var

pjcj / Vim Hl Var

Labels

Projects that are alternatives of or similar to Vim Hl Var

Hl matchit.vim
highlighting match of matchit.vim
Stars: ✭ 14 (-56.25%)
Mutual labels:  viml
Vim Refact
Some refactoring stuff for Vim
Stars: ✭ 21 (-34.37%)
Mutual labels:  viml
Linters.vim
Automatically run linters over your code as you write it
Stars: ✭ 28 (-12.5%)
Mutual labels:  viml
Vimgitlog
Git log and diff plugin for vim.
Stars: ✭ 15 (-53.12%)
Mutual labels:  viml
Vim Notebook
Vim plugin to annotate text, source code, etc
Stars: ✭ 21 (-34.37%)
Mutual labels:  viml
Vim Monokai Refined
Port of Monokai Refined for TextMate/Sublime Text, using sickill's Coloration converter
Stars: ✭ 27 (-15.62%)
Mutual labels:  viml
Dotfiles Vim
My ultimate vim productivity suite!
Stars: ✭ 14 (-56.25%)
Mutual labels:  viml
Php Vim
make vim as a php ide
Stars: ✭ 30 (-6.25%)
Mutual labels:  viml
Vim Jade
Vim syntax highlighting for the Jade templating engine.
Stars: ✭ 21 (-34.37%)
Mutual labels:  viml
Vim Dragvisuals
Vim global plugin for dragging virtual blocks
Stars: ✭ 28 (-12.5%)
Mutual labels:  viml
Maven Ide
maven-ide plugin
Stars: ✭ 15 (-53.12%)
Mutual labels:  viml
Vim Composer
Composer in Vim
Stars: ✭ 21 (-34.37%)
Mutual labels:  viml
Vimrc
vgod's vimrc
Stars: ✭ 944 (+2850%)
Mutual labels:  viml
Morrowind
ports of the tango-based gedit "Oblivion" theme to other editors/ides
Stars: ✭ 14 (-56.25%)
Mutual labels:  viml
Vim Yankring
Mirror of yankring.vim
Stars: ✭ 28 (-12.5%)
Mutual labels:  viml
Vim Americanize
Auto-"correct" British spellings to their American equivalent.
Stars: ✭ 14 (-56.25%)
Mutual labels:  viml
Vim Sol
On the Path of Illumination ! :)
Stars: ✭ 27 (-15.62%)
Mutual labels:  viml
Dotfiles
Some of my configuration.
Stars: ✭ 31 (-3.12%)
Mutual labels:  viml
Vim Llvmcov
The llvm-cov tool shows code coverage information for programs that are instrumented to emit profile data.
Stars: ✭ 30 (-6.25%)
Mutual labels:  viml
Cmdalias.vim
Create aliases for Vim commands.
Stars: ✭ 27 (-15.62%)
Mutual labels:  viml

Vim plugin to highlight variables in Perl

This Vim plugin will highlight all instances of the Perl variable under the cursor. It is a fork of Sandeep.c.r's plugin to do the same for PHP.

Imgur

(Image credit: Ovid)

Perl variables, of all types, will be highlighted, as will methods.

Installation

If you are using a package manager such as Vundle or Pathogen, this plugin should be installed in the standard manner. If you are not (why not?), you could just copy hl-var.vim into your ~/.vim/plugins directory.

Requires Vim version 7.3 or later.

Configuration

The variables will be highlighted after you have not performed any action for a certain length of time. That time is controlled by the updatetime setting. (See :help updatetime.) The default value is 4000, which is four seconds. That value is too large for this plugin, so I recommend adjusting it to 500, which is half a second. You can experiment with the value which works best for you.

set updatetime=500

You can customise the highlighting applied by this plugin by using the hlvarhl global variable. This can be set in your .vimrc file:

let g:hlvarhl="ctermbg=black ctermfg=red guifg=#ff0000 guibg=#000000 gui=bold"

If you don't want the variable under cursor to be highlighted, you can disable it by setting variable g:hlvarcurrent to 1.

let g:hlvarcurrent = 1

Licence

This code is released under the MIT licence, as is Sandeep's original code. See hl-var.vim for the full licence.

Authors

This version was forked from Sandeep's repository, with his blessing. Curtis "Ovid" Poe hacked it to support Perl. It is currently being maintained by Paul Johnson.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].