Files
vim-ale/vim-shell/README.md
2023-02-26 05:57:14 +00:00

36 lines
851 B
Markdown

---
title: vim-shell
homepage: https://webinstall.dev/vim-shell
tagline: |
vim shell sets the default shell for vim
---
To update (replacing the current version) run `webi vim-shell`.
### Files
These are the files / directories that are created and/or modified with this
install:
```text
~/.vimrc
~/.vim/plugins/shell.vim
```
## Cheat Sheet
> `set shell=bash`, always
Especially if you use a non-bash-compatible shell, such as [fish](/fish), you
should set `set shell=bash` as the **first line** in your `~/.vimrc`.
This script does that for you.
### Why set bash as your vim shell?
Any vim plugin that uses shell scripting will assume _bash_ - just because
that's the way the world is.
Even if you have a mostly-bash-compatible shell, such as _zsh_, it's a good idea
to set the vim shell to bash, just to avoid any compatibility issues.