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

I learned recently that in any terminal you can option click to move the cursor to a specific location in a command. It’s really great when you want to reuse a command but with a small change.


In zsh you can C-x, C-e and it will open whatever is on the command line in $EDITOR.

When you save it the changes will be on the command line.


This is my top discovery this year, been using it for a few months now.




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

Search: