diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-11 04:08:59 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-11 04:08:59 +0100 |
| commit | 2155dd25e90a2a6b9a801ed7352f4a4123e54cf0 (patch) | |
| tree | 68cc3c1dda2240d233ccb5ac3c8baa320abe9bc4 | |
| parent | ef81d6388dfc3e5cc93b39874f69b7903c15b0e1 (diff) | |
| download | mitjafelicijan.com-2155dd25e90a2a6b9a801ed7352f4a4123e54cf0.tar.gz | |
Update post: Integrated debugging in Vim
| -rw-r--r-- | content/posts/2026-01-09-vim.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/posts/2026-01-09-vim.md b/content/posts/2026-01-09-vim.md index 74e0b15..58c40f3 100644 --- a/content/posts/2026-01-09-vim.md +++ b/content/posts/2026-01-09-vim.md | |||
| @@ -141,7 +141,6 @@ function! LocalDebugMain() abort | |||
| 141 | call TermDebugSendCommand(printf('set env %s %s', k, v)) | 141 | call TermDebugSendCommand(printf('set env %s %s', k, v)) |
| 142 | endfor | 142 | endfor |
| 143 | 143 | ||
| 144 | call TermDebugSendCommand('directory ' . getcwd()) | ||
| 145 | call TermDebugSendCommand('break main') | 144 | call TermDebugSendCommand('break main') |
| 146 | call TermDebugSendCommand('run') | 145 | call TermDebugSendCommand('run') |
| 147 | endfunction | 146 | endfunction |
| @@ -176,8 +175,9 @@ endfunction | |||
| 176 | ``` | 175 | ``` |
| 177 | 176 | ||
| 178 | > **Note**: If any errors are found during the compilation mode the Quickfix | 177 | > **Note**: If any errors are found during the compilation mode the Quickfix |
| 179 | > list will be populated and opened. You could CtrlP Quickfix for this as well, | 178 | > list will be populated and opened. You could use CtrlP Quickfix with |
| 180 | > I just want to stick to what Vim supports natively. | 179 | > `:CtrlPQuickfix` instead of `:copen` for this as well, I just want to stick |
| 180 | > to what Vim supports natively. | ||
| 181 | 181 | ||
| 182 | Lets check these keybindings. | 182 | Lets check these keybindings. |
| 183 | 183 | ||
