Tutorial: How to Use vi/vim on Linux and UNIX Intermediate Usage

Veröffentlicht am: 21 Februar 2019
auf dem Kanal: The Expat Professor
377
like

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


Auf dieser Seite können Sie das Online-Video Tutorial: How to Use vi/vim on Linux and UNIX Intermediate Usage mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer The Expat Professor 21 Februar 2019 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 377 Mal angesehen und es wurde von like den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!