Getting to Know Linux - Episode 004
vi (vim) Visual Editor
!!! Get VIM !!!
sudo apt-get install vim
!!! Alias VIM !!!
echo "alias vi='vim'" DOUBLE_ANGLE_BRACKETS ~/.bashrc
!!! Apply the Alias !!!
source ~/.bashrc
Two Primary Modes:
Command Mode (includes colon : commands)
Insert Mode
Three Required Commands:
i = Insert Text
[ESC]:q!
Leave insert mode, enter a colon-command, quit, do NOT save
[ESC]:wq
Leave insert mode, enter a colon-command, quit, SAVE
Useful Commands: (in COMMAND MODE)
a = append
o = open a new line
d = delete, used with a number or just another d
d100d = delete 100 lines
u = undo
p = put a line
/ = find: /hello will find the word "hello"
:%s/original/replacement/g = replace text
Getting to Know Linux, Introduction, Basics, First Steps, Paul W. Poteete, Linux Mint, vi, vim, visual editor
Please join me:
/ paulwpoteete
/ paulwpoteete
/ paulwpoteete
/ paulwpoteete
*all copyrighted materials in this video are the property of their respective owners.
#linux, #unix, #tutorial, #administration, #engineering, #beginner, #expert, #advanced, #intermediate, #training
On this page of the site you can watch the video online Tutorial: How to Use vi/vim on Linux and UNIX Intermediate Usage with a duration of hours minute second in good quality, which was uploaded by the user The Expat Professor 21 February 2019, share the link with friends and acquaintances, this video has already been watched 377 times on youtube and it was liked by like viewers. Enjoy your viewing!