summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mutt/colormutt2
-rw-r--r--vim/mySnippets/cpp.snippets0
-rw-r--r--vim/vimrc11
3 files changed, 5 insertions, 8 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/mySnippets/cpp.snippets b/vim/mySnippets/cpp.snippets
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/vim/mySnippets/cpp.snippets
diff --git a/vim/vimrc b/vim/vimrc
index 345ad1a..12aacc7 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -13,6 +13,9 @@ Plugin 'gregsexton/gitv'
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'
@@ -82,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
@@ -97,7 +98,6 @@ set foldlevel=0
" Search
set hlsearch
-set incsearch
" Back up files
set noswapfile
@@ -107,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=\ \ \ \ \ \ ...
@@ -139,14 +137,13 @@ set ignorecase
" General
set noautochdir
-set wildmenu
set cpoptions+=I
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