refactor: finish moving ssh-* scripts to own installers
[webi-installers/.git] / vim-shell / README.md
1 ---
2 title: vim-shell
3 homepage: https://webinstall.dev/vim-spell
4 tagline: |
5   vim shell sets the default shell for vim
6 ---
7
8 To update (replacing the current version) run `webi vim-shell`.
9
10 ## Cheat Sheet
11
12 > `set shell=bash`, always
13
14 Especially if you use a non-bash-compatible shell, such as [fish](/fish), you
15 should set `set shell=bash` as the **first line** in your `~/.vimrc`.
16
17 This script does that for you.
18
19 ### Why set bash as your vim shell?
20
21 Any vim plugin that uses shell scripting will assume _bash_ - just because
22 that's the way the world is.
23
24 Even if you have a mostly-bash-compatible shell, such as _zsh_, it's a good idea
25 to set the vim shell to bash, just to avoid any compatibility issues.