Updated: 2025-12-28 Sun 19:48

# emacs-stuff-evil

planted: 2025-04-20 last tended to: 2025-12-28

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/<searchstring>/<replacestring>/g

thats a more generic one

Backlinks

- emacsmoc