From eab3090da7c58004173d0c645a70c6a32a366396 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Thu, 13 Dec 2018 16:13:12 +0000 Subject: [PATCH] Add termdebug window selection mappings --- plugin/mappings.vim | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugin/mappings.vim b/plugin/mappings.vim index 81534f2..db3ddc7 100644 --- a/plugin/mappings.vim +++ b/plugin/mappings.vim @@ -10,6 +10,15 @@ nnoremap gd :YcmCompleter GoTo nnoremap gt :YcmCompleter GetType nnoremap sd :YcmShowDetailedDiagnostic +" termdebug +" TODO: Detecet if termdebug is loaded, if not do the default action. +nnoremap :Gdb +nnoremap :Program +nnoremap :Source +tnoremap :Gdb +tnoremap :Program +tnoremap :Source + " GitGutter nnoremap gn :GitGutterNextHunk nnoremap gp :GitGutterPrevHunk