Moved DAP and FTerm keybinds around

This commit is contained in:
Luke Else 2023-03-16 20:13:34 +00:00
parent 6337b3c0fd
commit f196872519
2 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,5 @@
vim.keymap.set('n', '<F5>', function() require('dap').continue() end)
vim.keymap.set('n', '<leader>b', function() require('dap').toggle_breakpoint() end) vim.keymap.set('n', '<leader>b', function() require('dap').toggle_breakpoint() end)
vim.keymap.set('n', '<F5>', function() require('dap').continue() end)
vim.keymap.set('n', '<F10>', function() require('dap').step_over() end) vim.keymap.set('n', '<F10>', function() require('dap').step_over() end)
vim.keymap.set('n', '<F11>', function() require('dap').step_into() end) vim.keymap.set('n', '<F11>', function() require('dap').step_into() end)
vim.keymap.set('n', '<F12>', function() require('dap').step_out() end) vim.keymap.set('n', '<F12>', function() require('dap').step_out() end)

View File

@ -8,7 +8,5 @@ fterm.setup({
}, },
}) })
vim.keymap.set('n', '<F8>', function() fterm.open() end) vim.keymap.set('n', '<F8>', function() fterm.toggle() end)
vim.keymap.set('t', '<F8>', function() fterm.open() end) vim.keymap.set('t', '<F8>', function() fterm.toggle() end)
vim.keymap.set('n', '<F7>', function() fterm.toggle() end)
vim.keymap.set('t', '<F7>', function() fterm.toggle() end)