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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
さっちゃん
December 14, 2013
Programming
0
66
Vimのpluginを書く
VimScript怖くないヾ(〃l _ l)ノ゙
さっちゃん
December 14, 2013
Tweet
Share
More Decks by さっちゃん
See All by さっちゃん
みんなのオブザーバビリティプラットフォームを作ってるんだがパフォーマンスがやばい #mackerelio #srenext
ne_sachirou
0
1.6k
作ってよかったgraceful shutdownライブラリ #kyotogo
ne_sachirou
0
1.4k
path 依存型って何?
ne_sachirou
0
750
野生の onbording と onbording 設計 #kyototechtalk
ne_sachirou
0
670
メトリックはいかにして見え續ける樣になったか #devio2022
ne_sachirou
0
110
名實一致
ne_sachirou
0
710
まかれるあなとみあ ―Mackerel のしくみを理解する 30 分― @ Hatena Engineer Seminar #16
ne_sachirou
0
3.2k
tacit programming : Point-free, Concatenatives & J
ne_sachirou
0
1.1k
Monitoring Containerized Elixir
ne_sachirou
1
1k
Other Decks in Programming
See All in Programming
Apache Iceberg V3 and migration to V3
tomtanaka
0
150
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
590
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
150
Oxlintはいいぞ
yug1224
5
1.3k
Fragmented Architectures
denyspoltorak
0
150
Patterns of Patterns
denyspoltorak
0
1.4k
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
170
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
120
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
250
Featured
See All Featured
Docker and Python
trallard
47
3.7k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
110
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
170
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
64
30 Presentation Tips
portentint
PRO
1
210
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
910
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
49k
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 〃 ) ノ゙