darkrc/vim/plugin/vexe.vim

3 lines
95 B
VimL

" --- VISUAL EXECUTE ---
let g:exe_prg = 'lua'
vnoremap <CR> :<C-U>exec "'<,'>!".g:exe_prg<CR>