mirror of
https://github.com/lloeki/vimfiles.git
synced 2025-12-06 05:24:39 +01:00
slimming vimrc by integrating vim-sensible
This commit is contained in:
parent
ae2661a708
commit
62e0f9989d
2 changed files with 3 additions and 17 deletions
|
|
@ -8,6 +8,8 @@ call vundle#rc()
|
||||||
|
|
||||||
Bundle 'gmarik/vundle'
|
Bundle 'gmarik/vundle'
|
||||||
|
|
||||||
|
Bundle 'tpope/vim-sensible'
|
||||||
|
|
||||||
Bundle 'altercation/vim-colors-solarized'
|
Bundle 'altercation/vim-colors-solarized'
|
||||||
"Bundle 'Lokaltog/vim-distinguished'
|
"Bundle 'Lokaltog/vim-distinguished'
|
||||||
Bundle 'jnurmine/Zenburn'
|
Bundle 'jnurmine/Zenburn'
|
||||||
|
|
|
||||||
18
vimrc
18
vimrc
|
|
@ -13,14 +13,6 @@ let g:secure_modelines_verbose=1
|
||||||
" prevent .netrwhist creation
|
" prevent .netrwhist creation
|
||||||
let g:netrw_dirhistmax = 0
|
let g:netrw_dirhistmax = 0
|
||||||
|
|
||||||
"make sure backspace behaves
|
|
||||||
set backspace=indent,eol,start
|
|
||||||
|
|
||||||
"shorten esc timeout
|
|
||||||
set timeout
|
|
||||||
set timeoutlen=1000
|
|
||||||
set ttimeoutlen=50
|
|
||||||
|
|
||||||
"airline
|
"airline
|
||||||
let g:airline_theme='raven'
|
let g:airline_theme='raven'
|
||||||
if !exists('g:airline_symbols')
|
if !exists('g:airline_symbols')
|
||||||
|
|
@ -51,15 +43,9 @@ set wildignore+=.git,.svn
|
||||||
set wildignore+=env,venv*
|
set wildignore+=env,venv*
|
||||||
|
|
||||||
"display more info
|
"display more info
|
||||||
set showmode "display current mode at the bottom
|
|
||||||
set showcmd "display command info at the bottom
|
|
||||||
set ruler "display coordinates and relative position at the bottom
|
|
||||||
set number "show line numbers in left margin
|
set number "show line numbers in left margin
|
||||||
set laststatus=2
|
|
||||||
|
|
||||||
|
|
||||||
" search tweaks
|
" search tweaks
|
||||||
set incsearch
|
|
||||||
set ignorecase "ignore case when searching
|
set ignorecase "ignore case when searching
|
||||||
set smartcase "... but be nice when actually typing caps
|
set smartcase "... but be nice when actually typing caps
|
||||||
|
|
||||||
|
|
@ -69,13 +55,11 @@ set shiftround "round indent to next offset
|
||||||
set tabstop=4 "size of tab character
|
set tabstop=4 "size of tab character
|
||||||
set expandtab "insert spaces instead of tab
|
set expandtab "insert spaces instead of tab
|
||||||
set softtabstop=4 "... and that much spaces are inserted
|
set softtabstop=4 "... and that much spaces are inserted
|
||||||
set smarttab "tab insertion actually indents on line start
|
|
||||||
set autoindent "new line copies indent from above
|
|
||||||
|
|
||||||
"feedback
|
"feedback
|
||||||
"set cursorline "highlight current line
|
"set cursorline "highlight current line
|
||||||
set showmatch "highlight both matching parentheses
|
set showmatch "highlight both matching parentheses
|
||||||
set listchars=eol:¬,tab:→\ ,nbsp:•,trail:·
|
set listchars=eol:¬,tab:→\ ,nbsp:•,trail:·,extends:>,precedes:<
|
||||||
set list
|
set list
|
||||||
|
|
||||||
"OS clipboard integration
|
"OS clipboard integration
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue