74
Advanced Terminal Tips and Tricks
(www.bitsand.cloud)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
Alt-deletedeletes the whole word before cursorAlt-ddeletes the whole word after cursorCtrl-kdeletes (kill) everything after the cursorWhatever is deleted is stored in the "killring" and can be pasted(yanked) back with
Ctrl-y(like someone else already mentioned), consecutive uses ofAlt-delete/Alt-dadd to the killring.Alt-b/Alt-fmoves one word backwards / forwardsAlt-tswaps (translocates) the current word with the previous oneCtrl-_undo last edit operationAll those bindings are the same as in emacs.
Also, normally
Ctrl-dinserts the end-of-file character, and typically can be used to close an active shell session or when you have some other interpreter open in the terminal for interactive input.