Skip to content

Commit e67ccf8

Browse files
authored
Merge pull request #156 from CyrusYip/patch-12
ch22: add `vim --clean`
2 parents 73cf977 + 8cbb60f commit e67ccf8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ch22_vimrc.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,12 @@ If you need to run Vim with a *different* vimrc, say `~/.vimrc-backup`, run:
397397
vim -u ~/.vimrc-backup
398398
```
399399

400+
If you need to run Vim with only `defaults.vim` and without plugins, which is helpful to fix broken vimrc, run:
401+
402+
```
403+
vim --clean
404+
```
405+
400406
## Configure Vimrc the Smart Way
401407

402408
Vimrc is an important component of Vim customization. A good way to start building your vimrc is by reading other people's vimrcs and gradually build it over time. The best vimrc is not the one that developer X uses, but the one that is tailored exactly to fit your thinking framework and editing style.

0 commit comments

Comments
 (0)