Vim Text Editor Basics - How to Use Vim on Linux / Ubuntu (Beginners Guide)
Learn how to use Vim Text Editor Basics on Ubuntu 22.04 LTS (Linux). Learn the basics including navigate, edit, save, and exit a file using Vim. This Vim Text Editor Basics Tutorial is intended for beginners learning about Vim. Vim Text Editor Basics - How to Use Vim is a great place to start learning commands for Linux.
My Linux Cheat Sheet and 25 Page Checklist here:
📚 https://learn.savvynik.com
Share this free tool and support Small YouTubers
https://editbulk.com
(I made this tool to help creators)
Want more info/content?
https://savvynik.com
Useful Commands from Video:
vim /path/to/file - opens up a current file
vim somefilename - this creates a new file called somefilename
j k h l / arrow keys - to navigate through the file using vim
i - lets you insert text wherever the cursor currently is
o - creates a new line under where your cursor and allows to insert text
:q! - quits out and disregards all changes to the file
:x - saves and exits out of a file
:/sometext - vim will try to find sometext inside the file
n - will go to the next occurance of sometext
N - will go to the previous occurance of sometext
:5 - this will go to line 5 in the file
dd - will delete the current line where cursor is located
5dd - will delete 5 lines after and including the line where the cursor is
u - this will undo the last change made
shift+g - takes you to the bottom of a file
gg - will take you to the top of a file
0:00 - Vim instead of Vi
1:19 - Opening our First File
1:55 - Navigating a File
2:40 - Inserting Text
4:00 - Undo Changes
4:50 - Quit out of Vim
6:15 - Save Changes to File
7:10 - Create a New File
8:05 - Find Specific Line
9:00 - Search for Specific Text
10:40 - Delete Lines
12:20 - Copy/Paste
13:00 - Bonus Help!
#linux #vim #opensource
Other Videos By SavvyNik
Other Statistics
The Beginner's Guide Statistics For SavvyNik
Currently, SavvyNik has 1,791,232 views for The Beginner's Guide across 92 videos. The Beginner's Guide has approximately 19 hours of watchable video on his channel, or 9.30% of the total watchable video on SavvyNik's YouTube channel.