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

Publicado el: 21 febrero 2019
en el 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


En esta página del sitio puede ver el video en línea Tutorial: How to Use vi/vim on Linux and UNIX Intermediate Usage de Duración hora minuto segunda en buena calidad , que subió el usuario The Expat Professor 21 febrero 2019, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 377 veces y le gustó like a los espectadores. Disfruta viendo!