root/dotfiles/vim/xcezx-vimrc @ 34557

Revision 23, 0.9 kB (checked in by xcezx, 6 years ago)

dotfiles/vim imported

Line 
1" ~/.vimrc
2
3" For Japanese
4set termencoding=utf-8
5set encoding=japan
6set fileencodings=iso-2022-jp,utf-8,euc-jp,ucs-2le,ucs-2,cp932
7
8" Syntax
9syntax on
10set background=dark
11highlight StatusLine cterm=NONE ctermfg=4 ctermbg=7
12
13" Show TAB, EOL
14"set list
15set listchars=tab:>.,eol:\\
16
17" Show line number, ruler
18"set number
19set ruler
20
21" Indent
22set autoindent
23set smartindent
24set tabstop=4
25set shiftwidth=4
26set softtabstop=4
27set expandtab
28
29" Behavier BS
30set backspace=indent,eol,start
31
32" Search
33set ignorecase
34set smartcase
35set incsearch
36set wrapscan
37
38" Free cursor
39set whichwrap=b,s,h,l,<,>,[,]
40
41" Status line
42set laststatus=2
43set statusline=%<%f\ %m%r%h%w%{'['.(&fenc!=''?&fenc:&enc).']['.&ff.']['.&ft.']'}%=%l,%c%v%8p
44
45" Misc.
46set showmatch
47set showcmd
48set showmode
49set nobackup
50set autoread
51set hidden
52set scrolloff=10
53set wildmenu
54set shortmess+=I
55
56filetype plugin on
57filetype indent on
58
59" Always gj, gk
60nnoremap j gj
61nnoremap k gk
62
63" __END__
Note: See TracBrowser for help on using the browser.