-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
57 lines (43 loc) · 947 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
49
50
51
52
53
54
55
56
set encoding=utf8
" Enable folding
set foldmethod=indent
set foldlevel=99
"""""""""""""""""""""""""""""""""""""
" Configuration Section
"""""""""""""""""""""""""""""""""""""
" OSX stupid backspace fix
set backspace=indent,eol,start
noremap n j
noremap e k
noremap i l
noremap u i
noremap l u
" Show linenumbers
set number
" Set Proper Tabs
set tabstop=2
set shiftwidth=2
set smarttab
set expandtab
" Always display the status line
set laststatus=2
" system clipboard
set clipboard=unnamed
" Enable highlighting of the current line
set cursorline
" Theme and Styling
syntax on
set t_Co=256
" Set file ignore QOL
set wildignore=*.o,*~,*.pyc
set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/.DS_Store
set wildignore+=*/node_modules/*
" When searching try to be smart about cases
set smartcase
" Highlight search results
set hlsearch
" Makes search act like search in modern browsers
set incsearch
" Set auto and smart indents
set ai
set si