Vim Tips
A collection of 31 posts

Start Learning Vim
Start learning Vim by following these Vim tips for beginners and advanced users.
ยท Abhishek Prakash

Using Tabbed Interface in Vim
Give Vim and IDE touch by using tabs to open multiple files. Yes, the same tab experience you have in a web browser or a regular text editor.
ยท Abhishek Prakash

Using Mouse Mode in Vim
Think of mouse mode in Vim like adding touchscreen controls to a cockpit - the physical switches and dials remain the primary interface, but the touchscreen provides intuitive access for certain operations.
ยท Abhishek Prakash

Using Split Windows With Vim
Vim allows you to use multiple windows in the same terminal screen. You can split them horizontally and vertically and move between them with shortcuts.
ยท Abhishek Prakash

Find and Replace Text in Vim
Here are a few examples to show how you can use the search and replace feature in the powerful Vim editor.
ยท Abhishek Prakash

Cut, Copy and Paste in Vim
Cut, copy and paste are essential functions of any text editor. Here's how to achieve that in Vim.
ยท Abhishek Prakash

Undo or Redo Changes in Vim
u key for undo and Ctrl+r for redo, that's all you need to do for undo and redo changes in Vim. Here's how it works.
ยท Abhishek Prakash

Save and Exit Vim
Learn how to save your changes in Vim. Also learn how to discard the changes and quit Vim.
ยท Abhishek Prakash

Select All Text in Vim
Learn to select all the lines, all the text of a file in Vim.
ยท Pratham Patel

Copy Paste Text to and from System Clipboard in Vim
Learn to configure Vim so that you can copy paste between Vim and other tools outside Vim through the system clipboard.
ยท Pratham Patel

Using Autocomplete in Vim
Autocompletion is a great way of being more efficient as a Vim user. Learn various ways of using auto-completion in Vim.
ยท Pratham Patel

Use vimdiff Like a Vim Pro
Want to see the difference between two files? Normal users use diff command. Pro Vim users go for vimdiff.
ยท Pratham Patel

Moving Around in Vim
Learn to navigate through the text, lines and file in Vim.
ยท Abhishek Prakash

Understand Vim Modes
Vim has three different modes for handling user input and processing them.
ยท Abhishek Prakash

How to Extend Vim's Functionality by Adding Plugins
Vim's functionality can be extended with plugins. Here is how you can install and use plugins in Vim. Also learn about updating and removing the plugins.
ยท Pratham Patel

Navigating Up or Down a Page in Vim
Learn various ways of moving up or down by pages in Vim editor.
ยท Abhishek Prakash

11 Pro Vim Tips to Get Better Editing Experience
You can learn plenty of Vim tips on your own, or you can learn it from others' experiences.
ยท Pratham Patel

Split Vim Workspace Vertically or Horizontally
Vim allows you to have multiple horizontal or vertical splits in your active workspace.
ยท Abhishek Prakash

Set Indentation Width to 2 or 4 Spaces (or Tab) in Vim
Prefer tabs to spaces? Here's how to set indentations to use spaces instead of tabs in Vim.
ยท Abhishek Prakash

Move Cursor to Beginning or End of Line in Vim
Learn some basic cursor movement in Vim editor.
ยท Abhishek Prakash

Complete Guide to Buffers in Vim
Use Vim like a pro user by mastering the buffers.
ยท Pratham Patel

Getting Comfortable with Visual Mode in Vim
There are three modes in Vim and the least popular and yet quite interesting is the Visual mode. Learn more about it.
ยท Pratham Patel

Go to a Specific Line in Vim
To effectively use Vim, you need to master the navigation. Here are a few tips on quickly navigating inside Vim editor.
ยท Abhishek Prakash

Color Schemes in Vim: How to Change and Use Them
Dark or light or something else? The all-rounder Vim editor lets you set color schemes of your preference. Here's how achieve that.
ยท Abhishek Prakash

Enable Syntax Highlighting in Vim
Using Vim for reading or writing scripts and code? Enable syntax highlighting in Vim for a better experience.
ยท Abhishek Prakash

Delete Multiple Lines in Vim
Want to delete multiple lines or all lines or all empty lines in Vim? Here are a few tips to know about line deletion in Vim.
ยท Abhishek Prakash

Show Hidden Special Characters in Vim
Wondering if it is 2 spaces or tabs? You can show special characters in Vim and easily identify them.
ยท Abhishek Prakash

Go to Beginning or End of File in Vim
Knowing to move to top or bottom of a file is extremely useful while dealing with large text files in Vim.
ยท Abhishek Prakash

How to Show Line Numbers in Vim
Do you know Vim can show absolute, relative and hybrid line numbers? Here's how to set it up.
ยท Abhishek Prakash

Delete All Lines of a File in Vim
Esc+gg+dG is what you need to do for deleting all the lines of the file in Vim. Here's how it works.
ยท Abhishek Prakash