2018-08-16 23:05:54 +00:00
|
|
|
filetype plugin indent on
|
|
|
|
|
|
|
|
syntax enable
|
|
|
|
|
|
|
|
set autoindent
|
|
|
|
set backspace=indent,eol,start
|
|
|
|
set complete-=i
|
|
|
|
set smarttab
|
2018-09-24 14:54:58 +00:00
|
|
|
set tabstop=4
|
|
|
|
set shiftwidth=4
|
|
|
|
set expandtab
|
2019-04-09 04:15:36 +00:00
|
|
|
set undofile
|
|
|
|
set undodir=~/.vim/undodir
|
2018-08-16 23:05:54 +00:00
|
|
|
|
|
|
|
set nrformats-=octal
|
|
|
|
|
|
|
|
set incsearch
|
|
|
|
|
2019-03-12 19:36:33 +00:00
|
|
|
set number
|
|
|
|
set numberwidth=4
|
|
|
|
set updatetime=100
|
2018-08-16 23:05:54 +00:00
|
|
|
set laststatus=2
|
|
|
|
set ruler
|
|
|
|
set wildmenu
|
|
|
|
|
|
|
|
set display+=lastline
|
|
|
|
|
|
|
|
set encoding=utf-8
|
|
|
|
|
|
|
|
set autoread
|
|
|
|
|
|
|
|
set history=1000
|
|
|
|
set tabpagemax=50
|
|
|
|
|
2019-03-12 05:58:05 +00:00
|
|
|
noremap 0 ^
|
|
|
|
noremap ^ 0
|
|
|
|
|
2018-08-16 23:05:54 +00:00
|
|
|
inoremap <C-U> <C-G>u<C-U>
|
|
|
|
|
2018-09-25 20:09:27 +00:00
|
|
|
cmap w!! w !sudo tee % >/dev/null
|
|
|
|
|
2018-08-21 14:30:32 +00:00
|
|
|
set rtp+=~/.fzf
|
|
|
|
|
2019-03-12 05:58:05 +00:00
|
|
|
execute pathogen#infect()
|
|
|
|
|
|
|
|
let g:qs_highlight_on_keys = ['f', 'F', 't', 'T']
|
|
|
|
|
2018-08-16 23:05:54 +00:00
|
|
|
" vim:set ft=vim et sw=2:
|
|
|
|
|