From a0aac0556b345387f837b3eefddf2816cf016ce9 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sat, 25 Apr 2015 14:39:30 +0100 Subject: Added airline, tmuxline, bufferline --- vimrc | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 0b3060d..6f4c527 100644 --- a/vimrc +++ b/vimrc @@ -1,5 +1,3 @@ -"" Required by Vundle - set nocompatible filetype off set rtp+=~/.vim/bundle/vundle/ @@ -27,6 +25,9 @@ Plugin 'tpope/vim-scriptease' Plugin 'tpope/vim-sensible' Plugin 'tpope/vim-surround' Plugin 'tpope/vim-unimpaired' +Plugin 'bling/vim-airline' +Plugin 'bling/vim-bufferline' +Plugin 'edkolev/tmuxline.vim' filetype plugin indent on syntax on @@ -80,7 +81,7 @@ let NERDTreeIgnore=['\.pdf$', '\~$','\.toc$', \ '\.out$', '\.log$','\.aux$','\.sty$', \ '\.fdb_latexmk$', '\.synctex.gz$','\.latexmain$'] -"" Options +"" Options " Tabs and indent set smartindent @@ -141,7 +142,7 @@ set clipboard=unnamedplus try | colorscheme solarized | catch | endtry " General -nnoremap te :tabedit +nnoremap te :tabedit nnoremap tn :tabnew nnoremap to :tabonly nnoremap w :w @@ -149,10 +150,11 @@ nnoremap q :q! nnoremap h :set hlsearch! nnoremap n :set relativenumber! nnoremap sp :set paste! -nnoremap sv :source ~/.vim/vimrc +nnoremap sv :source ~/.vimrc nnoremap sc :source % nnoremap es :UltiSnipsEdit nnoremap i mxgg=G'x +nnoremap sw :%s/\s\+$// nnoremap @@ -167,9 +169,11 @@ nnoremap 3 " Dvorak specific nnoremap : , +vnoremap : , nnoremap , : +vnoremap , : -"" Latex +"" Latex let g:tex_fast="" "" Autocommands @@ -182,3 +186,12 @@ augroup END if has('nvim') tmap jk endif + +let g:airline_section_x = '' +let g:airline_section_y = '' +let g:airline_theme='solarized' +let g:tmuxline_theme='airline' +let g:airline_right_sep='' +let g:airline_left_sep='' +let g:tmuxline_preset = {'a':'#H','b':'#S','win':'#W','cwin':'#W','x':'%R','y':'%a','z':'%Y'} +let g:tmuxline_separators = {'left':'','left_alt':'>','right':'','right_alt':'<','space':' '} -- cgit v1.2.3