Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Vimのpluginを書く
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
さっちゃん
December 14, 2013
Programming
68
0
Share
Vimのpluginを書く
VimScript怖くないヾ(〃l _ l)ノ゙
さっちゃん
December 14, 2013
More Decks by さっちゃん
See All by さっちゃん
火星曆
ne_sachirou
0
16
みんなのオブザーバビリティプラットフォームを作ってるんだがパフォーマンスがやばい #mackerelio #srenext
ne_sachirou
0
1.7k
作ってよかったgraceful shutdownライブラリ #kyotogo
ne_sachirou
0
1.4k
path 依存型って何?
ne_sachirou
0
810
野生の onbording と onbording 設計 #kyototechtalk
ne_sachirou
0
710
メトリックはいかにして見え續ける樣になったか #devio2022
ne_sachirou
0
120
名實一致
ne_sachirou
0
730
まかれるあなとみあ ―Mackerel のしくみを理解する 30 分― @ Hatena Engineer Seminar #16
ne_sachirou
0
3.3k
tacit programming : Point-free, Concatenatives & J
ne_sachirou
0
1.1k
Other Decks in Programming
See All in Programming
決定論 vs 確率論:Gemini 3 FlashとTF-IDFを組み合わせた「法規判定エンジン」の構築
shukob
0
150
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
160
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
3
980
クラウドネイティブなエンジニアに向ける Raycastの魅力と実際の活用事例
nealle
2
230
CDK Deployのための ”反響定位”
watany
5
930
【26新卒研修資料】TDD実装演習
dip_tech
PRO
0
160
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
140
JOAI2026 1st solution - heron0519 -
heron0519
0
170
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
320
書籍「ユーザーストーリーマッピング」が私のバイブル
asumikam
4
470
2026-04-15 Spring IO - I Can See Clearly Now
jonatan_ivanov
1
170
AI-DLC Deep Dive
yuukiyo
9
5.5k
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.4k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.2k
sira's awesome portfolio website redesign presentation
elsirapls
0
230
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Utilizing Notion as your number one productivity tool
mfonobong
4
300
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
280
A Soul's Torment
seathinner
6
2.8k
Transcript
Vim の plugin を書く .。oO(さっちゃんですよヾ(〃l _ l)ノ゙☆)
vim-quickrun-markdown-gfm を Windows に 対応させました ヾ ( 〃 l _
l) ノ゙
vim-quickrun-markdown-gfm を Windows に 対応させました ヾ ( 〃 l _
l) ノ゙
VimScript 怖くないヾ ( 〃 l _ l) ノ゙ ヾ (l
_ l 〃 ) ノ゙
怖くないヾ ( 〃 l _ l) ノ゙ ヾ (l _
l 〃 ) ノ゙
怖くないヾ ( 〃 l _ l) ノ゙ ヾ (l _
l 〃 ) ノ゙
§1 help を読む ヾ ( 〃 l _ l) ノ゙
help :h ヾ (l _ l 〃 ) ノ゙
help CTRL-] CTRL-o ヾ (l _ l 〃 ) ノ゙
help CTRL-] → リンク先へ飛ぶ CTRL-o → 戻る ヾ (l _
l 〃 ) ノ゙
help Vim の help には何でも書いてある。 日本語訳は、 vimdoc-ja ヾ (l _
l 〃 ) ノ゙
help help の引き方 ↓ :h help ヾ (l _ l
〃 ) ノ゙
help の全文検索 :helpgrep ヾ ( 〃 l _ l) ノ゙
help の全文検索 helpgrep の使い方 ↓ :h helpgrep ヾ ( 〃
l _ l) ノ゙
§2 VimScript 用 help ヾ (l _ l 〃 )
ノ゙
VimScript :h script :h eval ヾ ( 〃 l _
l) ノ゙
runtimepath :h rtp ヾ (l _ l 〃 ) ノ゙
runtimepath autoload/ 自動的に読み込まれるスクリプト doc/ ヘルプドキュメント ftplugin/ ファイルタイププラグイン plugin/ プラグインスクリプト syntax/文法ファイル
…… 等 ヾ (l _ l 〃 ) ノ゙
autoload :h autoload ヾ ( 〃 l _ l) ノ゙
autoload global 領域みたいに使へる :h s:var ヾ ( 〃 l _
l) ノ゙
変数の型や scope :h variables ヾ (l _ l 〃 )
ノ゙
Data 構造 (List と Dictionary) :h list :h dictionary ヾ
( 〃 l _ l) ノ゙
Data 構造 (List と Dictionary) map(copy(list), 'v:val') deepcopy(dict) ヾ (
〃 l _ l) ノ゙
関数一覧 :h functions ヾ (l _ l 〃 ) ノ゙
§3 感想戦 ヾ ( 〃 l _ l) ノ゙
VimScript 文字列を振り回してると PHP に近いものを感じ る…… ( 〃 l _ l)
↑ > C macro 感< ヾ (l _ l 〃 ) ノ゙
VimScript echo debug はできる (l _ l 〃 ) ヾ
(l _ l 〃 ) ノ゙
compatible let s:cpo_save = &cpo set cpo&vim ・ ・ ・
let &cpo = s:cpo_save unlet s:cpo_save ヾ ( 〃 l _ l) ノ゙
VimScript 怖くないヾ ( 〃 l _ l) ノ゙ ヾ (l
_ l 〃 ) ノ゙