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
Yun Chen
October 01, 2014
Programming
290
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
490
Redis Lua Script With Red Envelope & Message Queue
chenyunchen
0
710
Kubernetes Library with client-go
chenyunchen
0
570
[Graduate Project] Drupal Upgrade & Docker Deploy
chenyunchen
0
210
WECO Porject
chenyunchen
0
130
From Python Import Fun
chenyunchen
0
500
Docker
chenyunchen
2
270
NISRA fun with burp suite
chenyunchen
1
320
Fun with programming
chenyunchen
0
260
Other Decks in Programming
See All in Programming
Seven New Principles of Software Engineering
yegor256
0
390
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
220
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
150
Crash Auto Pipelines
veronikapj
1
170
自作Discord音声botをLambda MicroVMsに移行した話 / Migrating My Discord Voice Bot to Lambda MicroVMs
akihisaikeda
0
190
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2k
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
1.7k
パスワード再設定メールのURLについて知っておこう
uyuki234
0
200
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
1.9k
AI Augmentation Techniques with Liberty
ivargrimstad
0
190
Next.js: The final boss of Web Performance
guaca
0
370
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
3
1.3k
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
390
The World Runs on Bad Software
bkeepers
PRO
72
12k
Unsuck your backbone
ammeep
672
58k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
New Earth Scene 8
popppiees
4
2.7k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
510
ラッコキーワード サービス紹介資料
rakko
5
5.6M
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
340
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