aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorTeddy Wing2016-02-15 04:37:47 +0100
committerTeddy Wing2016-02-15 04:37:47 +0100
commit55785678afa6d125ee0b3ca7bdee059f0ce0443e (patch)
tree8e7969b49764d01d28caa43a7ae2ff81a5e42c81 /vimrc
parent2bcfdc5247e859e976edb2e61e7f9e530dccffc7 (diff)
downloaddotvim-55785678afa6d125ee0b3ca7bdee059f0ce0443e.tar.bz2
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.
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc9
1 files changed, 9 insertions, 0 deletions
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 <leader>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 <leader>fr :Rexplore<cr>
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
" ========