Created
October 29, 2012 00:52
-
-
Save thata/3970763 to your computer and use it in GitHub Desktop.
htkymtksの.vimrc
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
" vundle | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/vundle.git/ | |
call vundle#rc() | |
Bundle 'unite.vim' | |
Bundle 'rails.vim' | |
Bundle 'git://github.com/vim-ruby/vim-ruby.git' | |
set tabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
syntax on | |
filetype on | |
filetype indent on | |
filetype plugin on | |
"カーソルを表示行で移動する。物理行移動は<C-n>,<C-p> | |
nnoremap j gj | |
nnoremap k gk | |
nnoremap <Down> gj | |
nnoremap <Up> gk | |
" 挿入モードでのカーソル移動 | |
inoremap <C-b> <Left> | |
inoremap <C-f> <Right> | |
"コマンドラインをEmacs風に移動 | |
:cnoremap <C-A> <Home> | |
:cnoremap <C-F> <Right> | |
:cnoremap <C-B> <Left> | |
" grep後にcwinを表示 | |
autocmd QuickFixCmdPost make,grep,grepadd,vimgrep,vimgrepadd cwin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment