Skip to content

Commit

Permalink
default to emacs style keybindings
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterRincker committed Mar 28, 2012
1 parent 57d24a5 commit 0e8ccc8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions plugin/slime.vim
Expand Up @@ -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.