Click-to-Open in Neovim with Kitty
blog.duvallj.pw·8w·
Discuss: Hacker News
Preview
Report Post

Recently, I saw my coworker using VSCode, and they had this amazing feature where they could:

  • Run ripgrep in the command pane
  • Click on a filename it outputted
  • To immediately open it in a new tab in the editor pane

This, to me, was magical. However, I thought it out-of-reach for a lowly terminal user like myself, until I saw what jyn was able to do with their terminal. This inspired me to create my own customized setup, which I shall now explain in excruciating detail.

The Basics

The Shell

In order to actually have anything clickable, we’ll first need to set up our command line tools to output Terminal Hyperlinks that point to the full path of the filename dis…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help