test for term and search subdirs

This commit is contained in:
2020-06-11 23:43:12 +02:00
parent f5721c7013
commit cb800b94c8

View File

@@ -1,4 +1,4 @@
if (&t_Co == 256 || &term == "xterm-256color" || &term == "screen-256color")
if ($TERM=~"xterm-256color" || $TERM=~"screen-256color")
call plug#begin('~/.vim/plugged')
Plug 'airblade/vim-gitgutter'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
@@ -48,6 +48,7 @@ set showbreak=↪\
set statusline=[%n]\ %<%f\ %h%w%m%r%=%{&fileencoding?&fileencoding:&encoding}[%{&fileformat}\]\ %y\ %l,%c%V\ %P
set textwidth=120
set wrapscan
set path+=**
let mapleader=" "
let maplocalleader=" "