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

`.inputrc` is your friend. I have `v` (in normal mode) configured to open the line in an editor, because muscle memory sometimes makes me try to enter visual mode when editing a command.


fc is an interesting related bash-builtin command. It will open $EDITOR and put the last command in it to edit.




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

Search: