Skip to content

Instantly share code, notes, and snippets.

Johan Van Ryseghem zog

Block or report user

Report or block zog

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .vimrc
" for testing different rgb mappings for colors
"let rgb_file = "~/.vim/rgb.txt"
" don't worry about trying to stick to vi/ex conventions
set nocompatible
" disable modelines, as I don't use them
set modelines=0
set nomodeline
set term=ansi
zog / controller.rb
Created Dec 21, 2010
In order to use highlights w/ Sunspot
View controller.rb
# in the controller (or wherever you perform the search), enable highlights
@search = do
keyword 'foo', :highlights => true
# or
@search = do
keyword 'foo', :highlights => :name
You can’t perform that action at this time.