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

Publicado em: 21 Fevereiro 2019
no canal de: 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


Nesta página do site você pode assistir ao vídeo on-line Tutorial: How to Use vi/vim on Linux and UNIX Intermediate Usage duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário The Expat Professor 21 Fevereiro 2019, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 377 vezes e gostou like espectadores. Boa visualização!