Feed

yoshuki's watching list

Profile

はいどうも。

http://saikyoline.jp/

.vimrc

colorscheme yo

set nocompatible " We're running Vim, not Vi!
syntax on " Enable syntax highlighting
filetype plugin indent on " Enable filetype-specific indenting and plugins

set ambiwidth=double
set autoindent
set backspace=eol,indent,start
set cmdheight=2
set display=lastline
set expandtab
set hlsearch
set laststatus=2
set lazyredraw
set list
set listchars=tab:>\
set number
set ruler
set scrolloff=2
set showmatch
set smartindent
set title
set ts=2 sw=2 sts=0
set viminfo=

inoremap <C-a> <Home>
inoremap <C-e> <End>
inoremap <C-f> <Right>
inoremap <C-b> <Left>

nnoremap <C-h> :<C-u>help<Space>

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>#

hi LastSpaces 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