Skip to main content
9 events
when toggle format what by license comment
Mar 20, 2020 at 19:24 comment added Enlico I was wrong, using those events with the gdb window seems perfectly fine.
Mar 20, 2020 at 19:17 review Suggested edits
Mar 22, 2020 at 16:35
Mar 20, 2020 at 17:25 comment added D. Ben Knoble Ok! Remember Vi and Vim exists as well!
Mar 20, 2020 at 17:25 comment added Enlico Yes, but I kinda remember that the termdebug buffer has something special, as regards the events. If I have issues, I'll post a question on stack overflow.
Mar 20, 2020 at 17:17 comment added D. Ben Knoble There are some BufWinEnter style events you can look into for that
Mar 20, 2020 at 17:16 comment added Enlico Yes, I had to use 0/1 instead of v:false/v:true. However I am thinking about a usability contraddiction in my solution. Since I want to take advantage of rnu when navigating the files, and I want to deactivate it just when I'm in the !gdb window where I run the break command, it would make sense to set and unset rnu in all windows everytime move from/to the !gdb window.
Mar 20, 2020 at 17:13 vote accept Enlico
Mar 20, 2020 at 15:00 comment added Enlico Concerning nore* I have just absorbed the lesson "use non-recursive mappings by default, unless you need recursion and you really know what you are doing". That oneliner you suggested is great! I'll check and adjust if needed.
Mar 20, 2020 at 14:52 history answered D. Ben Knoble CC BY-SA 4.0