logoalt Hacker News

tecoholicyesterday at 9:33 PM1 replyview on HN

Depends on what you are doing. When it’s a large codebase, trying to debug or understand a implementation, hitting * to cycle through the occurrences in a file, “gd” to jump to the function definition, Ctrl+o to go to previous position are crucial.


Replies

shmerlyesterday at 11:33 PM

I sure use Ctrl-O, Ctrl-I, * and N / Shift-N etc.

Though for definitions I rely on LSP and Ctrl-] most of the time. Never really used gd.