summaryrefslogtreecommitdiff
path: root/etc/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/vimrc')
-rw-r--r--etc/vimrc22
1 files changed, 15 insertions, 7 deletions
diff --git a/etc/vimrc b/etc/vimrc
index abe3d53..971551b 100644
--- a/etc/vimrc
+++ b/etc/vimrc
@@ -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 - :