Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

See https://st.suckless.org/patches/right_click_to_plumb/

The setup requires:

- a terminal that is aware of its shell current working directory (OSC7) (I use st or tmux and zsh)

- a terminal that would call a plumbing command with the current selection on a mouse right click (I use st or tmux)

- a plumbing command that would call the appropriate action given the selection string passed in (I use a script and plan9 plumber)

- an editor that supports being called from the plumbing script (I use acme or vim remote with vim-fetch plugin)

- an eventual tiling wm or tmux for window management

My dotfiles aren't public but I guess I could try and package them if you're interested. PM me at the email on the suckless page.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: