Removed lua "vim" plugin to "draw"
This commit is contained in:
parent
418872d3b0
commit
b7808bcd59
2 changed files with 2 additions and 14 deletions
|
@ -74,20 +74,8 @@ line2 = (len=80) ->
|
||||||
print '┌'..string.rep('─', len-2)..'┐'
|
print '┌'..string.rep('─', len-2)..'┐'
|
||||||
print '└'..string.rep('─', len-2)..'┘'
|
print '└'..string.rep('─', len-2)..'┘'
|
||||||
|
|
||||||
classbox = (name="Class") -> print [[
|
|
||||||
print vim.col {
|
|
||||||
']]..name..[[' -- Title
|
|
||||||
{
|
|
||||||
'+ getValue'
|
|
||||||
}
|
|
||||||
{
|
|
||||||
'- value'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]]
|
|
||||||
|
|
||||||
{
|
{
|
||||||
:tree, :box, :tab, :col, :row, :line, :line2, :classbox
|
:tree, :box, :tab, :col, :row, :line, :line2
|
||||||
-- Aliases
|
-- Aliases
|
||||||
table: tab
|
table: tab
|
||||||
}
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
" --- VISUAL EXECUTE ---
|
" --- VISUAL EXECUTE ---
|
||||||
let $LUA_PATH=expand('<sfile>:p:h:h')."/lua/?.lua;;"
|
let $LUA_PATH=expand('<sfile>:p:h:h')."/lua/?.lua;;"
|
||||||
let g:exe_prg = 'lua -e "vim=require[[vim]]" -'
|
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