Simplify VisualExe plugin
This commit is contained in:
parent
84f4e2b7df
commit
2cf196f71f
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
||||||
" --- VISUAL EXECUTE ---
|
" --- VISUAL EXECUTE ---
|
||||||
let $LUA_PATH=expand('<sfile>:p:h:h')."/lua/?.lua;;"
|
let g:exe_prg = 'lua'
|
||||||
let g:exe_prg = 'lua -e "draw=require[[draw]]" -'
|
|
||||||
vnoremap <CR> :<C-U>exec "'<,'>!".g:exe_prg<CR>
|
vnoremap <CR> :<C-U>exec "'<,'>!".g:exe_prg<CR>
|
||||||
inoremap <C-Space> <C-[>0v$:<C-U>exec "'<,'>!".g:exe_prg<CR>
|
inoremap <C-Space> <C-[>0v$:<C-U>exec "'<,'>!".g:exe_prg<CR>
|
||||||
|
|
Loading…
Reference in a new issue