Questions tagged [debugging]
42 questions
2
votes
0 answers
Vim has started adding commas unnecessary places
When I use :w to save my JSON file, vim automatically adds some commas
at syntactically significant (?) places.
It does not happen when I use :x or ZZ. This started today.
I did not change anything about vim (expect just tab space).
Here’s an…
1t1e1
- 121
- 2
1
vote
1 answer
How can I investigate the execution of Vim?
I recently found that when running Vim in GNU Screen, I have to press Escape twice to get out of insert mode.
Beyond just googling or asking in forums, I would like to see the code behind Vim executing so I can try to see what is going on…
Julius Hamilton
- 269
- 1
- 9
1
vote
1 answer
How to debug 100% cpu - python subprocess
While I am working with nvim, I get occasion periods of 100% cpu stems mostly from the Python subprocess of nvim (some other times it is node). It happens when I do nothing in vim.
I tried to do profiling of vim functions, but nothing came…
eyal karni
- 1,106
- 9
- 33
0
votes
0 answers
How to tell Vim buffers to correctly follow the size of the terminal window?
It didn't behave like that in the past, but since a few months when a terminal window is resized, buffers are resized in a pretty weird manner.
The cursor can even locate itself outside of the displayed text.
It happens when the terminal is resized…
AVALFINN
- 1
0
votes
1 answer
The debugger stops at a breakpoint only once
I'm trying to debug eskk.vim. It has a asym_filter function. The function is invoked on each keypress when in a certain mode. The mode is entered by pressing C-j in Insert mode.
So, I set a breakpoint at the beginning (:breakadd here), enter Insert…
x-yuri
- 349
- 1
- 9