SlideShare a Scribd company logo
Vim -  "Vi Improved" Ankit Malik [email_address]
Where Does Your Text Go? Where Does Your Text Go? A   Word   Processor   ? -  computer application used for the production of any sort of printable material. A Text Editor – A Program to write and edit plain text files. Eg. Notepad, Gedit, Kate, Nano, Pico, Emacs....Vim!
Vim Vim – Vi-Improved  Vi + lots of features = Vim! First public release in November 1992.
Simple But Powerful Simple to get started with. Powerful beast. Powerful – do more with less.
Example Code : For example : How do you move the cursor down by 30 lines -30 j How do you delete a word?  -dw What about deleting 100 lines? - 100dd How do you search the file for the current word that the cursor is currently placed on? - *
Optimises Hand Movements Doesn't require a mouse. Commands are (mostly) alpha – numeric characters. Optimisation helps in the long run. Compare with GUI  text editors.
Syntax Highligting Vim supports syntax highlighting for more than 180 languages.
Extensible Vim is extensible. One can write macros, plugins, scripts to extend Vim's functionality.
More Uses  Powerful searching : regular expressions. Auto indentation : useful for programmers. Split windows / tab windows. Multiple language support. And more...
Word of Caution  Getting started – beginner stuff – easy. Intermediate level – takes time and patience. Can be frustrating. But efficiency gained in the long run is worth the effort. So don't give up, if you plan to type a lot!
Hands-On-Session
Recap – Some Commands 1. Modes – i, ESC 2. Navigation – h,j,k,l, w, } 3. Cut/Copy/Paste – d,y,p  4. Searching - /<searchword> , n,p 5. (Not) Saving – w,q, wq, q!
The End Where to go from here? Vim Tutor - $ vimtutor 'A Byte of Vim' -  http://www.swaroopch.com/notes/Vim Questions? Feedback? Errata?

More Related Content

ODP
Shellscripting
Narendra Sisodiya
 
PPTX
Basics of shell programming
Chandan Kumar Rana
 
PDF
Vim Basics
parkerwightman
 
PPT
Vim Vi Improved
Tusharadri Sarkar
 
PDF
Vi IMproved, a programmers text editor
Bart Van Loon
 
PPTX
Vim survival guide
Ben McCormick
 
PDF
vim brownbag - Richard forth
EdwardElric59
 
PDF
Introduction to vim
Vysakh Sreenivasan
 
Shellscripting
Narendra Sisodiya
 
Basics of shell programming
Chandan Kumar Rana
 
Vim Basics
parkerwightman
 
Vim Vi Improved
Tusharadri Sarkar
 
Vi IMproved, a programmers text editor
Bart Van Loon
 
Vim survival guide
Ben McCormick
 
vim brownbag - Richard forth
EdwardElric59
 
Introduction to vim
Vysakh Sreenivasan
 

Similar to Vi (20)

PPTX
Introduction to Vi
MicroPyramid .
 
PDF
Byte of vim_v051
Neha Jain
 
PDF
Mission vim possible
Sam Gottfried
 
PDF
Vi Improved Vim First Edition Steve Oualline
zwangalobrio
 
ODP
Augusta Linux User Group - Vim Introduction
Keith Pickett
 
PDF
Unit 5 vim an advanced text editor
root_fibo
 
PPTX
Introduction to Vim
Brandon Liu
 
PDF
What is Vim?
Tatiana Tylosky
 
PPTX
lectuer 21-22.pptx
poonam256394
 
KEY
Vim week
RookieOne
 
PDF
Tuffarsi in vim
sambismo
 
PDF
The Joy of Vim
Johan Jansson
 
PPTX
VI Editor - R.D.Sivakumar
Sivakumar R D .
 
PDF
Linux text editors
InfoExcavator
 
PDF
Linux text editors Vim nano
Md Meherab Hossen
 
KEY
VIM for the PHP Developer
John Congdon
 
PDF
Vi Editor
Shiwang Kalkhanda
 
PDF
1_Editors_in_Unix
Gautam Raja
 
PDF
Mission vim possible-full
Sam Gottfried
 
PDF
Vi survival guide
Jadesh Chanda
 
Introduction to Vi
MicroPyramid .
 
Byte of vim_v051
Neha Jain
 
Mission vim possible
Sam Gottfried
 
Vi Improved Vim First Edition Steve Oualline
zwangalobrio
 
Augusta Linux User Group - Vim Introduction
Keith Pickett
 
Unit 5 vim an advanced text editor
root_fibo
 
Introduction to Vim
Brandon Liu
 
What is Vim?
Tatiana Tylosky
 
lectuer 21-22.pptx
poonam256394
 
Vim week
RookieOne
 
Tuffarsi in vim
sambismo
 
The Joy of Vim
Johan Jansson
 
VI Editor - R.D.Sivakumar
Sivakumar R D .
 
Linux text editors
InfoExcavator
 
Linux text editors Vim nano
Md Meherab Hossen
 
VIM for the PHP Developer
John Congdon
 
1_Editors_in_Unix
Gautam Raja
 
Mission vim possible-full
Sam Gottfried
 
Vi survival guide
Jadesh Chanda
 
Ad

More from Narendra Sisodiya (8)

PDF
JavaScript Prototype and Module Pattern
Narendra Sisodiya
 
ODP
Project Eduvid
Narendra Sisodiya
 
ODP
Develop FOSS project using Google Code Hosting
Narendra Sisodiya
 
ODP
Introduction to FOSS world
Narendra Sisodiya
 
ODP
video tools
Narendra Sisodiya
 
PDF
wireless conf
Narendra Sisodiya
 
ODP
Openoffice
Narendra Sisodiya
 
ODP
Python Presentation
Narendra Sisodiya
 
JavaScript Prototype and Module Pattern
Narendra Sisodiya
 
Project Eduvid
Narendra Sisodiya
 
Develop FOSS project using Google Code Hosting
Narendra Sisodiya
 
Introduction to FOSS world
Narendra Sisodiya
 
video tools
Narendra Sisodiya
 
wireless conf
Narendra Sisodiya
 
Openoffice
Narendra Sisodiya
 
Python Presentation
Narendra Sisodiya
 
Ad

Recently uploaded (20)

PPTX
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
PPTX
Care of patients with elImination deviation.pptx
AneetaSharma15
 
PPTX
Basics and rules of probability with real-life uses
ravatkaran694
 
PPTX
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
PPTX
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
PPTX
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
PDF
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
PPTX
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
PPTX
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
PPTX
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
PDF
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
PPTX
Sonnet 130_ My Mistress’ Eyes Are Nothing Like the Sun By William Shakespear...
DhatriParmar
 
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PPTX
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
PPTX
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
PPTX
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
DOCX
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
PPTX
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
PPTX
CDH. pptx
AneetaSharma15
 
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
Care of patients with elImination deviation.pptx
AneetaSharma15
 
Basics and rules of probability with real-life uses
ravatkaran694
 
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
Sonnet 130_ My Mistress’ Eyes Are Nothing Like the Sun By William Shakespear...
DhatriParmar
 
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
CDH. pptx
AneetaSharma15
 

Vi

  • 1. Vim - &quot;Vi Improved&quot; Ankit Malik [email_address]
  • 2. Where Does Your Text Go? Where Does Your Text Go? A Word Processor ? - computer application used for the production of any sort of printable material. A Text Editor – A Program to write and edit plain text files. Eg. Notepad, Gedit, Kate, Nano, Pico, Emacs....Vim!
  • 3. Vim Vim – Vi-Improved Vi + lots of features = Vim! First public release in November 1992.
  • 4. Simple But Powerful Simple to get started with. Powerful beast. Powerful – do more with less.
  • 5. Example Code : For example : How do you move the cursor down by 30 lines -30 j How do you delete a word? -dw What about deleting 100 lines? - 100dd How do you search the file for the current word that the cursor is currently placed on? - *
  • 6. Optimises Hand Movements Doesn't require a mouse. Commands are (mostly) alpha – numeric characters. Optimisation helps in the long run. Compare with GUI text editors.
  • 7. Syntax Highligting Vim supports syntax highlighting for more than 180 languages.
  • 8. Extensible Vim is extensible. One can write macros, plugins, scripts to extend Vim's functionality.
  • 9. More Uses Powerful searching : regular expressions. Auto indentation : useful for programmers. Split windows / tab windows. Multiple language support. And more...
  • 10. Word of Caution Getting started – beginner stuff – easy. Intermediate level – takes time and patience. Can be frustrating. But efficiency gained in the long run is worth the effort. So don't give up, if you plan to type a lot!
  • 12. Recap – Some Commands 1. Modes – i, ESC 2. Navigation – h,j,k,l, w, } 3. Cut/Copy/Paste – d,y,p 4. Searching - /<searchword> , n,p 5. (Not) Saving – w,q, wq, q!
  • 13. The End Where to go from here? Vim Tutor - $ vimtutor 'A Byte of Vim' - http://www.swaroopch.com/notes/Vim Questions? Feedback? Errata?

Editor's Notes

  • #2: Good morning, everybody – this is Ankit Malik, I am a 2 nd year student of the Mathematics department here at IITD. And I am here to give a presentation on Vim. Well, so a bit on the presentation - Well so I will start with a bit of introduction on text editors, then move on the main topic – Vim. I will talk about its features, its advantages, its disadvantages. Then I will end up with how to get started with using VIM. What I won&apos;t be discussing is the syntactic details of Vim.That is what command does what, pressing what keys give me what...So this is a presentation for beginners, so if you know what Vim is, well have fun spotting some errors!