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
6
votes
1 answer

How to use vimclojure and SLIMV together?

Both addons have good sides, SLIMV has better REPL(faster than vimclojure REPL), but vimclojure's indentation and syntax coloring is better(also, vimclojure's syntax coloring is working in REPL too). And vimclojure's indentation is better. For…
sinan
  • 6,809
  • 6
  • 38
  • 67
5
votes
2 answers

Slimv setup for clojure

Has anyone recently tried to setup slimv for clojure that would be willing to describe how to do so? Slimv will currently autodetect lisp on my machine but fails to load on .clj files. I've also added the following to my .vimrc let…
oxdeadlocc
  • 53
  • 4
5
votes
2 answers

slimv.vim:: Invalid auto insert parentheses

I'm using clojure in MacVim with slimv.vim. But when I start to write some clojure code my indent does not look good. It looks like this: (def a (println "hello") ) It makes me a little confused. I want to invalid auto insert parentheses.…
nobinobiru
  • 792
  • 12
  • 28
3
votes
3 answers

MacVim: slimv does not start

I'm using MacVim (kind of gvim for OSX) and try to get the slimv plugin running. Sadly it's not working out of the box. In fact, it does not start up at all. My setup: MacVim (32bit cause of this) (vim 7.3) :scriptnames does not list…
Julian
  • 299
  • 2
  • 15
3
votes
3 answers

How to reinitialise swank?

How can I make swank forget all previously evaluated definitions? I want it to undefine all macros, functions, and variables that where defined via evaluations (such as ,b evaluate buffer). And have it returned to the same state as when I reboot my…
Kasper van den Berg
  • 8,951
  • 4
  • 48
  • 70
3
votes
1 answer

Autoindent a .lisp file from the command line and use slimv to do the indenting

I am trying to autoindent a .lisp file from the command line, leveraging vim+slimv to do the indenting. I tried scripting it: vi -c 'call SlimvConnectSwank()' -c 'normal gg=G' -c 'wq' -c 'q!' temp.lisp But the swank server isn't queried to do the…
Clayton Stanley
  • 7,513
  • 9
  • 32
  • 46
3
votes
1 answer

mit-scheme vim slimv: " read-error: no dispatch function defined for #\F"

It's a very easy scheme function (define member? (lambda (a lat) (cond ((null? lat) #f) (else (or (eq? (car lat) a) (member? a (cdr lat)) )) ) ) ) However, when I pressed ,d or ,F in vim…
pvd
  • 1,303
  • 2
  • 16
  • 31
2
votes
2 answers

Navigating top-level Lisp/Clojure forms in Vim

I use Vim for Clojure development. I'd like a movement key or mapping that will jump through the top-level forms in the buffer. { and } are close, but stop if there's a blank line in the middle of the form. slimv-paredit's ( and ) move within a…
Dave Ray
  • 39,616
  • 7
  • 83
  • 82
2
votes
1 answer

Error installing slimv

I'm trying to use slimv, which is recommended in the answer for another question of mine, under macOS Sierra. However, when I installed this plugin into ~/.vim/plugin, and ran vi test.lisp, I got the following error. The beautiful "Slimv" menu was…
nalzok
  • 14,965
  • 21
  • 72
  • 139
2
votes
1 answer

slimv + vim : slimv ignores vim tab settings

I'm using vim 7.3 with slimv to edit *.lisp files. Unfortunately, slimv pretty much ignores my vim indentation settings which causes a mess from time to time. I want to use tabs for indenting and have following lines in vimrc: set tabstop=4…
SigTerm
  • 26,089
  • 6
  • 66
  • 115
2
votes
1 answer

How to setup classpath for slimv and ritz

I would like to resolve my problem for classpath.Could you tell me how to do? I can do the following. I can eval (+ 1 1) in vim(slimv) by pushing ,e. Then slimv display the followings. user> (+ 1 1) 2 However,I can not do the followings. 1.When I…
prk2
  • 147
  • 2
  • 9
1
vote
2 answers

slimv - error connecting to clojure swank server

Tried to get slimv running today, but ran into an issue. These are the steps I went through: Installed clojure 1.3.0: brew update && brew install clojure Setup swank-clojure: lein plugin install swank-clojure 1.3.3 Cloned slimv: hg clone…
devth
  • 2,738
  • 4
  • 31
  • 51
1
vote
2 answers

slimv segfaulting on OS X Lion

I have been trying to get slimv (http://www.vim.org/scripts/script.php?script_id=2531) working for a while now, but I am really not sure what else I can do. I am running vim 7.3 compiled with python support, using clisp (sbcl is showing the same…
Patrick
  • 13,872
  • 5
  • 35
  • 53
1
vote
1 answer

Slimv - Change REPL Vertical Split

I am using Slimv (version 0.9.13) with Vim (version 7.4). When I compile or run code or do anything that opens the REPL, it always opens in a window above my code, with the height split 50/50. Is it possible to make it open in a smaller window and…
Langston
  • 1,083
  • 10
  • 26
1
vote
1 answer

How do I get slimv working with SBCL?

I am trying to get slimv (latest version from hg) working with SBCL 1.2.2. When I add let g:slimv_impl="sbcl" to .vimrc and try to let slimv start a SWANK server the load fails with this error: ; ; caught ERROR: ; READ error during…
user116432
  • 11
  • 2
1
2