From dfe1efe982999312aba825c98918cdd205870cd2 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 27 Jan 2019 20:05:18 +0100 Subject: some updates --- vim/vimrc | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) (limited to 'vim/vimrc') diff --git a/vim/vimrc b/vim/vimrc index d716a0e..63dc82d 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -1,11 +1,13 @@ """"""""""""""""""""""""""""""""""""" " Miguel's .vimrc " " Author: Michal Idziorek " -" Last Update: 2018-05-29 " +" Last Update: 2018-OCT-17 " """"""""""""""""""""""""""""""""""""" " {{{ TODO / NOTES " +" NEW: https://github.com/vim-airline/vim-airline +" " http://www.alexeyshmalko.com/2014/using-vim-as-c-cpp-ide/ " set exrc " set secure @@ -88,6 +90,7 @@ " {{{ Vundle - Plugin Manager " " Vundle plugin manager (Replaces pathogen)" + " https://github.com/VundleVim/Vundle.vim set nocompatible filetype off @@ -104,12 +107,15 @@ Plugin 'gmarik/Vundle.vim' " github plugins " Plugin 'Valloric/YouCompleteMe' -Plugin 'fholgado/minibufexpl.vim' + Plugin 'scrooloose/nerdtree' +Plugin 'altercation/vim-colors-solarized' + +Plugin 'fholgado/minibufexpl.vim' Plugin 'majutsushi/tagbar' Plugin 'tpope/vim-fugitive' Plugin 'tpope/vim-sensible' -Plugin 'vim-scripts/Conque-GDB' +"""Plugin 'vim-scripts/Conque-GDB' " My own plugins on github " Plugin 'git://ex40.softwarefools.com/vim-potion.git' @@ -167,6 +173,7 @@ filetype plugin indent on " misc! " {{{ +set expandtab let g:potion_command = "/home/miguel/int/dev/potion/bin/potion" set nocompatible @@ -214,9 +221,10 @@ set statusline+=%= " Switch to the right side set statusline+=%l " Current line set statusline+=/ " Separator set statusline+=%L " Total lines -set statusline+=, " comma +set statusline+=, " comma set statusline+=%c " Column set statusline+=\ (%P) " Percentage +set statusline& " reset? " }}} " terminal width / colorcolumn @@ -254,8 +262,18 @@ set foldlevelstart=0 " colorscheme / syntax highlight " {{{ "colorscheme olgas -colorscheme desert +"colorscheme miguels syntax enable + +if has('gui_running') + set background=light +else + set background=dark +endif + + set background=dark + +colorscheme solarized syntax sync fromstart " }}} @@ -299,8 +317,9 @@ inoremap jk " display help in new tab on map :tab help -map :silent make \| copen \| redraw! -map :silent make \| redraw! +"map :silent make \| copen \| redraw! +"map :silent make \| redraw! +map :make " retab map rt :retab! @@ -416,7 +435,8 @@ augroup filetype_haskell autocmd! autocmd FileType haskell setlocal foldmethod=marker " autocmd Filetype haskell map :w:term cabal -- exec runghc % - autocmd Filetype haskell map :w:term make +" autocmd Filetype haskell map :w:term make + " autocmd Filetype haskell map :w:term make autocmd FileType haskell setlocal expandtab augroup END " }}} -- cgit v1.2.3