add: some addons
This commit is contained in:
parent
8ad6e05404
commit
36ce0070b8
6
.gitmodules
vendored
6
.gitmodules
vendored
@ -4,3 +4,9 @@
|
||||
[submodule "bundle/vim-fugitive"]
|
||||
path = bundle/vim-fugitive
|
||||
url = https://github.com/tpope/vim-fugitive
|
||||
[submodule "bundle/vim-colors-solarized"]
|
||||
path = bundle/vim-colors-solarized
|
||||
url = git://github.com/altercation/vim-colors-solarized.git
|
||||
[submodule "bundle/tabular"]
|
||||
path = bundle/tabular
|
||||
url = https://github.com/godlygeek/tabular
|
||||
|
1
bundle/tabular
Submodule
1
bundle/tabular
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 00e1e7fcdbc6d753e0bc8043e0d2546fa81bf367
|
1
bundle/vim-colors-solarized
Submodule
1
bundle/vim-colors-solarized
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 528a59f26d12278698bb946f8fb82a63711eec21
|
11
vimrc
11
vimrc
@ -6,8 +6,15 @@ autocmd BufWritePre * %s/\s\+$//e " delete depre
|
||||
autocmd Filetype make setlocal noexpandtab " use tabs in make files instead whitespaces
|
||||
autocmd BufNewFile,BufRead rsnapshot.conf setlocal noexpandtab " use tabs in rsnapshot.conf files instead whitespaces
|
||||
|
||||
" Key values
|
||||
" Can do almost everything that set can do, plus more.
|
||||
" It can assign a value to
|
||||
let g:solarized_termcolors=256 " enable 256bit map for solarized colorschema
|
||||
|
||||
" Set options
|
||||
" Only works with options
|
||||
set autoindent " automatically indents text
|
||||
set background=dark
|
||||
set encoding=utf-8 " file encoding
|
||||
set expandtab
|
||||
set fileformat=unix " use unix fileformat (LCR)
|
||||
@ -24,7 +31,7 @@ set wildmenu
|
||||
set wildmode=longest,list,full " autocompleteion bash
|
||||
|
||||
" Other
|
||||
colorscheme elflord " colorschema
|
||||
colorscheme solarized " colorschema
|
||||
scriptencoding utf-8 " script encoding
|
||||
syntax on " enable syntaxhighlighting
|
||||
syntax enable " enable syntaxhighlighting
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user