Skip to content

Instantly share code, notes, and snippets.

@aiafrasinei
Created February 5, 2019 15:59
Show Gist options
  • Save aiafrasinei/918725f9028bb8a102801397307e8b76 to your computer and use it in GitHub Desktop.
Save aiafrasinei/918725f9028bb8a102801397307e8b76 to your computer and use it in GitHub Desktop.
emacs simple usage
C-x C-f - find file
C-x C-s - save
C-x C-w - save as
C-x C-c - exit
Navigation
M-f M-b - forward/backword 1 word
C-n C-p - next line , prev line
C-a C-e - begining of line , end of line
•Beginning of file: M-<
•End of file: M->
C-v - move next page
M-v - move previous page
C-x C-b - buffers list
k set buffer to kill
x execute
C-M-a C-M-e - begining-of-defun end-of-defun
C-s - search
C-r - search backward
Window
C-x 0
Get rid of the selected window (delete-window). That is a zero.
C-x o next window
C-x 2 - split horizontally
C-x 3 - split vertically
Bookmarks
C-x r l list bookmarks
C-x r m make bookmark
C-x u Undo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment