about summary refs log tree commit diff
path: root/vim/.vimrc
blob: e9a7268d0a376e443f1c55939ff4ac10bb413f59 (plain) (blame)
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
filetype plugin indent on

syntax enable

set autoindent
set backspace=indent,eol,start
set complete-=i
set smarttab
set tabstop=4
set shiftwidth=4
set expandtab

set nrformats-=octal

set incsearch

set number
set numberwidth=4
set updatetime=100
set laststatus=2
set ruler
set wildmenu

set display+=lastline

set encoding=utf-8

set autoread

set history=1000
set tabpagemax=50

noremap 0 ^
noremap ^ 0

inoremap <C-U> <C-G>u<C-U>

cmap w!! w !sudo tee % >/dev/null

set rtp+=~/.fzf

execute pathogen#infect()

let g:qs_highlight_on_keys = ['f', 'F', 't', 'T']

" vim:set ft=vim et sw=2: