forked from keflavich/configfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
48 lines (39 loc) · 966 Bytes
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
if match($TERM, "xterm-256color")!=-1
set t_Co=256
set t_AB=^[[48;5;%dm
set t_AF=^[[38;5;%dm
set term=xterm-256color
endif
" nocp disables history and other commands
set nocp
colorscheme elflord
set smartcase " 1/19/2012 - case-sensitive if caps
" set nowrap
set ruler
set hlsearch
syntax on
set bs=2
set shiftwidth=2
set expandtab " use spaces in place of tabs.
set tabstop=2 " number of spaces for a tab.
set softtabstop=2 " number of spaces for a tab in editing operations.
set is " search as you type
set history=10000
" buffers in the background remain open (useful for cmd line)
set hidden
set wildmenu
vnoremap fd <esc>
inoremap fd <esc>
map <c> <C>
set number
syntax on
set showmatch
" Switch on filetype detection and loads
" indent file (indent.vim) for specific file types
filetype indent on
filetype on
set autoindent " Copy indent from the row above
set si " Smart indent
set cindent
nnoremap <S-Right> gt
nnoremap <S-Left> gT