Submit Search
Upload
Productive text editing with Vim
•
0 likes
•
1,155 views
B
bryanbibat
Follow
Quick lightning talk for PyConPH 2012
Read less
Read more
Report
Share
Report
Share
1 of 35
Download now
Download to read offline
Recommended
Vi editor
Vi editor
Er Mittinpreet Singh
VI Editors
VI Editors
Deivanai
1359 Vi Editor
1359 Vi Editor
techbed
Introduction to vi editor
Introduction to vi editor
U.P Police
Tuffarsi in vim
Tuffarsi in vim
sambismo
VI editor in unix
VI editor in unix
Ahmed Fayyaz
Vi editor in linux
Vi editor in linux
Bhumivaghasiya
Linux notification
Linux notification
baran19901990
Recommended
Vi editor
Vi editor
Er Mittinpreet Singh
VI Editors
VI Editors
Deivanai
1359 Vi Editor
1359 Vi Editor
techbed
Introduction to vi editor
Introduction to vi editor
U.P Police
Tuffarsi in vim
Tuffarsi in vim
sambismo
VI editor in unix
VI editor in unix
Ahmed Fayyaz
Vi editor in linux
Vi editor in linux
Bhumivaghasiya
Linux notification
Linux notification
baran19901990
Vim Editor And Basic Scripting (Ch-7)
Vim Editor And Basic Scripting (Ch-7)
MohsinHusenManasiya
Vi editor
Vi editor
Ramakrishna kapa
Linux text editors
Linux text editors
InfoExcavator
Vi editor
Vi editor
Nidhi Sharma
Linux fundamental - Chap 07 vi
Linux fundamental - Chap 07 vi
Kenny (netman)
Turing Machine
Turing Machine
arwa wshyar
An approach to Programming Contests with C++
An approach to Programming Contests with C++
VNIT-ACM Student Chapter
Est 8 2 nd
Est 8 2 nd
Akshay Sharma
Turing machine by_deep
Turing machine by_deep
Deepjyoti Kalita
Turing machine - theory of computation
Turing machine - theory of computation
Rubaya Mim
Vi editor
Vi editor
bhatvijetha
Turing Machine
Turing Machine
AyAn KhAn
Presentacion vim
Presentacion vim
Icalia Labs
07 vi text_editor
07 vi text_editor
Shay Cohen
andrew's guide to vim
andrew's guide to vim
Andrew Yi
lectuer 21-22.pptx
lectuer 21-22.pptx
poonam256394
Introduction to Vim
Introduction to Vim
Brandon Liu
Vim Cheat Sheet.pdf
Vim Cheat Sheet.pdf
AdelinaBronda1
swl--3 (1).docx
swl--3 (1).docx
HimanshuKimothi
Vim and Python
Vim and Python
majmcdonald
Vi editor
Vi editor
ParikshitTaksande1
Vi Editor
Vi Editor
Shiwang Kalkhanda
More Related Content
What's hot
Vim Editor And Basic Scripting (Ch-7)
Vim Editor And Basic Scripting (Ch-7)
MohsinHusenManasiya
Vi editor
Vi editor
Ramakrishna kapa
Linux text editors
Linux text editors
InfoExcavator
Vi editor
Vi editor
Nidhi Sharma
Linux fundamental - Chap 07 vi
Linux fundamental - Chap 07 vi
Kenny (netman)
Turing Machine
Turing Machine
arwa wshyar
An approach to Programming Contests with C++
An approach to Programming Contests with C++
VNIT-ACM Student Chapter
Est 8 2 nd
Est 8 2 nd
Akshay Sharma
Turing machine by_deep
Turing machine by_deep
Deepjyoti Kalita
Turing machine - theory of computation
Turing machine - theory of computation
Rubaya Mim
Vi editor
Vi editor
bhatvijetha
Turing Machine
Turing Machine
AyAn KhAn
What's hot
(12)
Vim Editor And Basic Scripting (Ch-7)
Vim Editor And Basic Scripting (Ch-7)
Vi editor
Vi editor
Linux text editors
Linux text editors
Vi editor
Vi editor
Linux fundamental - Chap 07 vi
Linux fundamental - Chap 07 vi
Turing Machine
Turing Machine
An approach to Programming Contests with C++
An approach to Programming Contests with C++
Est 8 2 nd
Est 8 2 nd
Turing machine by_deep
Turing machine by_deep
Turing machine - theory of computation
Turing machine - theory of computation
Vi editor
Vi editor
Turing Machine
Turing Machine
Similar to Productive text editing with Vim
Presentacion vim
Presentacion vim
Icalia Labs
07 vi text_editor
07 vi text_editor
Shay Cohen
andrew's guide to vim
andrew's guide to vim
Andrew Yi
lectuer 21-22.pptx
lectuer 21-22.pptx
poonam256394
Introduction to Vim
Introduction to Vim
Brandon Liu
Vim Cheat Sheet.pdf
Vim Cheat Sheet.pdf
AdelinaBronda1
swl--3 (1).docx
swl--3 (1).docx
HimanshuKimothi
Vim and Python
Vim and Python
majmcdonald
Vi editor
Vi editor
ParikshitTaksande1
Vi Editor
Vi Editor
Shiwang Kalkhanda
015-Editing-Files-With-Vi.pdf
015-Editing-Files-With-Vi.pdf
ssuser584832
What is Vim?
What is Vim?
Tatiana Tylosky
Rubizza #1 | Special Lecture. Vim
Rubizza #1 | Special Lecture. Vim
Rubizza
VIM for (PHP) Programmers
VIM for (PHP) Programmers
ZendCon
Augusta Linux User Group - Vim Introduction
Augusta Linux User Group - Vim Introduction
Keith Pickett
tools
tools
tutorialsruby
tools
tools
tutorialsruby
Basics
Basics
viggyprabhu
Introduction to Vim, the text editor
Introduction to Vim, the text editor
Vysakh Sreenivasan
Elementary vim tricks
Elementary vim tricks
Ikuru Kanuma
Similar to Productive text editing with Vim
(20)
Presentacion vim
Presentacion vim
07 vi text_editor
07 vi text_editor
andrew's guide to vim
andrew's guide to vim
lectuer 21-22.pptx
lectuer 21-22.pptx
Introduction to Vim
Introduction to Vim
Vim Cheat Sheet.pdf
Vim Cheat Sheet.pdf
swl--3 (1).docx
swl--3 (1).docx
Vim and Python
Vim and Python
Vi editor
Vi editor
Vi Editor
Vi Editor
015-Editing-Files-With-Vi.pdf
015-Editing-Files-With-Vi.pdf
What is Vim?
What is Vim?
Rubizza #1 | Special Lecture. Vim
Rubizza #1 | Special Lecture. Vim
VIM for (PHP) Programmers
VIM for (PHP) Programmers
Augusta Linux User Group - Vim Introduction
Augusta Linux User Group - Vim Introduction
tools
tools
tools
tools
Basics
Basics
Introduction to Vim, the text editor
Introduction to Vim, the text editor
Elementary vim tricks
Elementary vim tricks
More from bryanbibat
Hd 10 japan
Hd 10 japan
bryanbibat
Static Sites in Ruby
Static Sites in Ruby
bryanbibat
So You Want to Teach Ruby and Rails...
So You Want to Teach Ruby and Rails...
bryanbibat
Git Basics (Professionals)
Git Basics (Professionals)
bryanbibat
Upgrading to Ruby 2.1, Rails 4.0, Bootstrap 3.0
Upgrading to Ruby 2.1, Rails 4.0, Bootstrap 3.0
bryanbibat
Version Control with Git for Beginners
Version Control with Git for Beginners
bryanbibat
Rails is Easy*
Rails is Easy*
bryanbibat
Things Future IT Students Should Know (But Don't)
Things Future IT Students Should Know (But Don't)
bryanbibat
Things IT Undergrads Should Know (But Don't)
Things IT Undergrads Should Know (But Don't)
bryanbibat
From Novice to Expert: A Pragmatic Approach to Learning
From Novice to Expert: A Pragmatic Approach to Learning
bryanbibat
Lambda Expressions in Java 8
Lambda Expressions in Java 8
bryanbibat
Preparing for the WebGeek DevCup
Preparing for the WebGeek DevCup
bryanbibat
Ruby and Rails by Example (GeekCamp edition)
Ruby and Rails by Example (GeekCamp edition)
bryanbibat
Latest Trends in Web Technologies
Latest Trends in Web Technologies
bryanbibat
Virtualization
Virtualization
bryanbibat
Some Myths in Software Development
Some Myths in Software Development
bryanbibat
Latest Trends in Open Source Web Technologies
Latest Trends in Open Source Web Technologies
bryanbibat
What it takes to be a Web Developer
What it takes to be a Web Developer
bryanbibat
Ruby and Rails by example
Ruby and Rails by example
bryanbibat
Ruby on Rails
Ruby on Rails
bryanbibat
More from bryanbibat
(20)
Hd 10 japan
Hd 10 japan
Static Sites in Ruby
Static Sites in Ruby
So You Want to Teach Ruby and Rails...
So You Want to Teach Ruby and Rails...
Git Basics (Professionals)
Git Basics (Professionals)
Upgrading to Ruby 2.1, Rails 4.0, Bootstrap 3.0
Upgrading to Ruby 2.1, Rails 4.0, Bootstrap 3.0
Version Control with Git for Beginners
Version Control with Git for Beginners
Rails is Easy*
Rails is Easy*
Things Future IT Students Should Know (But Don't)
Things Future IT Students Should Know (But Don't)
Things IT Undergrads Should Know (But Don't)
Things IT Undergrads Should Know (But Don't)
From Novice to Expert: A Pragmatic Approach to Learning
From Novice to Expert: A Pragmatic Approach to Learning
Lambda Expressions in Java 8
Lambda Expressions in Java 8
Preparing for the WebGeek DevCup
Preparing for the WebGeek DevCup
Ruby and Rails by Example (GeekCamp edition)
Ruby and Rails by Example (GeekCamp edition)
Latest Trends in Web Technologies
Latest Trends in Web Technologies
Virtualization
Virtualization
Some Myths in Software Development
Some Myths in Software Development
Latest Trends in Open Source Web Technologies
Latest Trends in Open Source Web Technologies
What it takes to be a Web Developer
What it takes to be a Web Developer
Ruby and Rails by example
Ruby and Rails by example
Ruby on Rails
Ruby on Rails
Productive text editing with Vim
1.
Productive Text Editing
with Vim Bryan Bibat pangkaraniwang developer
2.
Really old text-editors
vi – 35 years old vim – 20 years old
3.
Present in most
*nix machines
4.
Not just a
weird editor with an “Insert mode”
5.
i – insert
mode <esc> – normal mode :e – open file :w – write :q – quit
6.
vi – a
language for editing
7.
Tip 1: Use insert
mode only as needed.
8.
Tip 8: Plugins are
fun.
9.
Tip 3: Normal mode
is faster for navigation.
10.
Tip 2: “i” is
not the only way to go to insert mode.
11.
i – insert
mode at current a – (append) insert at next I – insert at beginning A – append at end of line
12.
o – new
line at next O – new line before
13.
Tip 3: Normal mode
is faster for navigation.
14.
Tip 3.1: Feel free
to use the arrow keys over h-j-k-l (though you shouldn't use them much).
15.
0 – beginning
of line $ – end of line w – next word e – end of next word b – prev word f[char] – find char on same line t[char] – 'til char
16.
* – next
same word # – prev same word
17.
/[pattern] – search
for pattern ?[pattern] – search backward n – next N – previous
18.
Tip 4:
Learn the many text manipulation commands.
19.
. – repeat
last action u – undo <ctrl>r – redo
20.
y – yank
(copy)
21.
Tip 4.1: Using certain
commands twice will apply the command to the current line.
22.
d – delete c
– change (go to insert)
23.
Tip 5: You must
learn combining commands with motion commands.
24.
ct[space] - replace
everything until space
25.
Tip 6: Visual mode
allows you to select text.
26.
v – enter
visual mode V – enter visual line mode
27.
Tip 7: Split screen
and tabs can make programming more convenient.
28.
:split – horizontal
split :vsplit – vertical split ctrl-w[direction] – switch :tabnew – new tab gt – change tab
29.
Tip 8: Plugins are
fun.
30.
Tip 9: Learn a
new thing every day/week.
31.
32.
33.
Thank you for
listening! github.com/bryanbibat @bry_bibat pd.bryanbibat.net
34.
35.
Thank you for
listening! github.com/bryanbibat @bry_bibat pd.bryanbibat.net
Download now