From 110026ee18a03bfb02bc9bbd9a4feabac6867c20 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 25 Feb 2018 14:06:55 -0800 Subject: [vim] drop airline and set the status bar --- vimrc | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/vimrc b/vimrc index f44a447..f030894 100644 --- a/vimrc +++ b/vimrc @@ -1,6 +1,7 @@ +set encoding=utf-8 " default is latin1 + call plug#begin('~/.vim/plugged') -Plug 'bling/vim-airline' Plug 'ctrlpvim/ctrlp.vim' " CtrlP is installed to support tag finding in vim-go Plug 'neomake/neomake' Plug 'tpope/vim-fugitive' @@ -51,19 +52,9 @@ map c :nohlsearch " clear search highlights " ctrl-backspace should delete words imap -" Plugin: bling/vim-airline -" Show status bar by default. -set laststatus=2 - -" Enable top tabline. -" let g:airline#extensions#tabline#enabled = 1 - -" Disable showing tabs in the tabline. This will ensure that the buffers are -" what is shown in the tabline at all times. -" let g:airline#extensions#tabline#show_tabs = 0 - -" Enable powerline fonts. -let g:airline_powerline_fonts = 0 +" Plugin: ctrlp +let g:ctrlp_working_path_mode = 'c' +let g:ctrlp_by_filename = 1 " Plugin: plasticboy/vim-markdown " Disable folding @@ -80,3 +71,6 @@ let g:neomake_message_sign = {'text': '➤', 'texthl': 'NeomakeMessageSign'} let g:neomake_info_sign = {'text': 'ℹ', 'texthl': 'NeomakeInfoSign'} syntax off " let's make sure the syntax is off + +let &statusline = '[%n] %<%F %m%r%w%y %= (%l,%c) %P of %L' +set laststatus=2 " every window gets a statusline, always(=2) -- cgit 1.4.1