-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
87 lines (63 loc) · 1.4 KB
/
.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
set nocompatible
" === General Config ===
set hidden
set showcmd "Show incomplete cmds down the bottom
set showmode "Show current mode down the bottom
set laststatus=2
set linebreak
set wrap
" allow backspacing over everything in insert mode
set backspace=indent,eol,start
" Turn on syntax highlighting
syntax on
" === Search ===
" Finds next match while searching
set incsearch
" Highlight search results
set hlsearch
" Case insensitive search
set ignorecase
set smartcase
" === Indentation ===
set autoindent
set smarttab
set shiftwidth=2
set softtabstop=2
set tabstop=2
set expandtab
" For autoindenting
set autoindent
set number
" Column lines that are freaking ugly, but could be useful
"set cursorcolumn
"set cursorline
" Spell check
" set spell
" Scrolling
set scrolloff=8
" === Mappings ===
" Tabs
map tn :tabn<CR>
map tp :tabp<CR>
map te :tabe<Space>
map tm :tabm<Space>
" Cut
map yd <S-y><S-d>
" === Others ===
set ruler
set visualbell
set encoding=utf-8
"""""""""""""""""""""""""""""
"" Powerline
"""""""""""""""""""""""""""""
set rtp+=/Users/benedict/.vim/bundle/powerline/bindings/vim
let g:Powerline_symbols = 'fancy'
"""""""""""""""""""""""""""""
"" Pathogen
"""""""""""""""""""""""""""""
call pathogen#infect()
call pathogen#helptags()
filetype plugin indent on
" Disable pylint checking every save
let g:pymode_lint_write = 0
let g:pymode_run_key = 'R'