6a7961f15ca1

vim: update slime
[view raw] [browse files]
author Steve Losh <steve@dwaiter.com>
date Tue, 27 Jul 2010 09:08:57 -0400
parents c314a1f64f5a
children 1dc31fefa4ca
branches/tags (none)
files vim/.vimrc vim/plugin/slime.vim

Changes

--- a/vim/.vimrc	Fri Jul 23 23:53:03 2010 -0400
+++ b/vim/.vimrc	Tue Jul 27 09:08:57 2010 -0400
@@ -193,4 +193,4 @@
 inoremap <Esc> <nop>
 
 " Scratch
-nmap <tab><tab> :Sscratch<cr>
+nmap <tab><tab> :Sscratch<cr><C-W>x<C-j>:resize 15<cr>
--- a/vim/plugin/slime.vim	Fri Jul 23 23:53:03 2010 -0400
+++ b/vim/plugin/slime.vim	Tue Jul 27 09:08:57 2010 -0400
@@ -15,17 +15,17 @@
 
 function Screen_Vars()
   if !exists("g:screen_sessionname") || !exists("g:screen_windowname")
-    let g:screen_sessionname = ""
+    let g:screen_sessionname = "slime"
     let g:screen_windowname = "0"
   end
 
-  let g:screen_sessionname = input("session name: ", "", "custom,Screen_Session_Names")
-  let g:screen_windowname = input("window name: ", g:screen_windowname)
+  "let g:screen_sessionname = input("session name: ", "", "custom,Screen_Session_Names")
+  "let g:screen_windowname = input("window name: ", g:screen_windowname)
 endfunction
 
 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 
 vmap <C-c><C-c> "ry:call Send_to_Screen(@r."\n")<CR>
-nmap <C-c><C-c> V<C-c><C-c>
+nmap <C-c><C-c> vip<C-c><C-c>
 
 nmap <C-c>v :call Screen_Vars()<CR>