Skip to content

Instantly share code, notes, and snippets.

#hacks so i can see zero punctuation at home
209.34.224.71 www.escapistmagazine.com
64.62.134.199 static.escapistmagazine.com
64.62.134.199 static.themis-media.com
209.34.224.72 www.themis-media.com
if exists("g:loaded_nerdtree_edit_menuitem")
finish
endif
let g:loaded_nerdtree_edit_menuitem = 1
call NERDTreeAddMenuItem({
\ 'text': 'start :(e)dit command',
\ 'shortcut': 'e',
\ 'callback': 'NERDTreeStartEditCommand' })
"guard against sourcing the script twice
if exists("g:loaded_nerdtree_view_image_menuitem")
finish
endif
let g:loaded_nerdtree_view_image_menuitem = 1
"if eog isnt installed, bail
if !executable("eog")
finish
endif
"guard against sourcing the script twice
if exists("g:loaded_nerdtree_start_shell_mapping")
finish
endif
let g:loaded_nerdtree_start_shell_mapping = 1
"bind 'S' to NERDTreeStartShell()
call NERDTreeAddKeyMap({
\ 'key': 'S',
\ 'callback': 'NERDTreeStartShell',
@scrooloose
scrooloose / .ctags
Created July 9, 2010 03:47
ctags hack to make it recognise "final" and "abstract" functions
--regex-PHP=/^[ \t]*((final *|abstract *)(public *|private *)|(public *|private *)?(final *|abstract *))function[ \t]*(.*?)\(/\6/f,function/
<?xml version="1.0" encoding="utf-8" ?>
<whoisapi>
<application>
<appname>name_spinner</appname>
<version>4</version>
<partner>removed</partner>
<key>removed</key>
<customer_ip></customer_ip>
<engine></engine>
<spork>bart</spork>
au BufWinEnter \[BufExplorer\] let g:bufexplorer_saved_updatetime = &updatetime | set updatetime=500
au BufWinLeave \[BufExplorer\] call s:restore_updatetime()
au! CursorHold \[BufExplorer\] call s:restore_updatetime() | normal o
function s:restore_updatetime()
if exists("g:bufexplorer_saved_updatetime")
exec "set updatetime=" . g:bufexplorer_saved_updatetime
endif
endfunction
Error detected while processing function UltiSnips_ExpandSnippet:
line 1:
Traceback (most recent call last):
Error detected while processing function UltiSnips_ExpandSnippet:
line 1:
File "<string>", line 1, in <module>
Error detected while processing function UltiSnips_ExpandSnippet:
line 1:
File "/home/marty/.vim/bundle/ultisnips/plugin/UltiSnips/__init__.py", line 618, in expand
Error detected while processing function UltiSnips_ExpandSnippet:
function GetMapLeader()
return exists("g:mapleader") ? g:mapleader : '\'
endfunction