From 88ad7dbae78d78daf90d70fc399bcff220d8db2c Mon Sep 17 00:00:00 2001 From: IdanArye Date: Sat, 17 May 2014 00:01:12 +0300 Subject: [PATCH] Changed the raw-write command keymapping to use alt. It's not something that should be used with keymaps... --- plugin/vebugger.vim | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/plugin/vebugger.vim b/plugin/vebugger.vim index adc5df2..817a272 100644 --- a/plugin/vebugger.vim +++ b/plugin/vebugger.vim @@ -19,7 +19,6 @@ command! -nargs=1 VBGexecute call vebugger#std#execute() command! -range -nargs=0 VBGevalSelectedText call vebugger#std#eval(vebugger#util#get_visual_selection()) command! -range -nargs=0 VBGexecuteSelectedText call vebugger#std#execute(vebugger#util#get_visual_selection()) -command! -range -nargs=0 VBGrawWriteSelectedText call vebugger#writeLine(vebugger#util#get_visual_selection()) command! -nargs=1 -complete=file VBGstartGDB call vebugger#gdb#start(,{}) command! -nargs=1 -complete=file VBGattachGDB call vebugger#gdb#searchAndAttach() @@ -40,14 +39,12 @@ if exists('g:vebugger_leader') \'E':'exe "VBGeval ".input("VBG-Eval> ")', \'x':'exe "VBGexecute ".getline(".")', \'X':'exe "VBGexecute ".input("VBG-Exec> ")', - \'w':'exe "VBGrawWrite ".getline(".")', - \'W':'exe "VBGrawWrite ".input("VBG> ")'}) + \'':'exe "VBGrawWrite ".input("VBG> ")'}) exe 'nnoremap '.g:vebugger_leader.s:mapping[0].' :'.s:mapping[1].'' endfor for s:mapping in items({ \'e':'VBGevalSelectedText', - \'x':'VBGexecuteSelectedText', - \'w':'VBGrawWriteSelectedText'}) + \'x':'VBGexecuteSelectedText'}) exe 'vnoremap '.g:vebugger_leader.s:mapping[0].' :'.s:mapping[1].'' endfor endif