lzf7ig
Last Updated: February 25, 2016
·
6.174K
· dmedvinsky
Cd02928b9714479b681d1d24bb6360d7

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.

Say Thanks
Respond

4 Responses
Add your response

4196

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 ·
15523
Snoopy

Vim supports Fish since 7.4-276

over 1 year ago ·
16468
4dfb7c64c74417c5c1339af8b3e37f1c

@gpakosz Whaaaaat?!?! I have to remove that dreaded line from my vimrc and try that out!

over 1 year ago ·
17408
4dfb7c64c74417c5c1339af8b3e37f1c

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 ·
Filed Under