Skip to content

Instantly share code, notes, and snippets.

Avatar

Daisuke Suzuki daisuzu

View GitHub Profile
@daisuzu
daisuzu / gorillavim-10.md
Created Nov 13, 2019
ゴリラ.vim #10 非公式VimConf後夜祭 girls.vimと合同開催
View gorillavim-10.md
View gorillavim-3.md

Vimの動作を調べる

ゴリラ.vim #3

自己紹介

daisuzu(@dice_zu)

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

Vimと外部コマンド

ゴリラ.vim #1

自己紹介

daisuzu(@dice_zu)

  • 執筆
    • Software Design
@daisuzu
daisuzu / add_test.patch
Created Nov 25, 2016
Fix: Vim v8.0.0101
View add_test.patch
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 \
@daisuzu
daisuzu / gist:326200d8141c11478b73
Created Aug 25, 2015
macvim-kaoriyaのエラー
View gist:326200d8141c11478b73
$ 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
View build-macvim.sh
#!/bin/sh
# cleanup
make distclean
# configure
./configure \
--with-features=huge \
--with-compiledby="daisuzu <daisuzu@gmail.com>" \
--enable-luainterp=dynamic \
View .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 Mar 21, 2015
neosnippet_autogen_signature.vim
View gist:df53adcf8fdd8955e359
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': ', ',
View vimup.sh
#!/bin/sh
conf() {
./configure \
--with-features=huge \
--enable-multibyte \
--enable-gui=gtk2 \
--enable-rubyinterp \
--enable-pythoninterp \
--enable-perlinterp \
@daisuzu
daisuzu / unite_dirdiff.vim
Created Sep 6, 2012
unite custom action(dirdiff)
View unite_dirdiff.vim
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