vimrc

let g:molokai_original = 1
let g:rehash256 = 1
colorscheme molokai

set number
set nohlsearch incsearch
"set mouse=a
set autoindent smartindent
set incsearch
set clipboard=unnamedplus
"set ignorecase smartcase
set guifont=Consolas\ 13
set cursorline
set scrolloff=6
set showcmd

syntax enable
syntax on

inoremap { {<Enter>}<Esc>O
nnoremap <C-h> <Esc><C-w>h
nnoremap <C-j> <Esc><C-w>j
nnoremap <C-k> <Esc><C-w>k
nnoremap <C-l> <Esc><C-w>l
inoremap <C-h> <Esc><C-w>h
inoremap <C-j> <Esc><C-w>j
inoremap <C-k> <Esc><C-w>k
inoremap <C-l> <Esc><C-w>l

nnoremap j gj
nnoremap k gk

map [[ ?{<CR>w99[{
map ][ /}<CR>b99]}
map ]] j0[[%/{<CR>
map [] k$][%?}<CR>

nnoremap <C-i> <Esc>ciw
nnoremap <C-p> <Esc>"_diwP

你可能感兴趣的:(vimrc)