Evaluate line or region with <C-c>
Vim script
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
plugin
README.md

README.md

Inside a vim file

  • <C-c> to evaluate the current line.
  • {Visual}<C-c> to evaluate a region.

Custom mapping

" custom mapping
let g:eval_viml_n = "<C-c>"
let g:eval_viml_v = "<C-c>"

" manual mapping
let g:eval_viml_map_keys = 0
nmap <silent> <C-c> <Plug>eval_viml
vmap <silent> <C-c> <Plug>eval_viml_region

Bitdeli Badge