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
VS CodeとVimが好きなエンジニアが考えた最強のエディタ
Search
KMiura
June 07, 2024
Technology
0
270
VS CodeとVimが好きなエンジニアが考えた最強のエディタ
2024/06/07 「好きなエディタについて語ろう!エディタトーークLT会」
https://nagoya-it.connpass.com/event/319135/
KMiura
June 07, 2024
Tweet
Share
More Decks by KMiura
See All by KMiura
Bedrock Knowledge baseを使って今年の上半期のニュースを聞いてみた(リベンジ編)
miura55
0
150
Is it wrong to use a web framework with Lambda?
miura55
0
120
Bedrock Knowledge baseを使って今年の上半期のニュースを聞いてみた
miura55
0
130
AWS×IoTについて語り合う会
miura55
0
86
クラウドを活用して家電をハックしてみた
miura55
0
86
Amplify Gen2でLambda構築してみた
miura55
0
110
Amplify Gen2でLambda構築してみた
miura55
1
800
Amplify Gen2がGAされたので試してみた
miura55
0
130
オープンソースのロボットソフトウェア「ROS」で地図作成を試してみた
miura55
0
370
Other Decks in Technology
See All in Technology
ゼロからはじめる生成AI〜AWS認定とハンズオンで学ぶ初心者の道〜
kenichinakamura
0
130
エンジニア向け会社紹介資料
caddi_eng
14
270k
プログラミング写経のすすめ
natsutan
0
150
Vespaを利用したテクいベクトル検索
szdr
3
250
The People First Approach to Engineering Success - DevNot 2024
zikriyeurkmez
0
220
【完全版】Dify - LINE Bot連携 考え方と実用テクニック
uezo
3
850
地域DXにおけるGrafana活用事例
wacky
0
370
KubeVirt Networking ONIC 2024
orimanabu
4
720
Bluesky 2019〜2022
yamarten
1
120
不要なリソースを自動で定期的に整理する方法 ~Sandboxアカウントのコストを削減しよう!~
amixedcolor
4
220
とある事業会社にとっての Kaggler の魅力
hakubishin3
7
1.5k
CData Virtuality 日本ローンチイベントのKeynote
cdataj
0
430
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
3
330
Automating Front-end Workflow
addyosmani
1365
200k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
41
9.2k
The Invisible Side of Design
smashingmag
297
50k
Side Projects
sachag
452
42k
Designing for Performance
lara
604
68k
Why Our Code Smells
bkeepers
PRO
334
57k
Gamification - CAS2011
davidbonilla
80
5k
Building Better People: How to give real-time feedback that sticks.
wjessup
362
19k
How STYLIGHT went responsive
nonsquared
95
5.1k
Transcript
VS CodeとVimが好きなエンジニアが考えた 最強のエディタ KMiura(@k_miura_io)
自己紹介 • 三浦 耕生(こうき) • オフィスDXのSaaSのバックエンド エンジニア • JAWS UG名古屋運営
• Cloudflare Meetup 名古屋運営 @k_miura_io koki.miura05
エディタの変遷
大学入学して • プログラムはターミナルでやるものという考えが刷り込まれていた • viでプログラムを書いて、保存、編集、カーソル移動をすべてキーボー ドでやることに最初慣れなかった • Mac、LinuxとUnixの世界に片足突っ込んだ
大学2年~就活直前 • メインの開発機がUbuntu • Vimでの開発を強要された • コピペはgedit(Ubuntuにある デフォルトのエディタ)
就活~大学院 • 東京の会社へ就活行った時に参加 した勉強会でAtomを知る • 自分好みのデザインにできるのが魅 力的 • カスタムしすぎるとクソ重くなる…
社会人になる直前 • MS製品のくせにクソ軽くて使いやすい… • どれだけ拡張機能いれても動作が重くな らない • 新卒時代の会社はIntelliJのライセンス付 与されてたけどそれでもブレずにVSCode を使ってたw
エディタ変遷 vi 大学入学 学部2年 gedit / Vim 学部4年 Atom 社会人になる直前
VSCode
大きな転機が…
英語配列のキーボードに鞍替え • 新卒時代のメンターの影響で英語配列のキー ボードを買う • 奮発してRealforceを買ったら思いの外フィッ トした(合わなかったら損するところだったw) • 出先でも英語配列を使いたくてHHKBも買う
久々にVimを触ってみたら… あれ、昔より使い やすくね? ↑ 社会に馴染めない僕(イメージ)
Vim / VSCodeの両刀遣いに Vimのキーバイン ドは合理的だけ ど、VSCodeの拡 張性は便利 両方のいいとこ取り できる方法はない だろうか…
会社の勉強会で… IntelliJにVim拡張機能入れて キーバインドをカスタムしてます ↑話を聞いている(ふりをしている)僕 そんなことできるんだ…
VSCodeにもそういう機能があった https://marketplace.visualstudio.com/items?itemName=vscodevim.vim
動かしたときの挙動
VSCodeのVim拡張 • エディタ内でのカーソル移動やコードのコピペ などがVimと同じように操作できる • VSCodeのショートカットも使えるが、それが Vimとかぶる時はVimが優先される • あくまでVimのキーバインドをエミュレートして いるだけなので自分で設定しているVim拡張
は使えない ↑ VSCodeのScreencastを有効にす るとキー入力を表示できる
Vim拡張を入れたことへの弊害 • 普段の作業を自分のVSCodeでやっているので人のVSCodeを使う時 に手癖でVimのキー操作をやってしまうw • 入れている拡張機能によってはフッターのVimの入力モードがわかり にくくなることがある • 編集前の状態に戻してもそのステータスがわかりにくくなる
まとめ • 元VimmerがVSCodeに拡張をいれることで両方のいいとこ取りをした エディタ環境を構築した • キー操作が効率よくなったが、他のエディタを触ると手癖がつくので要 注意 • VSCodeのScreencastは結構便利
宣伝 https://bit.ly/3QvlyVv
END