bit101 on Nostr: Latest vim trick I learned... I knew that gd would go to definition of whatever ...
Latest vim trick I learned...
I knew that gd would go to definition of whatever identifier the cursor was on. I didn't know that gf will go to file if your cursor is on something that's a valid file path. In fact, if your cursor is on a url, it will load that url and display its contents in vim.
I mostly found this useful in navigating markdown links in vim, where said links go to another markdown page.
I knew that gd would go to definition of whatever identifier the cursor was on. I didn't know that gf will go to file if your cursor is on something that's a valid file path. In fact, if your cursor is on a url, it will load that url and display its contents in vim.
I mostly found this useful in navigating markdown links in vim, where said links go to another markdown page.