summary refs log tree commit diff
path: root/vimrc
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2018-02-25 14:06:55 -0800
committerFranck Cuny <franck.cuny@gmail.com>2018-02-25 14:06:55 -0800
commit110026ee18a03bfb02bc9bbd9a4feabac6867c20 (patch)
tree6748aae157cd673fc7f10b546512f92cec1f8bb7 /vimrc
parent[git] ignore pytest and reviewboard config (diff)
downloademacs.d-110026ee18a03bfb02bc9bbd9a4feabac6867c20.tar.gz
[vim] drop airline and set the status bar
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc22
1 files 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 <leader>c :nohlsearch<cr>     " clear search highlights
 " ctrl-backspace should delete words
 imap <C-bs> <C-w>
 
-" 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)