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
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Yun Chen
October 01, 2014
Programming
260
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Vim
The best code editor
Yun Chen
October 01, 2014
More Decks by Yun Chen
See All by Yun Chen
How we build microservices with Kubernetes & Kafka
chenyunchen
3
470
Redis Lua Script With Red Envelope & Message Queue
chenyunchen
0
680
Kubernetes Library with client-go
chenyunchen
0
550
[Graduate Project] Drupal Upgrade & Docker Deploy
chenyunchen
0
190
WECO Porject
chenyunchen
0
130
From Python Import Fun
chenyunchen
0
480
Docker
chenyunchen
2
260
NISRA fun with burp suite
chenyunchen
1
290
Fun with programming
chenyunchen
0
230
Other Decks in Programming
See All in Programming
Go 1.27 における memory allocation の高速化
andpad
0
270
freee が目指す データ マネジメント戦略 AI-Ready 時代を支える 攻めのガバナンスとは
freee
PRO
0
440
AI時代に設計が 最大の生産性レバーになる 意図駆動開発とデータを消さない設計|Don't Delete Your Data or Your Intent — Design as the Deepest Lever in the AI Era
tomohisa
1
1.1k
【QA Test Talk Vol.8】AI-DLC による Whole Team Approach の加速
pkshadeck
PRO
0
220
関東Kaggler会_NVIDIA_Nemotron_コンペ_振り返り
rick_ds
0
670
進化を続けるGo toolsの現在地 / The Current State of Ever-Evolving Go Tools
hond0413
0
240
生成AIで帳票OCRが「簡単に」作れる時代になった?
kon_shou
0
1.1k
書籍「プロフェッショナルAI駆動開発」紹介スライド
juntaromatsumoto
0
220
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
220
AIを紡ぐPMのお話
swdtkuy
0
120
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
340
VibeCodingからAgenticWorkflowへ
starfish719
0
700
Featured
See All Featured
First, design no harm
axbom
PRO
2
1.3k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Site-Speed That Sticks
csswizardry
13
1.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
Leo the Paperboy
mayatellez
8
2.2k
How to Think Like a Performance Engineer
csswizardry
28
2.7k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
Making the Leap to Tech Lead
cromwellryan
135
10k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
sira's awesome portfolio website redesign presentation
elsirapls
0
330
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
490
How to make the Groovebox
asonas
2
2.3k
Transcript
Vim! The best code editor Yun Chen
Why Vim? • C/C++ -> DevC++ 、 Code::Blocks • Java
-> JCreater 、 Eclipse • Python -> PyPE 、 codeEditor And more … … … …
Why Vim? • Eclipse 打開快睡著 ZZZ (包袱太重) • 不同語⾔言可能有不同的專屬編輯軟體 •
承上…要能順利安裝完他們更想哭 • 同時編寫數個不同語法需快速切換檔案 And more … … … …
Why Vim? • 開放原始碼,能按照⾃自⼰己的需求調整 • Github能找到所有你想要的功能 • ⽀支援你想得到的語法 keyword 顏⾊色標記
• 編寫其它語法不需要重新習慣編輯環境 And more … … … …
Why not other editor? • Sublime • Notepad++ • Dreamweaver
• TextWrangler And more … … … …
因為不夠帥(誤)
Why not other editor? • 新的語法可能沒辦法⽴立即⽀支援(swift) • 鍵盤指令較無Vim完善 • 強迫⾃自⼰己⼿手保持於鍵盤上(不⽤用到滑⿏鼠)
• Freeeeeeeeeeeeeeeeeeeeeeeeeeeee And more … … … …
None
Vim Command Ctrl + z: Back to Terminal ; fg:
Back to Vim Ctrl + w: Delete a word ; Ctrl + u: Delete a line Ctrl + r: Find history command
Vim Command i a o: 編輯模式 v V: 視覺模式 Ctrl
+ c , Ctrl + [: Back to Normal
None
Vim Command w W: ⼀一次跳⼀一個字 (往後) ! b B: ⼀一次跳⼀一個字
(往前) ! g: 同⾏行微移動 ! gg: 直接到⽂文件最前 ! G: 直接到⽂文件最後 f F + [字元]: 尋找特殊字元
Vim Command zz: 游標畫⾯面置中 zb: 游標畫⾯面置底 zt: 游標畫⾯面置底
Vim Command :/[⽂文字]: 搜尋關鍵字 n: 下⼀一個 N: 上⼀一個
None
Vim Command :new: 上下開新視窗 ! :vnew: 左右開新視窗 ! ctrl+ww: 切換⾄至上⼀一個視窗
! ctrl+hjkl: 上下左右切換式窗
None
Vim Command :e + 檔名: 開新檔案,原本的放背景 ! :ls: 列出⺫⽬目前開出檔案 !
:b2: 跳到第2個vim(多個的情況) ! :bd: 關掉當前⾴頁⾯面,但不會關掉 VIM
Vim Command D: 刪除後⾯面所有段落 C: 刪除前⾯面所有段落 x: 砍掉當下的⼀一個字
Vim Command !! + Shell: 呼叫 Shell ! >>: 該⾏行縮排
(往後) ! <<: 該⾏行縮排 (往前) ! ~: ⼀一個字元⼤大⼩小寫互換
None
Vim Command y: 複製選取 ! yy: 複製整⾏行 ! p: 貼上
Vim too ugly?
Try eddie-vim sh <(curl -L https://github.com/kaochenlong/eddie-vim/ raw/master/utils/install.sh) sh <(wget --no-check-certificate
https://github.com/ kaochenlong/eddie-vim/raw/master/utils/install.sh -O -) Not so hard right?
Upgrade your vim
Then…Find you want • 1. Go to Github • 2.
Type “vim-ls” (like:LiveScript) • 3. Clone it!(git clone git://github.com/gkz/vim-ls.git) • 4.Done! (It’s Easy)
Q & A