Skip to content

Instantly share code, notes, and snippets.

View daisuzu's full-sized avatar

Daisuke Suzuki daisuzu

View GitHub Profile
@daisuzu
daisuzu / gorillavim-3.md
Created April 18, 2019 10:55
ゴリラ.vim #3

Vimの動作を調べる

ゴリラ.vim #3

自己紹介

daisuzu(@dice_zu)

  • VimConfに登壇したり、
  • 2017: How ordinary Vim user contributed to Vim
@daisuzu
daisuzu / gorillavim.md
Created February 18, 2019 11:13
ゴリラ.vim #1

Vimと外部コマンド

ゴリラ.vim #1

自己紹介

daisuzu(@dice_zu)

  • 執筆
    • Software Design
@daisuzu
daisuzu / gorillavim-10.md
Created November 13, 2019 10:19
ゴリラ.vim #10 非公式VimConf後夜祭 girls.vimと合同開催
@daisuzu
daisuzu / add_test.patch
Created November 25, 2016 12:59
Fix: Vim v8.0.0101
diff --git a/src/testdir/Make_all.mak b/src/testdir/Make_all.mak
index 49d2de0..f3d51c3 100644
--- a/src/testdir/Make_all.mak
+++ b/src/testdir/Make_all.mak
@@ -148,6 +148,7 @@ NEW_TESTS = test_arglist.res \
test_cmdline.res \
test_crypt.res \
test_cscope.res \
+ test_dictionary.res \
test_diffmode.res \
#!/bin/sh
conf() {
./configure \
--with-features=huge \
--enable-multibyte \
--enable-gui=gtk2 \
--enable-rubyinterp \
--enable-pythoninterp \
--enable-perlinterp \
@daisuzu
daisuzu / unite_dirdiff.vim
Created September 6, 2012 13:50
unite custom action(dirdiff)
NeoBundle 'vim-scripts/DirDiff.vim.git'
let dirdiff_action = {
\ 'description' : 'DirDiff with the other candidate',
\ 'is_selectable' : 1,
\ }
function! dirdiff_action.func(candidates)
if len(a:candidates) == 2
" :DirDiff with selected candidates
@daisuzu
daisuzu / gist:326200d8141c11478b73
Created August 25, 2015 15:15
macvim-kaoriyaのエラー
$ brew install --HEAD macvim-kaoriya -v
==> Cloning https://github.com/splhack/macvim.git
git --git-dir /Library/Caches/Homebrew/macvim-kaoriya--git/.git status -s
Updating /Library/Caches/Homebrew/macvim-kaoriya--git
git config remote.origin.url https://github.com/splhack/macvim.git
git config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master
git fetch origin
remote: Counting objects: 69703, done.
remote: Compressing objects: 100% (12010/12010), done.
remote: Total 69703 (delta 59128), reused 67879 (delta 57343), pack-reused 0
#!/bin/sh
# cleanup
make distclean
# configure
./configure \
--with-features=huge \
--with-compiledby="daisuzu <daisuzu@gmail.com>" \
--enable-luainterp=dynamic \
@daisuzu
daisuzu / .tmux.conf
Created July 12, 2015 09:25
tmux.conf
# vi-style key bindings
set-window-option -g mode-keys vi
# enable mouse
set-window-option -g mode-mouse on
set-option -g mouse-select-pane on
set-option -g mouse-resize-pane on
set-option -g mouse-select-window on
# tmux-powerline
@daisuzu
daisuzu / gist:df53adcf8fdd8955e359
Created March 21, 2015 08:26
neosnippet_autogen_signature.vim
inoremap <silent><expr> <Plug>(neosnippet_autogen_signature)
\ <SID>neosnippet_autogen_signature_generate()
let s:neosnippet_autogen_signature_config = {
\ 'gocomplete#Complete': {
\ 'pattern': 'func \(\w\+\)(\([^)]*\))\s*(\?\([^)]*\))\?',
\ 'name': 1,
\ 'parameters': 2,
\ 'returns': 3,
\ 'delimiter': ', ',