mirror of
https://github.com/tpope/vim-sensible.git
synced 2025-11-09 11:33:47 -05:00
Move fish 'shell' override down with other reparative behaviors
This commit is contained in:
@@ -62,10 +62,6 @@ if has('path_extra')
|
|||||||
setglobal tags-=./tags tags-=./tags; tags^=./tags;
|
setglobal tags-=./tags tags-=./tags; tags^=./tags;
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if &shell =~# 'fish$' && (v:version < 704 || v:version == 704 && !has('patch276'))
|
|
||||||
set shell=/usr/bin/env\ bash
|
|
||||||
endif
|
|
||||||
|
|
||||||
set autoread
|
set autoread
|
||||||
|
|
||||||
if &history < 1000
|
if &history < 1000
|
||||||
@@ -85,6 +81,11 @@ if &t_Co == 8 && $TERM !~# '^Eterm'
|
|||||||
set t_Co=16
|
set t_Co=16
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" If the running Vim lacks support for the Fish shell, use Bash instead.
|
||||||
|
if &shell =~# 'fish$' && (v:version < 704 || v:version == 704 && !has('patch276'))
|
||||||
|
set shell=/usr/bin/env\ bash
|
||||||
|
endif
|
||||||
|
|
||||||
" Disable a legacy behavior that can break plugin maps.
|
" Disable a legacy behavior that can break plugin maps.
|
||||||
if has('langmap') && exists('+langremap') && &langremap
|
if has('langmap') && exists('+langremap') && &langremap
|
||||||
set nolangremap
|
set nolangremap
|
||||||
|
|||||||
Reference in New Issue
Block a user