Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lottin
on April 13, 2020
|
parent
|
context
|
favorite
| on:
Renaming files with mv without typing the name two...
You can accomplish the same with basic editing commands, e.g.
mv <filename> C-M-b C-k C-y C-y
It may seem overly complicated but notice that you don't have to release the control key, so it's actually very few key strokes.
outworlder
on April 13, 2020
[–]
You can also do control+x control+e to send the command line to your editor(whatever $EDITOR points to).
RMPR
on April 14, 2020
|
parent
[–]
On short commands, it tends to be slow in comparison of using GNU Readline directly
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: