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 ---
|
||||
let $LUA_PATH=expand('<sfile>:p:h:h')."/lua/?.lua;;"
|
||||
let g:exe_prg = 'lua -e "draw=require[[draw]]" -'
|
||||
let g:exe_prg = 'lua'
|
||||
vnoremap <CR> :<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