patstockwell / vim-monokai-tasty

VIM Colour scheme
391 stars 51 forks source link

Airline Theme issues with fugitive? #21

Closed ZeekDaGeek closed 5 years ago

ZeekDaGeek commented 5 years ago

For some reason whenever I open a file that uses fugitive my bottom bar displays weirdly:

image

I'm not exactly sure what causes it or how to fix it.

Using neovim and here's my current config.

"" ZeekDaGeek's .vimrc Configs
" Made for nvim, hopefully portable to standard vim.

"""" Load plugins
call plug#begin("~/.local/share/nvim/plugged")
" https://github.com/vim-airline/vim-airline
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
" https://github.com/Yavor-Ivanov/airline-monokai-subtle.vim
"Plug 'Yavor-Ivanov/airline-monokai-subtle.vim'
" https://github.com/patstockwell/vim-monokai-tasty
Plug 'patstockwell/vim-monokai-tasty'
" https://github.com/scrooloose/nerdtree
Plug 'scrooloose/nerdtree'
" https://github.com/gcmt/taboo.vim
Plug 'gcmt/taboo.vim'
" https://github.com/moll/vim-bbye
Plug 'moll/vim-bbye'
" https://github.com/tpope/vim-fugitive
Plug 'tpope/vim-fugitive'
call plug#end()

"""" General Config Flags

set number                          " show line numbers
set numberwidth=4                   " line numbers should be 4 wide
set wrap                            " wrap lines
set encoding=utf-8                  " set encoding to UTF-8 (default for nvim?)
set wildmenu                        " menu for tab completion of command menu
set showmatch                       " highlight matching backets
set laststatus=2                    " always show bottom bar with file
set ruler                           " display cursor position in bottom right
set belloff=all                     " disable all dings on errors

set tabstop=4                       " width of tabs
set expandtab                       " convert tabs to spaces
set shiftwidth=4                    " number of spaces to use for each step of (auto)indent
set softtabstop=4                   " backspace after pressting tab will remove up to this many spaces

set autoindent                      " auto indent in blocks of text

set incsearch                       " search as characters are entered
set hlsearch                        " highlights matches

scriptencoding utf-8
set encoding=utf-8

"""" Plugin Config Flags

" Airline
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#tab_nr_type = 1
let g:airline_powerline_fonts = 1
let g:airline_theme = "monokai_tasty"

let g:airline_mode_map = {
\   '__' : ' - ',
\   'n'  : ' N ',
\   'i'  : ' I ',
\   'R'  : ' R ',
\   'c'  : ' C ',
\   'v'  : ' V ',
\   'V'  : 'V-L',
\   '^V' : 'V-B',
\   's'  : ' S ',
\   'S'  : 'S-L',
\   '^S' : 'S-B',
\ }

"""" Key bindings

" Word wrap is on, j and k should not skip past wrapped lines.
nmap j gj
nmap k gk

" Clear search when pressing enter in normal mode.
nnoremap <CR> :nohlsearch<CR><CR>

" Navigate Panels
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-H> <C-W><C-H>
nnoremap <C-L> <C-W><C-L>

"""" Appearance

" colorscheme monokai_nobg
colorscheme vim-monokai-tasty

syntax enable

"""" Borrowed configs from:

"" In order borrowed from
" https://chrisyeh96.github.io/2017/12/18/vimrc.html

I did try disabling short mode names and still had the same issues.

ZeekDaGeek commented 5 years ago

I miss identified the issue being with the theme when it appears to be related to ConEmu instead.