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
Alex
March 04, 2019
Technology
150
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Vim 基本操作
Alex
March 04, 2019
More Decks by Alex
See All by Alex
How to integrate GitLab CICD into B2B service.pdf
alexsu
0
310
Jenkins Quick Guide
alexsu
0
140
Top IDEs & Code Editors for Data Science
alexsu
0
46
Shell scripting 基本教學
alexsu
0
50
Linux_Command-line_指令與基本操作.pdf
alexsu
0
130
Introduction to Git for Data Science
alexsu
0
300
Other Decks in Technology
See All in Technology
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
4
1.1k
フロントエンドカンファレンス関西2026 - 速すぎるUIに、待ち時間を
teamlab
PRO
0
130
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
870
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
230
夫婦で子育てするための育児標準化
codmoninc
PRO
0
340
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
580
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
170
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
470
AI駆動で「他アプリの音を加工できる」アプリを作った
satomasahiro2005
0
150
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
190
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
160
Featured
See All Featured
Visualization
eitanlees
153
17k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Making the Leap to Tech Lead
cromwellryan
135
10k
Designing Experiences People Love
moore
143
24k
Building Applications with DynamoDB
mza
96
7.2k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
The SEO Collaboration Effect
kristinabergwall1
1
590
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Writing Fast Ruby
sferik
630
63k
Side Projects
sachag
456
43k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Optimising Largest Contentful Paint
csswizardry
37
4k
Transcript
Vim 基本操作 蘇民弦 (Alex)
Vim 特色 • Linux 預設編輯器,一定要會基本的操作。 • 其他編輯器都要另外安裝。 • 高度客製化,一個會跟著自己成長的編輯器。 •
使用鍵盤控制一切操作,加速開發速度。 • 上手難度非常高。
Vim 常見的幾個模式 • 一般模式 (Normal mode):不能編輯文字,只能移動游標。 • 編輯模式 (Insert mode):可以自由編輯文字,移動游標。
• 可視模式 (Visual mode):選取區塊、複製貼上文字。 • 命令列模式 (Command-line mode):輸入指令、文字搜索。
Vim 基本指令 - 1 • vim ebird.r # 新增一個 ebird.r
檔案 • i # 進入 insert mode • esc # 回到 normal mode • v # 選取文字 (visual mode) • y # 儲存選取的文字 • p # 貼上選取的文字 • :wq # 儲存後退出
Vim 基本指令 - 2 • $ # 移動到最末端 • 0
# 移動到最前端 • > # 選取後多行縮排 • < # 反縮排 • d # 刪除 • dd # 刪除一整行
Vim 基本指令 - 3 • u # 回復到上一個動作 • /<字串>
# 向下搜尋字串,按 n 向下跳轉 • ?<字串> # 向上搜尋字串,按 N 向上跳轉 • :w # 儲存檔案 • gg # 跳到第一行 • G # 跳到最後一行 • 5G # 跳到第五行
Vim 配置 在家目錄的 ./~vimrc 檔案,如果沒發現的話就自 己新增一個,也可以用我自己寫的配置啦,或者參 考我以前寫的教學文章。
我的孩子長這樣