Skip to content

Instantly share code, notes, and snippets.

View thinca's full-sized avatar
⌨️
Happy Vimming!

thinca thinca

⌨️
Happy Vimming!
View GitHub Profile
@k-takata
k-takata / 256colors2.bat
Last active November 25, 2023 16:23
Testing ANSI color sequence on Windows 10 and other terminal emulators
@echo off
rem Based on Todd Larason's 256color2.pl.
rem Ported to Windows 10's Command Prompt.
setlocal EnableDelayedExpansion
rem display the colors
rem first the system ones:
echo System colors:

VimConf 2016 ujihisa感想記事

2016-11-05に日本の東京のmixi, Inc.で開催されたVimConf2016に参加してきました。

ujihisa.vimとそれに続く4回のVimConfのうち、今回はじめて発表者でなく一般客として参加しました。正確には当日スタッフとして受付を担当しました。今回はじめて参加費を払うことに成功しました。 (*1)

発表内容

後述する受付的理由で、一部の発表は注意深く視聴する機会を逃した関係で、一部の発表にたいしてのみコメントします。

diff --git a/src/Makefile b/src/Makefile
--- a/src/Makefile
+++ b/src/Makefile
@@ -1914,6 +1914,7 @@
test_erasebackword \
test_eval \
test_fixeol \
+ test_getcwd \
test_increment \
test_insertcount \
@kana
kana / splatoon-weapon-damage.txt
Last active August 29, 2015 14:23
Splatoonブキダメージ
Splatoon ブキダメージ
ブキ 攻撃力アップ(メイン) 攻撃力アップ(サブ) 防御力アップ ダメージ
わかばシューター 0 0 0 28.0 / 56.0 / 84.0 / 112.0
わかばシューター 0 0 1 26.5 / 53.1 / 79.7 / 106.3
わかばシューター 0 0 2 25.4 / 50.8 / 76.2 / 101.6
わかばシューター 0 0 3 24.5 / 49.0 / 73.5 / 98.0 / 122.5
スプラシューター 0 0 0 36.0 / 72.0 / 108.0
スプラシューター 0 0 1 34.1 / 68.3 / 102.5
@nekoruri
nekoruri / donabe.md
Last active February 14, 2024 03:40
まだEmacs使ってるの?「Vim」の方が全然便利ですよ

まだEmacs使ってるの?「Vim」の方が全然便利ですよ

今まで何でEmacs使ってたんだろう…と遠い目をしながら書いてます。

まだEmacs使ってるの?

なんかEmacsを使うことって、暗黙の前提になってますよね。ぼくも一人暮らしをし始めたとき、何の逡巡もなくEmacsを購入してしまいました。確か15MBくらいする牛印のいい感じのヤツです。

でもですね、2年くらい前にEmacsをやめて、Vimにしたんですよ。妻が夜な夜なiPhoneで情報収集をしていたところ、突如Vimに惹かれたらしく、いつの間にか$EDITORにVimが鎮座していました。

@aomoriringo
aomoriringo / progress karaoke
Last active August 29, 2015 14:03
進捗カラオケ
switch(i%4):
case 0:
thinca
case 1:
kyubuns
case 2:
supermomonga
case 3:
aomoriringo
@ujihisa
ujihisa / vac249.md
Created August 7, 2013 03:21
Vim Advent Calendar 2012 http://atnd.org/events/33746

Vim Advent Calendar 2012 ujihisa 18 (249日目)

Vim Advent Calendar 2012 の242日目の記事です。#昨日の記事はtyruさんで、明日の記事はsyuiさんの予定です。

日付力

今日は8月6日ですね。さて問題です。「2013年8月6日からVim Advent Calendar 2012とVim Advent Calendar 2013が並走開始する日まで何日か」をVim scriptで計算してください。

大前提として、Vim Advent Calendar 2013は2013年12月1日に確実に開始するものとします。また、Vim Advent Calendar 2012は、http://atnd.org/events/33746 にかかれているように

@shiwano
shiwano / vimgirl.txt
Last active April 25, 2017 06:55
Vim Girl の AA。 等幅。M+フォントかM+フォント合成フォントでの閲覧推奨。
メ __-─-,-- _
,イ >:::::::::::< ヽ〟
ヽ─イ /,::::,::::::::\ >─r
ヾ〟//:!:::ハ::::::|:!:ヽ ,丿
ソ r:リヤ ハ::::::ハ:ハ::|rヘ〟
Ⅲ:|:| V―ヘ::::/-ル゙|/ ハリ\ あらぶる
!|:ハ:|,-=〟ヽ/,-=.ソハリ H Vim の
!ヽriゾUソゾ "ハUソノ゙hNノソ ぽーず♡
|!ハヾヾ` `´ノlリ´
ノ:ノハ ハ 丶 クハ ____
@chikatoike
chikatoike / .vimrc
Last active December 10, 2015 09:18
" moved to https://github.com/chikatoike/config/blob/master/.vimrc
@thinca
thinca / neobundle
Created August 22, 2012 02:14
neobundle command
#!/bin/sh
if [ -z "$1" ]; then
echo Usage: $0 {config-file}
exit
fi
vim -N -u NONE -i NONE -V1 -e -s --cmd "source $1" --cmd NeoBundleInstall! --cmd qall!