Using Vim with fish shell
Switched to fish as your login shell? Can't use Vim afterwards? Getting weird error messages when running Vim?
Add this line to your .vimrc
:
set shell=/bin/bash
And you're good to go.
Written by Dmitry Medvinsky
Related protips
4 Responses
Wooooo thank a LOT !
any ways, i think this is a quite better:
if $SHELL =~ 'bin/fish'
set shell=/bin/sh
endif
over 1 year ago
·
Vim supports Fish since 7.4-276
over 1 year ago
·
@gpakosz Whaaaaat?!?! I have to remove that dreaded line from my vimrc
and try that out!
over 1 year ago
·
I should probably compile my own Vim. I was awaiting Ubuntu 14.10 to see if it would be in there, but this is what I see:
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 20 2014 16:09:34)
Included patches: 1-273
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Fish
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#