This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/cygdrive/h/.zshrc:limit:16: no such resource: coredumpsize | |
/cygdrive/h/.zshrc:[:66: too many arguments |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function get${1:name}() { | |
return $this->${2:`substitute('$1', '^\(.\)', '\=tolower(submatch(1))', '')`}; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set guifont=Consolas:h10:cDEFAULT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! ToggleXHTML() | |
if &ft != 'xhtml' | |
let s:oldFileType = &ft | |
set ft=xhtml | |
else | |
if exists('s:oldFileType') | |
let &ft=s:oldFileType | |
else | |
echo "No previous filetype" | |
endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map <A-]> :vsp <CR>:exec("tag ".expand("<cword>"))<CR> | |
let g:dbext_default_DBI_orientation = 'vertical' | |
let g:dbext_default_window_use_horiz = 0 | |
let g:dbext_default_window_width=80 | |
let g:fuf_file_exclude = '\v\~$|CVS|\.(o|exe|bak|swp)$|(^|[/\\])\.(hg|git|bzr)($|[/\\])' | |
nmap s ysw | |
nmap S ysW |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zmodload -i zsh/parameter | |
insert-last-command-output() { | |
LBUFFER+="$(eval $history[$((HISTCMD-1))])" | |
} | |
zle -N insert-last-command-output | |
bindkey "^X^L" insert-last-command-output |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [[ -x `which lesspipe.sh` ]]; then | |
export LESS="-R -M --shift 5" | |
export LESSOPEN="|lesspipe.sh %s" | |
export LESSCOLOR=1 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcc48540:~/Dotfiles% git pull | |
walk 0430e42888e8de6593def99d3eb3fcdeb424e631 | |
error: unable to set permission to '.git/objects/0a/e557d73c6404c7c7aa65e1cbc23531ad78ad99' | |
error: unable to write sha1 filename .git/objects/0a/e557d73c6404c7c7aa65e1cbc23531ad78ad99 | |
Getting pack list for http://github.com/gaving/dotfiles.git | |
Getting alternates list for http://github.com/gaving/dotfiles.git | |
error: Unable to find 0ae557d73c6404c7c7aa65e1cbc23531ad78ad99 under http://github.com/gaving/dotfiles.git | |
Cannot obtain needed tree 0ae557d73c6404c7c7aa65e1cbc23531ad78ad99 | |
while processing commit 0430e42888e8de6593def99d3eb3fcdeb424e631. | |
fatal: Fetch failed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set wildignore+=*.toc,*.aux,*.dvi,*.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
key: function(e) { | |
switch(e.charCode || e.keyCode) { | |
case 74: case 106: matrix.moveLeft(); break; // J | |
case 76: case 108: matrix.moveRight(); break; // L | |
case 75: case 107: matrix.moveDown(); break; // K | |
case 73: case 105: matrix.rotate(); break; // I | |
} | |
return false; | |
}, |
OlderNewer