yoshuki's watching list
-
[294] Align
そろえてそろえて。
-
[2009] AutoClose
自前inoremapから移行した。
-
[1879] autocomplpop.vim
ここで知って追加した。スバラシす。
-
[39] matchit.zip
これもいちおう。
-
[69] project.tar.gz
IDE的な。
-
[1567] rails.vim
Railsにはこれ。
-
[2253] railstab.vim
rails.vimとセットで。
-
[1601] Smooth Scroll
これはスムーズだ。
-
[1318] snippetsEmu
使いこなせてないけど。
-
[1697] surround.vim
これがあるとすごくラク。
-
[1234] YankRing.vim
pとdの順番気にする必要がなくなった。
Profile
はいどうも。
.vimrc
colorscheme blackboard
set nocompatible " We're running Vim, not Vi!
syntax on " Enable syntax highlighting
filetype plugin indent on " Enable filetype-specific indenting and plugins
set autoindent
set cmdheight=2
set expandtab
set hlsearch
set laststatus=2
set list
set listchars=tab:>\
set number
set ruler
set showmatch
set title
set ts=2 sw=2 sts=0
set viminfo=
inoremap { {}<LEFT>
inoremap [ []<LEFT>
inoremap ( ()<LEFT>
inoremap " ""<LEFT>
inoremap ' ''<LEFT>
vnoremap { "zdi{<C-r>z}<ESC>
vnoremap [ "zdi[<C-r>z]<ESC>
vnoremap ( "zdi(<C-r>z)<ESC>
vnoremap " "zdi"<C-r>z"<ESC>
vnoremap ' "zdi'<C-r>z'<ESC>
inoremap <C-a> <Home>
inoremap <C-e> <End>
inoremap <C-f> <Right>
inoremap <C-b> <Left>
nnoremap <Esc><Esc> :<C-u>set nohlsearch<Return>
nnoremap / :<C-u>set hlsearch<Return>/
nnoremap ? :<C-u>set hlsearch<Return>?
nnoremap * :<C-u>set hlsearch<Return>*
nnoremap # :<C-u>set hlsearch<Return>#
highlight lastSpaces term=underline ctermbg=yellow guibg=yellow
match lastSpaces /[ [:space:]]\+$/
" see :help ft-ruby-omni
let g:rubycomplete_buffer_loading = 1
let g:rubycomplete_classes_in_global = 1
let g:rubycomplete_rails = 1
" see :help yankring
let g:yankring_persist = 0
