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
Alex
March 04, 2019
Technology
140
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
120
Introduction to Git for Data Science
alexsu
0
300
Other Decks in Technology
See All in Technology
AI時代におけるプロダクト横断勉強会の設計
zozotech
PRO
0
150
Azure App Service / Container Apps の組み込み認証
kuniteru
0
190
どんな手を使っても絶対間に合わせるスケジューラ
asari194617
0
1.6k
推論の観測、できていますか? 〜 Google Cloud Gemini Enterprise Agent Platformで 3つの Gemini モデルを実測して踏んだ、評価の罠 〜
shukob
PRO
0
150
AIエージェントを雇う前に決める5つのこと
knishioka
1
160
書籍『生成AIの安全性入門』の入門
wataoka
0
210
振り返りこそエンジニアの本領
negima
0
290
AI時代に、プロダクトの数だけ積み上がる所有コストをどうエンジニアリングするか / Engineering the Cost of Ownership
kzkmaeda
0
1k
Redmine 7.0で私が開発した新機能の狙いと背景
vividtone
1
110
#jawssonic2026 あの時代が悪かった ~動かなかったSageMakerと共に迎えたイベント当日~
ktkn1129
0
130
enechainの内製セルフサービスプラットフォーム
hiyosi
0
110
全員がプロダクトへ向き合う組織を持続成長させるために——組織づくりのフライホイールと4象限 / The Flywheel Model and Four Quadrants for Organizational Design
hiro_torii
3
830
Featured
See All Featured
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
600
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
500
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
290
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
320
Building AI with AI
inesmontani
PRO
1
1.2k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.1k
Prompt Engineering for Job Search
mfonobong
0
440
How to Ace a Technical Interview
jacobian
281
24k
Technical Leadership for Architectural Decision Making
baasie
3
550
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Practical Orchestrator
shlominoach
191
12k
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 檔案,如果沒發現的話就自 己新增一個,也可以用我自己寫的配置啦,或者參 考我以前寫的教學文章。
我的孩子長這樣