Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
ゆるく始める自作カラースキーム (Vim)
Search
Tak
November 27, 2024
Programming
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ゆるく始める自作カラースキーム (Vim)
Tak
November 27, 2024
More Decks by Tak
See All by Tak
`美しいVim` を正しく表示する
ttak0422
0
120
Nixを使う
ttak0422
0
6.7k
uzimARuの開発
ttak0422
0
1.2k
Other Decks in Programming
See All in Programming
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
300
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
320
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
510
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
パスワード再設定メールのURLについて知っておこう
uyuki234
0
160
ActionController meets Protocol Buffers
sorah
0
550
AWSに止められる覚悟してますか?
morizo_1984
2
540
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
220
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.1k
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
Test your architecture with Archunit
thirion
2
2.4k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Transcript
ゆるく始める 自作カラースキーム @ttak0422 •••
自己紹介 • ttak0422 • Java書いてる • VimとNixが好き
最近のカラースキーム遷移 Monokai Ayu Tokyo Night Kanagawa One Dracura Serenade
そして自作へ
自作に至った理由 • 興味 • 欲しいプラグインのサポートがされていない • 重い (利用しないプラグインのサポートが適用されている) • 自分が色弱
(相性の悪い色が存在する) • ボーダーがあって成立する配色・無くて成立する配色がある
Vimのカラースキームの中身 1. カラースキーム名の定義 2. パレット 3. ハイライトグループに対応する色や書式の定義 4. エントリーポイントの定義 以上!!!
Vimのカラースキームの中身 :colorschemeとしたときに 表示される名前を定義 1.カラースキーム名の定義
Vimのカラースキームの中身 以降の設定で利用する色を定義 必須ではないが、あると便利。 e.g. red = "#d76e6e" magenta = "#b384b1"
2.パレットの定義
Vimのカラースキームの中身 e.g. String = {fg = c.green} ↓で確認できる :help highlight-group
:help group-name :so $VIMRUNTIME/syntax/hitest.vim 実例から知るのが近道 3.ハイライトグループに 対応する色や書式の定義
Vimのカラースキームの中身 DiagnosticError = { fg = c.darkRed } CmpItemAbbrDeprecated =
{ fg = c.grey1, strikethrough = true } IncSearch = { fg = c.bg0, bg = c.lightGreen } ["@keyword.operator"] = {“fg” = c.orange, bold = true } などなどー プラグインによって定義されるハイライトグループも結構ある IncSearch
Vimのカラースキームの中身 4.エントリーポイントの定義
完走した感想 • ある程度色を決めてChatGPTに相談する進め方で無事完走できた • 速いは正義 約0.3msec • 標準のハイライトグループやSyntax、LSP、Treesitterなどについての 理解が深まった
Next Action • プラグインサポート強化 • パフォーマンス強化 (fennelの力はこんなもんじゃない!!!) • Vimの外の世界のサポート (ターミナル、VSCode、JetBrains製IDEなど)
• 配色決めたときのモニターの色見の影響を受けてる気がする...要調整 • アプリの色もズレてる気がする...要調整 • Light系、透過系