-
Notifications
You must be signed in to change notification settings - Fork 4
/
.vimrc
36 lines (36 loc) · 1.05 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
version 6.0
if &cp | set nocp | endif
let s:cpo_save=&cpo
set cpo&vim
nmap gx <Plug>NetrwBrowseX
nnoremap <silent> <Plug>NetrwBrowseX :call netrw#NetrwBrowseX(expand("<cWORD>"),0)
nnoremap <silent> <Space> :nohlsearch<Bar>:echo<CR>
let &cpo=s:cpo_save
unlet s:cpo_save
set backspace=indent,eol,start
set fileencodings=utf-8,latin1
set formatoptions=tcql
set helplang=en
set history=150
set hlsearch
set ruler
set viminfo='20,\"50
set tabstop=4
set nowrap
set laststatus=2
set dictionary=/usr/share/dict/words
" set autoindent
set shiftwidth=2
set shiftround
set statusline=[%n]\ %<%F\ \ \ [%M%R%H%W%Y][%{&ff}]\ [ASC=\%03.3b]\ [HEX=\%02.2B]\ \ %=\ line:%l/%L\ col:%c\ \ \ %p%%\ \ \ @%{strftime(\"%H:%M:%S\")}
set listchars=eol:$,tab:>-,trail:~,extends:>,precedes:<
set noendofline binary
filetype plugin on
syntax on
autocmd FileType * set noexpandtab
autocmd FileType *-src set expandtab
autocmd FileType php set expandtab
autocmd FileType js set expandtab
autocmd FileType html set expandtab
autocmd FileType sql set tabstop=4 shiftwidth=4 expandtab
" vim: set ft=vim :