From 55785678afa6d125ee0b3ca7bdee059f0ce0443e Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 15 Feb 2016 04:37:47 +0100 Subject: vimrc: Configure Slimv * Set a Lisp implementation (SBCL) * Define the SWANK command (copied from Slimv's documentation). The docs provide three different command options, one that creates a new OS X Terminal window using `osascript` (which I didn't really like as it's intrusive), and the other two using `screen` and `tmux`. Opted for the `screen` version. --- vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 2daca81..29b87a5 100644 --- a/vimrc +++ b/vimrc @@ -344,6 +344,10 @@ " * Output current scrollbind value after using our sb scrollbind " toggle mapping. " +" 2016.02.15: +" * Add Slimv settings. Use `sbcl` Lisp interpreter and `screen` to run +" the REPL. +" " Pathogen @@ -541,6 +545,11 @@ nnoremap fr :Rexplore runtime! macros/matchit.vim +" Slimv +let g:slimv_impl = 'sbcl' +let g:slimv_swank_cmd = '! screen -d -m -t REPL-SBCL sbcl --load ~/.vim/bundle/slimv/slime/start-swank.lisp' + + " Mappings " ======== -- cgit v1.2.3