Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
rboman committed Jan 31, 2024
1 parent 38f0fb9 commit e91cb10
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions docs/vim_memo.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,17 @@ Quelques plugins:

### NORMAL MODE: undo, delete

| commande | effet |
| ------------- | ------------------------------------------- |
| `u` | undo |
| `<Ctrl>r` | redo |
| `d[+mouvt]` | delete (contenu dans le presse-papier) |
| `dd` | delete curent line |
| `dw` | [del-word] delete current word from cursor to the beg of next word |
| `de` | |
| `d$` | delete until the end of line (content can be pasted with `y`) |
| `5dd` | delete 5 lignes |
| `D` | = d$ |
| commande | effet |
| ----------- | ------------------------------------------------------------ |
| `u` | undo |
| `<Ctrl>r` | redo |
| `d[+mouvt]` | delete (contenu dans le presse-papier) |
| `dd` | delete curent line |
| `dw` | [del-word] delete current word from cursor to the beg of next word |
| `de` | |
| `d$` | delete until the end of line (content can be pasted with `y`) |
| `5dd` | delete 5 lignes |
| `D` | = d$ |

### NORMAL MODE: copy (yank) / paste (put)

Expand All @@ -115,14 +115,14 @@ Quelques plugins:
| `p` | "put" after the cursor |
| `P` | "put" before the cursor |

### SEARCH / SERACH-REPLACE
### SEARCH / SEARCH-REPLACE

| commande | effet |
| ------------- | ------------------------------------------- |
| `/text` | search downwards '`text`' |
| `?text` | search upwards `text`, then use `n` or `N` to navigate forwards/backwards |
| `:%s/text1/text2/g` | remplace `text1` par `text2` |
| `:%s/text1/text2/gc` | idem mais demande confirmation |
| commande | effet |
| -------------------- | ------------------------------------------------------------ |
| `/text` | search downwards '`text`' |
| `?text` | search upwards `text`, then use `n` or `N` to navigate forwards/backwards |
| `:%s/text1/text2/g` | remplace `text1` par `text2` |
| `:%s/text1/text2/gc` | idem mais demande confirmation |


### INSERT MODE
Expand Down

0 comments on commit e91cb10

Please sign in to comment.