From 79390715c5a6b69f809cb1fb5e267299a8ee291e Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 15 Apr 2015 14:41:26 +0100 Subject: Minor changes --- mutt/colormutt | 2 +- vim/vimrc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mutt/colormutt b/mutt/colormutt index d0e1225..8967158 100644 --- a/mutt/colormutt +++ b/mutt/colormutt @@ -3,7 +3,7 @@ h=`date +%H` if [ $h -lt 9 ]; then theme=dark -elif [ $h -lt 18 ]; then +elif [ $h -lt 21 ]; then theme=light else theme=dark diff --git a/vim/vimrc b/vim/vimrc index 2fbebf2..b2f0f3e 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -13,6 +13,7 @@ Plugin 'gregsexton/gitv' Plugin 'UltiSnips' Plugin 'kien/ctrlp.vim' Plugin 'tpope/vim-surround' +Plugin 'tpope/vim-obsession' Plugin 'scrooloose/nerdtree' Plugin 'tommcdo/vim-exchange' Plugin 'unimpaired.vim' @@ -146,7 +147,7 @@ set encoding=utf-8 "" Colorscheme function! UpdateColorscheme() try | colorscheme solarized | catch | endtry - if strftime("%H") >= 8 && strftime("%H") < 20 + if strftime("%H") >= 8 && strftime("%H") < 21 set background=light else set background=dark -- cgit v1.2.3 From 8ffa2b73ecfa9e3e05c1feaaeacd590b998ac471 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 15 Apr 2015 14:55:41 +0100 Subject: Added vim-sensible + adapted vimrc, + vim-scriptease for K help --- vim/vimrc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index b2f0f3e..e5b8f28 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -14,6 +14,8 @@ Plugin 'UltiSnips' Plugin 'kien/ctrlp.vim' Plugin 'tpope/vim-surround' Plugin 'tpope/vim-obsession' +Plugin 'tpope/vim-sensible' +Plugin 'tpope/vim-scriptease' Plugin 'scrooloose/nerdtree' Plugin 'tommcdo/vim-exchange' Plugin 'unimpaired.vim' @@ -83,12 +85,10 @@ let g:ctrlp_show_hidden = 1 " Tabs and indent set smartindent -set nosmarttab set expandtab set tabstop=4 set softtabstop=4 set shiftwidth=4 -set autoindent " Folds set foldcolumn=0 @@ -98,7 +98,6 @@ set foldlevel=0 " Search set hlsearch -set incsearch " Back up files set noswapfile @@ -108,8 +107,6 @@ set undodir=/home/urbain/.vim/vimundo/ " Layout window set nonumber -set ruler -set showcmd set listchars=tab:▸\ ,eol:¬,trail:- set fillchars=fold:\ ,vert:\ , set showbreak=... @@ -140,7 +137,6 @@ set ignorecase " General set noautochdir -set wildmenu set cpoptions+=I set encoding=utf-8 -- cgit v1.2.3 From d85c5ee10c953f05d624f3494438a1612b0f8e92 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 15 Apr 2015 14:56:03 +0100 Subject: Added cpp snippet file --- vim/mySnippets/cpp.snippets | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 vim/mySnippets/cpp.snippets diff --git a/vim/mySnippets/cpp.snippets b/vim/mySnippets/cpp.snippets new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3