Re-organised configuration files
This commit is contained in:
parent
2d7eff306a
commit
34f84c9155
13 changed files with 54 additions and 40 deletions
16
cfg/01-colours.vim
Normal file
16
cfg/01-colours.vim
Normal file
|
@ -0,0 +1,16 @@
|
|||
colorscheme default
|
||||
set background=dark
|
||||
|
||||
if &t_Co == 256
|
||||
hi String cterm=NONE ctermfg=LightGreen
|
||||
hi Constant cterm=bold ctermfg=Green
|
||||
hi Comment cterm=NONE ctermfg=LightMagenta
|
||||
hi Statement cterm=bold ctermfg=yellow
|
||||
hi Identifier cterm=NONE ctermfg=lightblue
|
||||
hi CursorLine cterm=NONE ctermbg=234
|
||||
hi CursorColumn cterm=NONE ctermbg=233
|
||||
hi ColorColumn ctermbg=52
|
||||
hi LineNr ctermfg=58
|
||||
hi CursorLineNr ctermfg=130
|
||||
hi Search ctermfg=15 ctermbg=53
|
||||
endif
|
2
cfg/02-edit-options.vim
Normal file
2
cfg/02-edit-options.vim
Normal file
|
@ -0,0 +1,2 @@
|
|||
set autoindent " Basic automatic indentation
|
||||
set formatoptions+=j " Merge comments when joining lines
|
9
cfg/02-ui-options.vim
Normal file
9
cfg/02-ui-options.vim
Normal file
|
@ -0,0 +1,9 @@
|
|||
set lazyredraw " Postpone redrawing in some cases
|
||||
set showcmd " Show currently typed keys at the bottom
|
||||
set showmatch " Show matching parentheses
|
||||
set incsearch " Incremental search
|
||||
set title " Update terminal title
|
||||
set wildmenu " Enhanced command completion, with menu!
|
||||
|
||||
let mapleader = ' ' " Space as leader character
|
||||
let maplocalleader = ',' " Comma as local leader character
|
9
cfg/03-wildignore.vim
Normal file
9
cfg/03-wildignore.vim
Normal file
|
@ -0,0 +1,9 @@
|
|||
set wildignore="" " Clear it
|
||||
set wildignore+=.git,.svn " Version control
|
||||
set wildignore+=*.o,*.lo,*.obj " Object files
|
||||
set wildignore+=*.so,*.so.*,*.a,*.la " Compiled libraries
|
||||
set wildignore+=*.dll,*.exe " Windows libraries and executables
|
||||
set wildignore+=.*.d,.deps " Dependency files
|
||||
set wildignore+=.*.sw?,*~,*.bak " Various temporary files
|
||||
set wildignore+=*.class " Compiled Java classes
|
||||
set wildignore+=*.pyc " Python byte code
|
7
cfg/20-install-bundles.vim
Normal file
7
cfg/20-install-bundles.vim
Normal file
|
@ -0,0 +1,7 @@
|
|||
" Force NeoBundle to check the loaded plugins and install them
|
||||
|
||||
call DoNeoBundleCheck( )
|
||||
|
||||
" Do mappings somewhere else
|
||||
" nmap <silent> <S-F12> :NeoBundleCheckUpdate<cr>
|
||||
" nmap <silent> <C-F12> :call DoNeoBundleCheck()<cr>
|
Loading…
Add table
Add a link
Reference in a new issue