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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
さっちゃん
December 14, 2013
Programming
0
67
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
780
野生の onbording と onbording 設計 #kyototechtalk
ne_sachirou
0
690
メトリックはいかにして見え續ける樣になったか #devio2022
ne_sachirou
0
120
名實一致
ne_sachirou
0
720
まかれるあなとみあ ―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
1.1k
Other Decks in Programming
See All in Programming
Ruby and LLM Ecosystem 2nd
koic
1
1.2k
存在論的プログラミング: 時間と存在を記述する
koriym
3
290
Migration to Signals, Signal Forms, Resource API, and NgRx Signal Store @Angular Days 03/2026 Munich
manfredsteyer
PRO
0
120
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
530
Agentic AI: Evolution oder Revolution
mobilelarson
PRO
0
190
安いハードウェアでVulkan
fadis
0
690
Java 21/25 Virtual Threads 소개
debop
0
200
Vuetify 3 → 4 何が変わった?差分と移行ポイント10分まとめ
koukimiura
0
170
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
320
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
880
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
3
1.6k
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
280
Featured
See All Featured
Navigating Team Friction
lara
192
16k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
270
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
Scaling GitHub
holman
464
140k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
490
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.5k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Evolving SEO for Evolving Search Engines
ryanjones
0
160
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
250
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 〃 ) ノ゙