Changed the raw-write command keymapping to use alt.
It's not something that should be used with keymaps...
This commit is contained in:
parent
75cee7c51f
commit
88ad7dbae7
@ -19,7 +19,6 @@ command! -nargs=1 VBGexecute call vebugger#std#execute(<q-args>)
|
|||||||
|
|
||||||
command! -range -nargs=0 VBGevalSelectedText call vebugger#std#eval(vebugger#util#get_visual_selection())
|
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 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(<q-args>,{})
|
command! -nargs=1 -complete=file VBGstartGDB call vebugger#gdb#start(<q-args>,{})
|
||||||
command! -nargs=1 -complete=file VBGattachGDB call vebugger#gdb#searchAndAttach(<q-args>)
|
command! -nargs=1 -complete=file VBGattachGDB call vebugger#gdb#searchAndAttach(<q-args>)
|
||||||
@ -40,14 +39,12 @@ if exists('g:vebugger_leader')
|
|||||||
\'E':'exe "VBGeval ".input("VBG-Eval> ")',
|
\'E':'exe "VBGeval ".input("VBG-Eval> ")',
|
||||||
\'x':'exe "VBGexecute ".getline(".")',
|
\'x':'exe "VBGexecute ".getline(".")',
|
||||||
\'X':'exe "VBGexecute ".input("VBG-Exec> ")',
|
\'X':'exe "VBGexecute ".input("VBG-Exec> ")',
|
||||||
\'w':'exe "VBGrawWrite ".getline(".")',
|
\'<M-w>':'exe "VBGrawWrite ".input("VBG> ")'})
|
||||||
\'W':'exe "VBGrawWrite ".input("VBG> ")'})
|
|
||||||
exe 'nnoremap '.g:vebugger_leader.s:mapping[0].' :'.s:mapping[1].'<Cr>'
|
exe 'nnoremap '.g:vebugger_leader.s:mapping[0].' :'.s:mapping[1].'<Cr>'
|
||||||
endfor
|
endfor
|
||||||
for s:mapping in items({
|
for s:mapping in items({
|
||||||
\'e':'VBGevalSelectedText',
|
\'e':'VBGevalSelectedText',
|
||||||
\'x':'VBGexecuteSelectedText',
|
\'x':'VBGexecuteSelectedText'})
|
||||||
\'w':'VBGrawWriteSelectedText'})
|
|
||||||
exe 'vnoremap '.g:vebugger_leader.s:mapping[0].' :'.s:mapping[1].'<Cr>'
|
exe 'vnoremap '.g:vebugger_leader.s:mapping[0].' :'.s:mapping[1].'<Cr>'
|
||||||
endfor
|
endfor
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user