Files
org_roam/Emacs/20250420012258-emacs_stuff_evil.org
2026-04-19 23:11:00 +01:00

1000 B

Emacs Evil Mode

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/<search_string>/<replace_string>/g

thats a more generic one