Wanna evaluate a line of code in your .vimrc without having to so:
the whole damn file?
[vim gutter=”false”]
noremap <C-x><C-e> :exe getline(".")<CR>
[/vim]
I stole the binding from Emacs (suckers). Put yer cursor on the line of vim script you want to evaluate and control-x, control-e.
Great for testing mappings and commands and all whatnot.
You do have your caps lock remapped to control, right? Don’t make me check your pinky.
One Response to Visdom, briefly.