Created
April 4, 2014 06:57
-
-
Save tknzk/9969481 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install mercurial | |
yum install ncurses-devel | |
hg clone https://vim.googlecode.com/hg vim | |
cd vim | |
./configure --enable-multibyte --enable-xim --enable-fontset --disable-selinux --with-features=huge | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
set number
set autoindent
set tabstop=4
set shiftwidth=4
set ignorecase
set smartcase
set wrapscan
set title
set ruler
set nolist
set showcmd
set showmatch
set nobomb
set expandtab
set hlsearch
set incsearch
set vb t_vb=
set laststatus=2
set statusline=%y%{GetStatusEx()}%F%m%r%=<%c:%l>
syntax on
colorscheme desert
nnoremap j gj
nnoremap k gk
function! GetStatusEx()
let str = ''
let str = str . '' . &fileformat . ']'
if has('multi_byte') && &fileencoding != ''
let str = '[' . &fileencoding . ':' . str
endif
return str
endfunction
if has("autocmd")
autocmd BufReadPost *
\ if line("'"") > 0 && line("'"") <= line("$") |
\ exe "normal g`"" |
\ endif
endif