You might like
Type C-u to discard the current input line in Bash or Zsh, i.e., type ctrl + u to kill the current line. See "unix-line-discard" in "man bash" or "kill-whole-line" in "man zshzle" for details. By the way, Emacs-style key sequence C-a C-k works too. #unix #linux #shell #emacs
Do you use Paredit but find its default key bindings for slurp/barf hard to recall? I have a mnemonic: slurp has p, p for paren, so slurp forward with C-). b for barf, b for brace, so barf forward with C-}. Also, see this #emacs chat for a more visual mnemonic that I often use.
Type M-b to move backward by one word and M-f to move forward by one word. Note: M- represents the Meta modifier key. On modern keyboards, M-b can be typed in two ways: Alt+b or Esc b. Similarly, M-f is Alt+f or Esc f. The Alt way is faster to use in most cases. #emacs
Type C-a to move to the beginning of a line and C-e to move to the end of a line. Bonus: The same key bindings work on Bash and Zsh too. #emacs #bash #zsh
Emacs keys for absolute beginners: Edit file: C-x C-f hello.txt RET (Note: C-x denotes ctrl+x. RET denotes the enter key.) Move up, down, left, or right: C-p, C-n, C-b, C-f Move to beginning or end of line: C-a, C-e Save file: C-x C-s Quit Emacs: C-x C-c #emacs #tips
Press C-f to move forward one character and C-b to move backward one character.
Press the key sequence C-x C-f to edit a file in Emacs. Here is how a complete key sequence looks like: C-x C-f hello.txt RET Remember in the Emacs world (and elsewhere too), the notation C- denotes the ctrl key. Thus C-x denotes ctrl + x. #emacs #unix #linux #programming
United States Trends
- 1. #LingOrm1st_ImpactFANCON 630K posts
- 2. Talus Labs 24.9K posts
- 3. #BUNCHITA 1,506 posts
- 4. #KirbyAirRiders 1,964 posts
- 5. Frankenstein 83.3K posts
- 6. Giulia 15.8K posts
- 7. taylor york 9,093 posts
- 8. #SmackDown 48.7K posts
- 9. #River 4,907 posts
- 10. Tulane 4,499 posts
- 11. Ketanji Brown Jackson 4,861 posts
- 12. Justice Jackson 6,228 posts
- 13. Pluribus 31.4K posts
- 14. Aaron Gordon 5,332 posts
- 15. Russ 14.5K posts
- 16. Tatis 2,270 posts
- 17. Connor Bedard 3,264 posts
- 18. Guillermo del Toro 26.2K posts
- 19. Supreme Court 182K posts
- 20. Westbrook 7,100 posts
Something went wrong.
Something went wrong.