Created
February 7, 2014 19:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## You should really be using ZSH, but who am I to judge? :-) | |
quicklispDir="~/libs/clisp/quicklisp" # Replace this with a directory of your choice | |
mkdir $quicklispDir -p && cd $quicklispDir | |
wget http://beta.quicklisp.org/quicklisp.lisp | |
sbcl --load quicklisp.lisp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; This should be run in your SBCL REPL | |
(quicklisp-quickstart: install) ; This will, by default, create a "~/quicklisp" directory | |
(load "~/quicklisp/setup.lisp") ; This will make the ql: package available in your REPL | |
(ql:add-to-init-file) ; This will add ql to your init file, "~/.sbclrc" in this case, so you don't have to load it in subsequent sessions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## This assumes you use pathogen https://github.com/tpope/vim-pathogen | |
cd ~/.vim/bundle | |
wget -O slimv.zip http://www.vim.org/scripts/download_script.php?src_id=21253 # Downloads v0.9.12 of Slimv | |
unzip -d slimv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; This launches a SWANK server at the default port 4005 | |
; Did not work on GNU Clisp for me, hence the SBCL recommendation | |
(ql:quickload :swank) | |
(swank:create-server :port 4005 :style :spawn :dont-close t) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Add the line below to your .vimrc | |
let g:slimv_swank_cmd ='! xterm -e sbcl --load ~/utils/start-swank.lisp &' " | |
" NOTE: This is the previously mentioned "start-swank.lisp". Edit the file location as needed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment