mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-05-06 00:36:35 +00:00
add vim-shell
This commit is contained in:
25
vim-shell/README.md
Normal file
25
vim-shell/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
title: vim-shell
|
||||
homepage: https://webinstall.dev/vim-spell
|
||||
tagline: |
|
||||
vim shell sets the default shell for vim
|
||||
---
|
||||
|
||||
To update (replacing the current version) run `webi vim-shell`.
|
||||
|
||||
## 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.
|
||||
Reference in New Issue
Block a user