:PROPERTIES: :ID: 45CC3AF5-5E20-4B03-A36C-8D4BDD5CBB13 :END: #+title: emacs-stuff-evil #+filetags: :emacs:guide: C-u Cc . - timestamp * Keybindings for moving: ** Search To search use Then if you want to get the hits, hit enter, then you can use 'n' for next and 'N' for previous hits. ** moving - To move forward use 'e' and 'E' - To move forward use 'b' and 'B' (for beginning and end) you can also use '{' and '}' for paragraph movement - To move to the next line use: 'j' - To move to the previous line use: 'k' ** replacement that is a sample text - Use 'r' To replace a single letter - Use 'R' To enter replace mode and use ESC to exit it To do a replace all: - :%s//replacement/g thats if the '/' has stored the last search, the /g is for all. if you dont use it, itll just replace the first one in each line. you can also use /gc which will prompt for confirmation. - :'<,'>s//bar/g thats if you are in visual mode - :s///g thats a more generic one