Questions tagged [slimv]

The Superior Lisp Interaction Mode for Vim.

A filetype plugin for interacting with a Common Lisp, Clojure, or Scheme process which provides compilation, indentation, documentation lookup, and REPL services in Vim.

29 questions
1
vote
1 answer

How the setup the environment of MIT-Scheme with slimv in windows 7?

I read the source code of slimv\ftplugin\scheme\slimv-scheme.vim if exists( 'g:scheme_builtin_swank' ) && g:scheme_builtin_swank " MIT Scheme contains a built-in swank server since version 9.1.1 return 'scheme --eval "(let loop…
alwaysday1
  • 1,683
  • 5
  • 20
  • 36
1
vote
1 answer

Vim - slimv : close-parenthesis position upon pressing enter

I'm a vim user trying to learn common lisp. I run gvim on windows. I am trying to follow the slimv tutorial given here: http://kovisoft.bitbucket.org/tutorial.html My question:suppose you type the following and press enter after :morse (the vertical…
ARV
  • 6,287
  • 11
  • 31
  • 41
1
vote
2 answers

vim:Can braces auto complete in java file as elegant as lisp file with slimv?

I have been use slimv for a long time, and found it's great in braces auto complete. However, while I was editing java file, I tried to add this code in my vimrc "Add the closing brace only at the end of the line function! ConditionalPairMap(open,…
pvd
  • 1,303
  • 2
  • 16
  • 31
1
vote
0 answers

quicklisp-client:quickload is undefined

I installed quicklisp in slimv and quickload doesn't seem to be working. CL-USER> (ql:quickload "hunchentoot") The function QUICKLISP-CLIENT:QUICKLOAD is undefined. apropos works so I'm not sure what went wrong. CL-USER> (ql:system-apropos…
deadghost
  • 5,017
  • 3
  • 34
  • 46
1
vote
1 answer

vim mapping not working with slimv plugin

The following mappings are located in my .vimrc and are used to quickly navigate between vertical split panes created with :vsp and split panes creates with :sp. " Smart way to move between windows map map map…
deadghost
  • 5,017
  • 3
  • 34
  • 46
1
vote
3 answers

Vim and Clojure, can I use Slimv or VimClojure with ritz or another REPL?

I can successfully configure both Slimv and VimClojure but I wonder if I can set any of those to work with any swank server (ritz for example). Thanks!
ssedano
  • 8,322
  • 9
  • 60
  • 98
1
vote
2 answers

About stumpwm and swank(clisp)

I have built stumpwm using thread enabled clisp successfully. And the created stumpwm works great. However, the swank server doesnot work if started from ~/.stumpwmrc as below: (load "~/.vim/slime/start-swank.lisp") The swank server is indeed…
z_axis
  • 8,272
  • 7
  • 41
  • 61
1
vote
1 answer

Unbound variable error in slimv with mit-scheme

After trying to start swank server from vim (or after executing the command scheme --load /usr/share/emacs/site-lisp/slime/contrib/swank-mit-scheme.scm from terminal prompt) I get the following error: Image saved on Tuesday November 8, 2011 at…
brk
  • 11
  • 1
0
votes
2 answers

How to disable automatic indentation by Slimv for non-Lisp files?

Non-Slimv Behavior At first, let me show the normal Vim behavior when Slimv is not enabled. Create a new file: vim foo.c. Enter insert mode: i Enter this code: void f() Press enter The cursor is now at position 2,1 (2nd row, 1st column). Slimv…
Lone Learner
  • 18,088
  • 20
  • 102
  • 200
0
votes
0 answers

Slimv: Evaluation aborted on

I'm debugging the following mit-scheme program through vim with the assistance of slimv. (define (pascal x) (define (pascal-iter m n max-len) (cond ((and (> m 0) (> n 0)) (pascal-iter m (- n 1) max-len) …
nalzok
  • 14,965
  • 21
  • 72
  • 139
0
votes
1 answer

Slimv backtrace doesn't show local variables

I've just installed Slimv to maximize lisp hacking, and I can't get anything useful out of the debugger. If I type in the REPL (+ 1 a) I get the following error, which is fine EVAL: variable A has no value [Condition of type…
Peter Mitrano
  • 2,132
  • 28
  • 31
0
votes
1 answer

Why am I getting a file not found error in Slimv?

I've set up slimv with the following command in vim: let g:slimv_swank_cmd = '!gnome-terminal -e "sbcl --load ~/.vim/bundle/slimv/slime/start-swank.lisp &"' When opening .lisp files and starting slimv, I recieve the following error message in the…
0
votes
1 answer

Vim fails to indent racket code sorrectly after installing SLIMV

I am using vim for editing racket files, and I've recently installed SLIMV. Before that, hitting enter before the last paren in the following code in a .rkt or .scm file: (define (f a b)|) got me this: (define (f a b) |) And now I am getting…
Innot Kauker
  • 1,333
  • 1
  • 18
  • 30
-1
votes
1 answer

What should g:slimv_swank_cmd be to run SLIMV for SBCL on Windows 10?

I'm trying to use Steel Bank Common Lisp with GVim. I installed Steel Bank Common Lisp (AMD64) into 'C:\Program Files\Steel Bank Common Lisp'. I unzipped SLIMV into 'C:\vimfiles' I installed Python3 and put it in Windows PATH. I installed Python 2.7…
1
2