Permalink
Browse files

default to emacs style keybindings

  • Loading branch information...
PeterRincker committed Mar 28, 2012
1 parent 57d24a5 commit 0e8ccc843fb227549252f09274cee4d388697c67
Showing with 7 additions and 5 deletions.
  1. +7 −5 plugin/slime.vim
View
@@ -172,17 +172,19 @@ noremap <SID>Operator :<c-u>set opfunc=<SID>SlimeSendOp<cr>g@
noremap <unique> <script> <silent> <Plug>SlimeRegionSend :<c-u>call <SID>SlimeSendOp(visualmode(), 1)<cr>
noremap <unique> <script> <silent> <Plug>SlimeLineSend :<c-u>call <SID>SlimeSendLines(v:count1)<cr>
noremap <unique> <script> <silent> <Plug>SlimeMotionSend <SID>Operator
+noremap <unique> <script> <silent> <Plug>SlimeParagraphSend <SID>Operatorip
+noremap <unique> <script> <silent> <Plug>SlimeConfig :<c-u>SlimeConfig<cr>
if !exists("g:slime_no_mappings") || !g:slime_no_mappings
if !hasmapto('<Plug>SlimeRegionSend', 'x')
- xmap <leader>s <Plug>SlimeRegionSend
+ xmap <c-c><c-c> <Plug>SlimeRegionSend
endif
- if !hasmapto('<Plug>SlimeMotionSend', 'n')
- nmap <leader>s <Plug>SlimeMotionSend
+ if !hasmapto('<Plug>SlimeParagraphSend', 'n')
+ nmap <c-c><c-c> <Plug>SlimeParagraphSend
endif
- if !hasmapto('<Plug>SlimeLineSend', 'n')
- nmap <leader>ss <Plug>SlimeLineSend
+ if !hasmapto('<Plug>SlimeConfig', 'n')
+ nmap <c-c>v <Plug>SlimeConfig
endif
endif

0 comments on commit 0e8ccc8

Please sign in to comment.