Skip to content

Commit

Permalink
Merge pull request #156 from CyrusYip/patch-12
Browse files Browse the repository at this point in the history
ch22: add `vim --clean`
  • Loading branch information
iggredible authored Aug 30, 2022
2 parents 73cf977 + 8cbb60f commit e67ccf8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ch22_vimrc.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,12 @@ If you need to run Vim with a *different* vimrc, say `~/.vimrc-backup`, run:
vim -u ~/.vimrc-backup
```

If you need to run Vim with only `defaults.vim` and without plugins, which is helpful to fix broken vimrc, run:

```
vim --clean
```

## Configure Vimrc the Smart Way

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 comments on commit e67ccf8

Please sign in to comment.