When starting up vim, I see the following:
line 48:
E488: Trailing characters: #<ESC>hh%i#|<ESC>:call Cursor_pop()<CR>
line 51:
E488: Trailing characters: #<ESC>hh%i#|<ESC>:call Cursor_pop()<CR>
in ~/.../limp/0.3.4/vim/sexp.vim
I can use lisp.sh to start, list, whatever my sbcl sessions.
Inside vim however, <F12> does nothing exciting.
Any ideas?
n8 wrote:
> I'm running vim72 and limp 0.3.4.
>
> When starting up vim, I see the following:
>
>
> line 48:
> E488: Trailing characters: #<ESC>hh%i#|<ESC>:call Cursor_pop()<CR>
> line 51:
> E488: Trailing characters: #<ESC>hh%i#|<ESC>:call Cursor_pop()<CR>
>
>
> in ~/.../limp/0.3.4/vim/sexp.vim
This is what the lines should look like:
" Sexp Comment: comment all the way from the top level
nnoremap <silent> <buffer> <Plug>SexpComment :call
Cursor_push()<CR>99[(%a\|#<ESC>hh%i#\|<ESC>:call Cursor_pop()<CR>
" Sexp Comment Current: comment current form
nnoremap <silent> <buffer> <Plug>SexpCommentCurrent :call
Cursor_push()<CR>[(%a\|#<ESC>hh%i#\|<ESC>:call Cursor_pop()<CR>
(without the enter after :call)
It seems like it doesn't accept \| as a way to delimit commands. Odd.
Think you could try changing \| to <Bar> and see what happens?
>
>
> I can use lisp.sh to start, list, whatever my sbcl sessions.
>
> Inside vim however, <F12> does nothing exciting.
>
Try grabbing the latest version off http://github.com/mikaelj/limp --
sorry, no package for now. There was problem with initialization (a
missing space) which you could add yourself to see if that helps:
limp/vim/bridge.vim around line 230 should look like this (in one line):
let cmd = s:Limp_location . "/bin/lisp.sh ".core_opt." -s ".styfile." -b
".name
In 0.3.4, the space directly after -s is missing. Think you could change
that file and see if it works?
- Mikael