Vim Text Editor Basics - How to Use Vim on Linux / Mac / Unix (Beginners Guide on Ubuntu 20.04)
Vim Text Editor Basics is a Tutorial on How to Use Vim on Linux / Mac / Unix. Learn the basics to navigate, edit, save, and exit a file using Vim. This Vim Text Editor Basics Tutorial will be shown on Linux, but applies to Mac and Unix based systems and is intended for beginners learning about Vim. Vim Text Editor Basics - How to Use Vim is a great place to start learning Vim. Look for commands used in video towards bottom.
Vim Text Editor is a Powerful Text Editor that's been around for a long time and helps you edit files on system terminals. This allows you to easily access a file and make quick edits either locally or remotely through ssh. It's a great skill to have if you like being efficient while browsing a file system and not having to use a graphical method in order to make changes to a file. Simply open the file with Vim make your edits and you're on your way. Explore Vim today!
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
📺Playlists:
Linux Installation Tutorials: https://www.youtube.com/playlist?list=PLKMOdY6Bhga79HzhzEV0pSx5asSXogalI
Linux Help & Talks: https://www.youtube.com/playlist?list=PLKMOdY6Bhga73aciZtlZgLmiKRdrQzyu0
Linux Reviews & Updates - https://www.youtube.com/playlist?list=PLKMOdY6Bhga5fAJjr4ItXN09KXf4dd0zz
C/C++ Linux Programming Series - https://www.youtube.com/playlist?list=PLKMOdY6Bhga7BUgPca5EX1J-JYQIbX5fn
Bash Shell Scripting for Beginners - https://www.youtube.com/playlist?list=PLKMOdY6Bhga5fmUcQQwhfL9thR_Yp1hZ7
Linux Virtual Machine Installs - https://www.youtube.com/playlist?list=PLKMOdY6Bhga6P1N38oD63-uKe4a6M5vsZ
📺Latest Videos:
Terminal Absolute Basics for Beginners - https://youtu.be/Us3G-nJYru0
Ubuntu 20.04 Install Tutorial - https://youtu.be/CFI1Jt8kVUk
Pop OS 20.04 Updates - https://youtu.be/krSEofL7-dc
__
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
#linux #linuxtutorial #savvytip
0:00 - Intro and About Vim
1:34 - Open First File with Vim
2:15 - Install Vim instead of using Vi
2:53 - Navigating a File with Vim
3:30 - Inserting Text into a file with Vim
4:40 - Undo Past Changes in Vim
5:17 - Quit out of Vim
6:30 - Save Changes to file using Vim
8:15 - Create a New File using Vim
9:00 - Open Another File using Vim to make edits
9:51 - Search for Specific Line in Vim
10:24 - Search for Specific Text in File using Vim
11:50 - Delete Lines in a File using Vim
13:21 - Recap of all operations/commands used in Vim w/ Explanation
16:00 - Using vimtutor command for more help
Make sure to Subscribe below for Future Installs, Updates, Reviews, and Tips!!!
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.