SlideShare a Scribd company logo
How to use
VIM
SungMin Han
Contents
1
2
3
4
Getting Started
Vim plugins
Cheat sheet
References
Getting Started
Vim (Vi IMproved) is CUI(Character User Interface) base text editor
Getting Started
You can check vi command in your terminal right now!
Recent version of Linux (Including MacOS) support vi alias binding with vim command
You can check vi command in your terminal right now!
Recent version of Linux (Including MacOS) support vi alias binding with vim command
What is Vim?
First, Watch some Vim demo
The ”TEXT EDITOR”
Insert Mode Command Mode Visual Mode
Normal ModeESC
Press i
ESC
Press vPress :
Basically, Vim is text editor what built in your OS.
However, there is a little different concept compare with the other editors
What is Vim?
Plugins
Vim support extensions (aka. plugin).
Those plugin helps to use the additional functions in your Vim.
Vim
vi
vi
improved
Vundle Space
plugin A plugin B plugin C
Quick start to use Vim plugin!
Install Vundle.vim
Check follows link to get a snippet
https://gist.oss.navercorp.com/kenneth-ceyer/a640cc7d21e047578be0454d37a510c4
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim’
call vundle#end()
filetype plugin indent on
git clone https://github.com/VundleVim/Vundle.vim.git
~/.vim/bundle/Vundle.vim
1. Clone Vundle.vim repository from Github.
2. Create ~/.vimrc file in your home directory.
Quick start to use Vim plugin!
Install Vundle.vim
vi
1. Open vim editor again.
2. If you can see the vim interface without any errors, which mean you successfully installed Vundle.vim!
Quick start to use Vim plugin!
Install the other plugins
Check follows link to get a snippet
https://gist.oss.navercorp.com/kenneth-ceyer/16ca02aac8126b70ea8f91b740079b12
vi ~/.vimrc
1. Open ~/.vimrc again.
2. Use command mode, And turn on line numbers with set number command (type“set nu” and `Enter`!)
:set num
3. Append follow lines from 8 line
Plugin 'tpope/vim-surround'
Plugin 'vim-airline/vim-airline'
4. Use `w` command to write contents in your disk
:w
Quick start to use Vim plugin!
Install the other plugins
:PluginInstall
5. Use command mode again, type “PluginInstall”, and `Enter`!
6. Finally, You can see the result as like follow
:q
7. Exit installer panel with `q` command of command mode.
Quick start to use Vim plugin!
Install the other plugins
8. Tada!
Quick start to use Vim plugin!
Install the other plugins
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-surround'
Plugin 'vim-airline/vim-airline'
Plugin 'itchyny/lightline.vim'
Plugin 'junegunn/fzf'
Plugin 'tpope/vim-eunuch'
Plugin 'scrooloose/nerdtree'
Plugin 'editorconfig/editorconfig-vim'
Plugin 'mattn/emmet-vim'
Plugin 'w0rp/ale'
Plugin 'airblade/vim-gitgutter'
Plugin 'terryma/vim-multiple-cursors'
Add more plugins and Happy hacking
Cheat sheet
Vim editor looks so good And seems to be simple.
But Unfortunately, Vim has a different system compare with the other editors
References
Plugins
User Guide
Vundle.vim Github
10 Essential Vim plugins for 2018
Vim Awesome
Raddit: Top 5 Best Vim Plugins
https://github.com/VundleVim/Vundle.Vim#quick-start
https://medium.com/@huntie/10-essential-vim-plugins-for-2018-39957190b7a9
https://vimawesome.com/
https://www.reddit.com/r/vim/comments/6562vs/top_5_best_vim_plugins_in_2017/
Mapping keys in Vim
Vim Shortcut
http://vim.wikia.com/wiki/Mapping_keys_in_Vim_-_Tutorial_(Part_1)
https://gist.github.com/awidegreen/3854277
Thank you

More Related Content

PPTX
Windows command N to O
PDF
The useful guide to set up Magento 2.0
DOCX
My bro procedure
ODP
How to start Django automatically after restarting development or local syste...
ODP
ClusterDesktop easy use from Android
PDF
linux-installation
PDF
Virtualization session 7 by Gugan
PDF
Installing Tomcat on Ubuntu Instance
Windows command N to O
The useful guide to set up Magento 2.0
My bro procedure
How to start Django automatically after restarting development or local syste...
ClusterDesktop easy use from Android
linux-installation
Virtualization session 7 by Gugan
Installing Tomcat on Ubuntu Instance

What's hot (15)

PDF
How To Create The Ubuntu 20 VM Template For VMware Automation
ODP
OBS and You
PDF
Play Framework in EC2
PPTX
PHP Error installing During Magento 2
PPTX
Installar rpm consola__install_rpm_consola
PDF
Kannel configuration step by step with Motorolla Razer
TXT
ODP
ClusterDesktop how-to use from iPhone / iPad
PDF
Programming atmega using boot loader
PDF
Uses of tmux explained
DOCX
Run Docker On Windows Using Vagrant
PDF
Installing Lamp Stack on Ubuntu Instance
DOCX
.Net framework 4.5 on raspberry pi
PPTX
Denial of service attack part 2
PPTX
How do I update the crawford slackware box so that it is running the most up ...
How To Create The Ubuntu 20 VM Template For VMware Automation
OBS and You
Play Framework in EC2
PHP Error installing During Magento 2
Installar rpm consola__install_rpm_consola
Kannel configuration step by step with Motorolla Razer
ClusterDesktop how-to use from iPhone / iPad
Programming atmega using boot loader
Uses of tmux explained
Run Docker On Windows Using Vagrant
Installing Lamp Stack on Ubuntu Instance
.Net framework 4.5 on raspberry pi
Denial of service attack part 2
How do I update the crawford slackware box so that it is running the most up ...
Ad

Similar to How to use vim (20)

PDF
Vim and Python
KEY
zhng your vim
ODP
Coding In Vim
KEY
Vim week
PDF
vim brownbag - Richard forth
PDF
Vi Improved Vim First Edition Steve Oualline
PDF
Introduction to Vim plugins developed by non-Japanese Vimmer (English version)
PDF
Using VIM for PHP/Symfony development
PPT
Mastering the Linux vi Editor: Essential Commands and Techniques
PDF
Vundle: Managing Vim Plugins With Sanity
PDF
Vim Notes
PDF
Vim Rocks!
PPTX
andrew's guide to vim
PDF
PPTX
Introduction to Vi
PPT
PDF
Useful Vim Plugins
PDF
Vim Hacks (OSSF)
PDF
Tuffarsi in vim
PDF
Introduction to vim
Vim and Python
zhng your vim
Coding In Vim
Vim week
vim brownbag - Richard forth
Vi Improved Vim First Edition Steve Oualline
Introduction to Vim plugins developed by non-Japanese Vimmer (English version)
Using VIM for PHP/Symfony development
Mastering the Linux vi Editor: Essential Commands and Techniques
Vundle: Managing Vim Plugins With Sanity
Vim Notes
Vim Rocks!
andrew's guide to vim
Introduction to Vi
Useful Vim Plugins
Vim Hacks (OSSF)
Tuffarsi in vim
Introduction to vim
Ad

More from Kenneth Ceyer (15)

PDF
이미지 프로세싱 in Python Open Source - PYCON KOREA 2020
PDF
정적 컨텐츠 제너레이터 GatsbyJS에 대해서 알아봅시다.
PDF
LP(linear programming) Algorithm
PDF
AI 연구자를 위한 클린코드 - GDG DevFest Seoul 2019
PPTX
하둡 에코시스템 위에서 환상적인 테이크오프 - DSTS 2019
PPTX
AllReduce for distributed learning I/O Extended Seoul
PDF
gRPC와 goroutine 톺아보기 - GDG Golang Korea 2019
PDF
Test and refactoring
PPTX
Deep dive into Modern frameworks - HTML5 Forum 2018
PDF
우아하게 준비하는 테스트와 리팩토링 - PyCon Korea 2018
PPTX
GDG DevFest 2017 Seoul 프론트엔드 모던 프레임워크 낱낱히 파헤치기
PPTX
엔지니어 관점에서 바라본 데이터시각화
PDF
Dealing with Python Reactively - PyCon Korea 2017
PDF
파이썬 리액티브하게 짜기 - PyCon Korea 2017
PDF
AngularJS 2, version 1 and ReactJS
이미지 프로세싱 in Python Open Source - PYCON KOREA 2020
정적 컨텐츠 제너레이터 GatsbyJS에 대해서 알아봅시다.
LP(linear programming) Algorithm
AI 연구자를 위한 클린코드 - GDG DevFest Seoul 2019
하둡 에코시스템 위에서 환상적인 테이크오프 - DSTS 2019
AllReduce for distributed learning I/O Extended Seoul
gRPC와 goroutine 톺아보기 - GDG Golang Korea 2019
Test and refactoring
Deep dive into Modern frameworks - HTML5 Forum 2018
우아하게 준비하는 테스트와 리팩토링 - PyCon Korea 2018
GDG DevFest 2017 Seoul 프론트엔드 모던 프레임워크 낱낱히 파헤치기
엔지니어 관점에서 바라본 데이터시각화
Dealing with Python Reactively - PyCon Korea 2017
파이썬 리액티브하게 짜기 - PyCon Korea 2017
AngularJS 2, version 1 and ReactJS

Recently uploaded (20)

PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Introduction to Artificial Intelligence
PPTX
ai tools demonstartion for schools and inter college
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
System and Network Administration Chapter 2
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
L1 - Introduction to python Backend.pptx
PDF
top salesforce developer skills in 2025.pdf
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Transform Your Business with a Software ERP System
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
medical staffing services at VALiNTRY
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Introduction to Artificial Intelligence
ai tools demonstartion for schools and inter college
Navsoft: AI-Powered Business Solutions & Custom Software Development
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Internet Downloader Manager (IDM) Crack 6.42 Build 41
How to Choose the Right IT Partner for Your Business in Malaysia
Upgrade and Innovation Strategies for SAP ERP Customers
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
System and Network Administration Chapter 2
PTS Company Brochure 2025 (1).pdf.......
L1 - Introduction to python Backend.pptx
top salesforce developer skills in 2025.pdf
Softaken Excel to vCard Converter Software.pdf
Transform Your Business with a Software ERP System
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
medical staffing services at VALiNTRY
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
VVF-Customer-Presentation2025-Ver1.9.pptx

How to use vim

  • 3. Getting Started Vim (Vi IMproved) is CUI(Character User Interface) base text editor
  • 4. Getting Started You can check vi command in your terminal right now! Recent version of Linux (Including MacOS) support vi alias binding with vim command
  • 5. You can check vi command in your terminal right now! Recent version of Linux (Including MacOS) support vi alias binding with vim command What is Vim? First, Watch some Vim demo
  • 6. The ”TEXT EDITOR” Insert Mode Command Mode Visual Mode Normal ModeESC Press i ESC Press vPress : Basically, Vim is text editor what built in your OS. However, there is a little different concept compare with the other editors What is Vim?
  • 7. Plugins Vim support extensions (aka. plugin). Those plugin helps to use the additional functions in your Vim. Vim vi vi improved Vundle Space plugin A plugin B plugin C
  • 8. Quick start to use Vim plugin! Install Vundle.vim Check follows link to get a snippet https://gist.oss.navercorp.com/kenneth-ceyer/a640cc7d21e047578be0454d37a510c4 set nocompatible filetype off set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'VundleVim/Vundle.vim’ call vundle#end() filetype plugin indent on git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim 1. Clone Vundle.vim repository from Github. 2. Create ~/.vimrc file in your home directory.
  • 9. Quick start to use Vim plugin! Install Vundle.vim vi 1. Open vim editor again. 2. If you can see the vim interface without any errors, which mean you successfully installed Vundle.vim!
  • 10. Quick start to use Vim plugin! Install the other plugins Check follows link to get a snippet https://gist.oss.navercorp.com/kenneth-ceyer/16ca02aac8126b70ea8f91b740079b12 vi ~/.vimrc 1. Open ~/.vimrc again. 2. Use command mode, And turn on line numbers with set number command (type“set nu” and `Enter`!) :set num 3. Append follow lines from 8 line Plugin 'tpope/vim-surround' Plugin 'vim-airline/vim-airline' 4. Use `w` command to write contents in your disk :w
  • 11. Quick start to use Vim plugin! Install the other plugins :PluginInstall 5. Use command mode again, type “PluginInstall”, and `Enter`! 6. Finally, You can see the result as like follow :q 7. Exit installer panel with `q` command of command mode.
  • 12. Quick start to use Vim plugin! Install the other plugins 8. Tada!
  • 13. Quick start to use Vim plugin! Install the other plugins Plugin 'VundleVim/Vundle.vim' Plugin 'tpope/vim-surround' Plugin 'vim-airline/vim-airline' Plugin 'itchyny/lightline.vim' Plugin 'junegunn/fzf' Plugin 'tpope/vim-eunuch' Plugin 'scrooloose/nerdtree' Plugin 'editorconfig/editorconfig-vim' Plugin 'mattn/emmet-vim' Plugin 'w0rp/ale' Plugin 'airblade/vim-gitgutter' Plugin 'terryma/vim-multiple-cursors' Add more plugins and Happy hacking
  • 14. Cheat sheet Vim editor looks so good And seems to be simple. But Unfortunately, Vim has a different system compare with the other editors
  • 15. References Plugins User Guide Vundle.vim Github 10 Essential Vim plugins for 2018 Vim Awesome Raddit: Top 5 Best Vim Plugins https://github.com/VundleVim/Vundle.Vim#quick-start https://medium.com/@huntie/10-essential-vim-plugins-for-2018-39957190b7a9 https://vimawesome.com/ https://www.reddit.com/r/vim/comments/6562vs/top_5_best_vim_plugins_in_2017/ Mapping keys in Vim Vim Shortcut http://vim.wikia.com/wiki/Mapping_keys_in_Vim_-_Tutorial_(Part_1) https://gist.github.com/awidegreen/3854277