←back to thread

131 points tomschafer | 1 comments | | HN request time: 0.202s | source
Show context
bloopernova ◴[] No.42148959[source]
A useful feature of bash and zsh is the "edit command". The standard shortcut is "ctrl-x ctrl-e".

It opens the current command line in $EDITOR, which often defaults to vim.

replies(3): >>42149026 #>>42149043 #>>42163452 #
1. indentit ◴[] No.42163452[source]
I tried this out, and nothing happened. Then I discovered that it has to be enabled first, for example by: https://unix.stackexchange.com/a/34251/152147 Thanks for sharing, learnt something new :)