From 23fbe45cfc2c130451495b2ed149d6e8cba523f5 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Fri, 17 Jun 2022 15:22:57 +0200 Subject: [PATCH] pimp vimrc --- files/vim/.vimrc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/files/vim/.vimrc b/files/vim/.vimrc index 107d4c6..fe0fa7e 100644 --- a/files/vim/.vimrc +++ b/files/vim/.vimrc @@ -17,6 +17,9 @@ Plug 'altercation/vim-colors-solarized' " color scheme Plug 'tpope/vim-sleuth' " heuristic file indendation Plug 'jiangmiao/auto-pairs' " pair completion Plug 'ctrlpvim/ctrlp.vim' " file finder +Plug 'vim-airline/vim-airline' " a nicer status line +Plug 'vim-airline/vim-airline-themes' " auto settings theme for airline +Plug 'djoshea/vim-autoread' " auto reload file, when changed on disk call plug#end() " ============================== Colors @@ -47,8 +50,9 @@ set wildmenu " autocomplete :e set scrolloff=5 " minimum lines above or below the cursor " ============================== Statusline -set laststatus=1 " dont show statusline -set showtabline=1 " dont show tabline +set laststatus=1 " 1: only if there are at least two windows +set showtabline=1 " 1: only if there are at least two tab pages +let g:airline_powerline_fonts = 1 " ============================== Indents and Whitespaces set list @@ -77,4 +81,6 @@ let g:netrw_liststyle = 3 " Tree-like structure let g:netrw_banner = 0 " Remove useless banner at the top of netrw " ============================== Macros and Mappings +" hello map e :CtrlP +