vim:config:using_vim_with_no_plugins
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
vim:config:using_vim_with_no_plugins [2022/10/18 09:45] – created peter | vim:config:using_vim_with_no_plugins [2022/10/18 10:10] (current) – peter | ||
---|---|---|---|
Line 2: | Line 2: | ||
< | < | ||
- | set nocompatible number cursorline expandtab hlsearch visualbell tabstop=2 shiftwidth=2 syntax on | + | set nocompatible number cursorline expandtab hlsearch visualbell tabstop=2 shiftwidth=2 |
+ | syntax on | ||
</ | </ | ||
Line 19: | Line 20: | ||
* **syntax on**: Enable basic syntax highlighting. | * **syntax on**: Enable basic syntax highlighting. | ||
- | To try out this basic configuration use the **-u** flag. | + | To try out this basic configuration use the **-u** flag. For example: |
- | * For example, you can start Vim with no configuration <code bash>vim -u NONE</ | + | * Start Vim with no configuration, and then manually apply the configuration as shown above: |
- | * Or put the config into a separate file and start Vim with that configuration instead of your normal one <code bash>vim -u ~/ | + | * Or put the config into a separate file and start Vim with that configuration instead of your normal one <code bash>vim -u ~/ |
</ | </ |
vim/config/using_vim_with_no_plugins.1666086357.txt.gz · Last modified: 2022/10/18 09:45 by peter