Skip to content

Instantly share code, notes, and snippets.

" textobj-template - Text objects for WAF template engine.
" Version: 0.0.1
" Author: Kazuhito Hokamura
" License: MIT license (see <http://www.opensource.org/licenses/mit-license>)
if exists('g:loaded_textobj_template')
finish
endif
call textobj#user#plugin('template', {
@iwata
iwata / .vimrc
Created August 24, 2011 01:05 — forked from nobeans/.vimrc
making convenient git commit
nnoremap <Space>gn :<C-u>w<CR>:Git now<CR>
nnoremap <Space>gN :<C-u>w<CR>:Git now --all<CR>
@iwata
iwata / _gpull.zsh
Created September 28, 2011 03:49
branch名指定でpullするshell function
#compdef gpull
#
# gpull ZSH completion function
#
# Installation
# ------------
# Drop this somewhere in your $fpath (like /usr/share/zsh/site-functions)
# and rename to '_gpull'
#
@iwata
iwata / .vimrc_for_eskk.vim
Created July 12, 2012 03:29
eskk.vim errors@OSX Lion 10.7.2, MacVim version7.3(KaoriYa 20120509)
if has('vim_starting')
let g:eskk#dictionary = '~/.skk-jisyo'
if has('mac')
let g:eskk#large_dictionary = {
'path': "~/Library/Application\ Support/AquaSKK/SKK-JISYO.L",
'sorted': 1,
'encoding': 'euc-jp',
}
elseif has('win32') || has('win64')
@iwata
iwata / mqh_install.sh
Last active October 13, 2015 11:17 — forked from arisawa/mqh_install.sh
Installing MySQL5.1 / Q4M / HandlerSocket@Mavericks
#!/bin/sh
set -xe
if [ `which perl` = "/usr/bin/perl" ]; then
echo -n -e "\e[1;31mUSING SYSTEM PERL OK? [y/n]\e[m: "
read ANSWER
if [ "$ANSWER" != "y" ]; then
exit 255
fi
PERL_CPANM_OPT="$PERL_CPANM_OPT --sudo"
gistup
@iwata
iwata / .gistup
Last active August 29, 2015 13:57
gistup
gistup