diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 22 |
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) |