Skip to content

Instantly share code, notes, and snippets.


haya14busa haya14busa

Block or report user

Report or block haya14busa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
egmontkob /
Last active Jan 28, 2020
Hyperlinks in Terminal Emulators
romainl / Vim_pushing_built-in_features_beyond_their_limits.markdown
Last active Jan 26, 2020
Vim: pushing built-in features beyond their limits
View Vim_pushing_built-in_features_beyond_their_limits.markdown

The situation

Searching can be an efficient way to navigate the current buffer.

The first search commands we learn are usually / and ?. These are seriously cool, especially with the incsearch option enabled which lets us keep typing to refine our search pattern. / and ? really shine when all we want is to jump to something we already have our eyeballs on but they are not fit for every situation:

  • when we want to search something that's not directly there, those two commands can make us loose context very quickly,
  • when we need to compare the matches.

A better way

View VimConf 2016 for me
「参加レポートを書くまでが VimConf」らしいので、VimConf 2016 の感想記事をここに書いておきます。
何しろ、denite.nvim の開発が本格化したのは 8 月になってからでしたから、それから
unite.vim に匹敵する機能を追加するというのは正直いって無茶でした。
とはいえ VimConf に間に合わせるために頑張ったので、十分使えるレベルにはなったのではないでしょうか。
私は既にほぼ完全に denite.nvim に移行しています。

Best practices for building Vim plugins

2016-11-05 VimConf 2016

tyru / fizzbuzz-buffer.vim
Last active Dec 18, 2016
FizzBuzz by Vim mapping
View fizzbuzz-buffer.vim
" fizzbuzz-buffer.vim - FizzBuzz by mappings & buffer content
" Rules:
" * No <expr>
" * Of course no Vim script expressions in normal mode, too
" Mapping Flow:
" 1. doit
" 2. getchar:{numchar}
View web.go
package main
import (
k-takata / gist:628ff1103f92b9135041a15c43c85b32
Last active Sep 28, 2016
Vim 7.4.001 to 7.4.2367 patch contributor ranking
View gist:628ff1103f92b9135041a15c43c85b32
210 (Christian Brabandt)
174 (Ken Takata)
103 (Hirohito Higashi)
92 (Yasuhiro Matsumoto)
86 (Dominique Pelle)
45 (Yegappan Lakshmanan)
39 (Kazunobu Kuriyama)
34 (Mike Williams)
32 (ZyX)
28 (Ozaki Kiichi)

Google Summer of Code やろう


この記事はOUCC Advent Calendar 2015のために書かれたものです.

先日OUCCのデキそうな後輩にGSoCとか興味ない?と聞いたところつらそうなイメージがあるからいいです(要約)と言われてしまい, 苦労話をしすぎたかなとちょっとショックだったのでそんなに辛くないよむしろ楽しいよ!というノリで書いていく.

他の参加者に話を聞くと僕が参加したプロジェクトはかなり特殊なやり方をしていたようなので, より一般的な話はしゅうう先生の以下の記事などを参考にすることを推奨する.

学生諸君、Google Summer of Code 2013に参加して50万円貰ってオープンソースソフトウェアのコミッターになろう - かーねる・う゛いえむにっき

bpierre /
Last active Dec 2, 2019
Switch To Vim For Good

Switch To Vim For Good

NOTE: This guide has moved to

This guide is coming from an email I used to send to newcomers to Vim. It is not intended to be a complete guide, it is about how I switched myself.

My decision to switch to Vim has been made a long time ago. Coming from TextMate 1, I wanted to learn an editor that is Open Source (so I don’t lose my time learning a tool that can be killed), cross platform (so I can use it everywhere), and powerful enough (so I won’t regret TextMate). For these reasons, Vim has always been the editor I wanted to learn, but it took me several years before I did it in a way that works for me. I tried to switch progressively, using the Janus Vim distribution for a few months, then got back to using TextMate 2 for a time, waiting for the next attempt… here is what finally worked for me.

Original gist with comments:

itchyny / incsearch-hlall.diff
Last active Aug 29, 2015
View incsearch-hlall.diff
diff -r cd5eff09c1ae src/ex_getln.c
--- a/src/ex_getln.c Thu Feb 05 20:29:59 2015 +0100
+++ b/src/ex_getln.c Sat Feb 07 02:09:58 2015 +0900
@@ -1778,8 +1778,10 @@
curwin->w_cursor = old_cursor; /* start at old position */
/* If there is no command line, don't do anything */
- if (ccline.cmdlen == 0)
+ if (ccline.cmdlen == 0) {
i = 0;
You can’t perform that action at this time.