darkrc/vim/plugin/vexe.vim

4 lines
95 B
VimL
Raw Permalink Normal View History

2020-07-30 14:25:46 +00:00
" --- VISUAL EXECUTE ---
2021-01-05 11:00:04 +00:00
let g:exe_prg = 'lua'
2020-07-30 14:25:46 +00:00
vnoremap <CR> :<C-U>exec "'<,'>!".g:exe_prg<CR>