backups + colorsheme
This commit is contained in:
parent
666e41a829
commit
88a692a8e5
1 changed files with 10 additions and 3 deletions
13
vim/.vimrc
13
vim/.vimrc
|
@ -1,5 +1,4 @@
|
||||||
set nocompatible
|
set nocompatible
|
||||||
|
|
||||||
filetype off
|
filetype off
|
||||||
|
|
||||||
" --- init vundle
|
" --- init vundle
|
||||||
|
@ -49,7 +48,6 @@ set t_vb=
|
||||||
set tm=500
|
set tm=500
|
||||||
set encoding=utf8 "Always use utf8
|
set encoding=utf8 "Always use utf8
|
||||||
set ffs=unix,dos,mac
|
set ffs=unix,dos,mac
|
||||||
set nobackup "Don't need a backup, I live on the edge
|
|
||||||
set nowb
|
set nowb
|
||||||
set noswapfile
|
set noswapfile
|
||||||
set expandtab "Tabbing
|
set expandtab "Tabbing
|
||||||
|
@ -65,8 +63,17 @@ set t_Co=256
|
||||||
set hidden
|
set hidden
|
||||||
set switchbuf=vsplit
|
set switchbuf=vsplit
|
||||||
|
|
||||||
|
" Backups in different folder
|
||||||
|
set backup
|
||||||
|
set writebackup
|
||||||
|
set backupdir=~/.vim/backup//
|
||||||
|
set directory=~/.vim/backup//
|
||||||
|
|
||||||
|
" Abbreviations
|
||||||
|
iab __DATE__ <C-R>=strftime("%A, %d. %B %Y %H:%M")<CR>
|
||||||
|
|
||||||
syntax enable
|
syntax enable
|
||||||
colorscheme desert
|
colorscheme madtheme
|
||||||
" Autoload when saving vimrc
|
" Autoload when saving vimrc
|
||||||
au! BufWritePost .vimrc source ~/.vimrc
|
au! BufWritePost .vimrc source ~/.vimrc
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue