Feed

yoshuki's watching list

Profile

はいどうも。

http://saikyoline.jp/

.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