termdebug.vim: Comment out Winbar related things #11552
This commit is contained in:
parent
64248e64a0
commit
c60f656839
|
@ -442,7 +442,7 @@ func s:InstallCommands()
|
||||||
command Gdb call win_gotoid(s:gdbwin)
|
command Gdb call win_gotoid(s:gdbwin)
|
||||||
command Program call win_gotoid(s:ptywin)
|
command Program call win_gotoid(s:ptywin)
|
||||||
command Source call s:GotoSourcewinOrCreateIt()
|
command Source call s:GotoSourcewinOrCreateIt()
|
||||||
command Winbar call s:InstallWinbar()
|
" command Winbar call s:InstallWinbar()
|
||||||
|
|
||||||
" TODO: can the K mapping be restored?
|
" TODO: can the K mapping be restored?
|
||||||
nnoremap K :Evaluate<CR>
|
nnoremap K :Evaluate<CR>
|
||||||
|
@ -450,7 +450,7 @@ func s:InstallCommands()
|
||||||
let &cpo = save_cpo
|
let &cpo = save_cpo
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
let s:winbar_winids = []
|
" let s:winbar_winids = []
|
||||||
|
|
||||||
" Delete installed debugger commands in the current window.
|
" Delete installed debugger commands in the current window.
|
||||||
func s:DeleteCommands()
|
func s:DeleteCommands()
|
||||||
|
@ -467,7 +467,7 @@ func s:DeleteCommands()
|
||||||
delcommand Gdb
|
delcommand Gdb
|
||||||
delcommand Program
|
delcommand Program
|
||||||
delcommand Source
|
delcommand Source
|
||||||
delcommand Winbar
|
" delcommand Winbar
|
||||||
|
|
||||||
nunmap K
|
nunmap K
|
||||||
|
|
||||||
|
@ -733,7 +733,7 @@ func s:GotoSourcewinOrCreateIt()
|
||||||
if !win_gotoid(s:sourcewin)
|
if !win_gotoid(s:sourcewin)
|
||||||
new
|
new
|
||||||
let s:sourcewin = win_getid(winnr())
|
let s:sourcewin = win_getid(winnr())
|
||||||
call s:InstallWinbar()
|
" call s:InstallWinbar()
|
||||||
endif
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
@ -764,7 +764,7 @@ func s:HandleCursor(msg)
|
||||||
" TODO: find existing window
|
" TODO: find existing window
|
||||||
exe 'split ' . fnameescape(fname)
|
exe 'split ' . fnameescape(fname)
|
||||||
let s:sourcewin = win_getid(winnr())
|
let s:sourcewin = win_getid(winnr())
|
||||||
call s:InstallWinbar()
|
" call s:InstallWinbar()
|
||||||
else
|
else
|
||||||
exe 'edit ' . fnameescape(fname)
|
exe 'edit ' . fnameescape(fname)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue