Skip to content

Instantly share code, notes, and snippets.

View haya14busa's full-sized avatar
🐶

haya14busa haya14busa

🐶
View GitHub Profile
@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active May 3, 2024 11:35
Hyperlinks in Terminal Emulators
@romainl
romainl / Vim_pushing_built-in_features_beyond_their_limits.markdown
Last active September 19, 2023 08:16
Vim: pushing built-in features beyond their limits

Vim: pushing built-in features beyond their limits

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 lose context very quickly,
  • when we need to compare the matches.
@Shougo
Shougo / VimConf 2016 for me
Created November 7, 2016 20:16
VimConf 2016 slide
「参加レポートを書くまでが VimConf」らしいので、VimConf 2016 の感想記事をここに書いておきます。
今回は去年と同じくプラグインを開発しつつ、それについての発表もするということでかなりきつかったです。
何しろ、denite.nvim の開発が本格化したのは 8 月になってからでしたから、それから
unite.vim に匹敵する機能を追加するというのは正直いって無茶でした。
開発をすればするほど足りない機能が見つかりますし。
とはいえ VimConf に間に合わせるために頑張ったので、十分使えるレベルにはなったのではないでしょうか。
私は既にほぼ完全に denite.nvim に移行しています。
皆さんもぜひ試してみてください。

Best practices for building Vim plugins

2016-11-05 VimConf 2016

@tyru
tyru / fizzbuzz-buffer.vim
Last active December 18, 2016 14:15
FizzBuzz by Vim mapping
"
" 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}
package main
import (
"fmt"
"net/http"
"os"
"runtime"
"strconv"
"strings"
@k-takata
k-takata / gist:628ff1103f92b9135041a15c43c85b32
Last active September 28, 2016 14:12
Vim 7.4.001 to 7.4.2367 patch contributor ranking
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)
@domitry
domitry / blog.md
Last active February 5, 2019 08:10

Google Summer of Code やろう

はじめに

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

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

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

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

@bpierre
bpierre / README.md
Last active February 15, 2024 18:40
Switch To Vim For Good

Switch To Vim For Good

NOTE: This guide has moved to https://github.com/bpierre/switch-to-vim-for-good

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: https://gist.github.com/bpierre/0a0025d348b6001394e0

@itchyny
itchyny / incsearch-hlall.diff
Last active August 29, 2015 14:14
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;