diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-17 11:03:14 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-17 11:03:14 +0200 |
commit | 0ebbe317287f9890d261caf11690218a5943607b (patch) | |
tree | 2e1f4fc6d3e30fc88c14807766695c813d4d98c3 | |
parent | ea33a7f740f50ad9620daca41ca1edecdec776c8 (diff) |
vimrc: Better searching and indenting
-rw-r--r-- | etc/vimrc | 22 |
1 files changed, 15 insertions, 7 deletions
@@ -4,29 +4,37 @@ set nocompatible set number set title set ttyfast +set ruler -" 5 spaces per tab +" Tabbing (mainly) set tabstop=5 set shiftwidth=5 set shiftround set autoindent +set smartindent +inoremap # X# +set list +set listchars=tab:»·,trail:·,extends:…,precedes:…,nbsp:‼ + +" Folding +set foldmethod=marker +" Colors set bg=dark colorscheme mine syntax enable set t_Co=256 -" Show Tabs as »···· -set list -set listchars=tab:»·,trail:·,extends:… - -" Only create .swp-files in ~/.vim-backup +" Swapfiles set backupdir=~/.vim-backup set dir=~/.vim-backup -" Ignore case when searching, unless searching for uppercase stuff +" Searching set smartcase set ignorecase +set hlsearch +set incsearch +set redrawtime=500 " Greedy remaps (TODO: Add more keys) noremap - : |