aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/nvim
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-04-12 17:27:48 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-04-12 17:27:48 +0300
commitba4562e933b5193178720b996c5b9e238cca01cf (patch)
tree35ce504d10ea03ece0c0854f9c9d906b483ae6a5 /dotfiles/.config/nvim
parentd7d377d1c6fd5acb3789da99f15878e284f7ff13 (diff)
downloadvimrice-ba4562e933b5193178720b996c5b9e238cca01cf.tar.gz
vimrice-ba4562e933b5193178720b996c5b9e238cca01cf.zip
Add gdb/termdebug keybinds
Diffstat (limited to 'dotfiles/.config/nvim')
-rw-r--r--dotfiles/.config/nvim/init.vim8
1 files changed, 7 insertions, 1 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim
index 4a27116..bda1c52 100644
--- a/dotfiles/.config/nvim/init.vim
+++ b/dotfiles/.config/nvim/init.vim
@@ -256,7 +256,13 @@ call plug#end()
nmap <silent> ]g <cmd>lua vim.diagnostic.goto_next()<CR>
nmap <silent> [g <cmd>lua vim.diagnostic.goto_prev()<CR>
-" LSP FZF
+" Termdebugger keybinds
+ nmap <silent> <leader>gn <cmd>:Over<CR>
+ nmap <silent> <leader>gs <cmd>:Step<CR>
+ nmap <silent> <leader>gc <cmd>:Continue<CR>
+ nmap <silent> <leader>gu <cmd>:Until<CR>
+ nmap <silent> <leader>gb <cmd>:Break<CR>
+ nmap <silent> <leader>gC <cmd>:Clear<CR>
" File format preferences
" MFing neovim overrding my omnifunc with whatever ccomplete is