Skip to content

Instantly share code, notes, and snippets.

var NameSpace = (function(){
var private_method = function(){
alert("private");
}
var public_method = function(){
private_method();
}
return {
public_method: public_method
}
@aisuii
aisuii / gist:784229
Created January 18, 2011 09:53
.vimrc.minimal
set nocompatible
set hidden
set nobackup
set history=100
filetype plugin indent on
scriptencoding utf-8
autocmd!
set tabstop=4 softtabstop=4 shiftwidth=4
autocmd FileType ruby setlocal tabstop=2 softtabstop=2 shiftwidth=2
escape ^Tt
startup_message off
vbell off
autodetach on
defencoding utf-8
encoding utf-8 utf-8
hardstatus alwayslastline "%{= wk} %-w%{=bu dg}%n %t%{-}%+w %= %{=b wb}%y/%m/%d %{=b wb}%c"
shelltitle "$ |bash"
bind r eval 'echo "Resize window"' 'command -c resize'
set nocompatible
set nobackup
set hidden
set history=100
filetype plugin indent on
scriptencoding utf-8
autocmd!
set backspace=indent,eol,start
" indent