Getting Started Vim [On Raspberry Pi Linux]

preview_player
Показать описание
Getting Started Vim [On Raspberry Pi Linux]
I (tobor), demonstrate commands and knowledge to know when first getting started with vim and
ways to get started practicing to improve your skills. If you like what you see please Subscribe!

0:00 Intro Summary
1:11 Jump to top of file (gg)
1:15 Jump to bottom of file (G)
1:30 3 modes of Vim
1:41 Insert Mode (i, o, O, A)
1:58 Command Mode (ESC)
2:22 Different ways to enter Insert mode
3:15 Visual Mode (v, V)
3:27 Movement Keys (h, j, k, l)
4:20 Exit vim editor (:q!)
4:45 Save File (:w)
5:09 Enter shell from vim (:sh)
6:29 Save and Exit (:wq!)
6:39 View line numbers (:set number)
6:51 Hide line numbers (:set nonumber)
7:07 Movement Keys
7:15 Search for string
7:56 Issuing Sed Command in Vim (:%s/sudo apt-get install //g)
8:36 Undo action (u)
8:45 Replace character (r{char})
9:11 Jump to front of line (0)
9:19 Change case of letter (~)
9:38 Redo Action (.)
10:07 Move back a word (b)
10:15 Move forward a word (w)
10:40 Cut a word (dw)
10:53 Paste cut word or line (p)
11:02 Redo paste action (.)
11:15 Issue one command multiple times
11:32 Cut multiple lines for pasting (3dd, d3d)
12:27 Change word (cw)
13:07 Delete a character (x)
13:40 Go to a character (t{char}, f{char})
15:24 Use case demonstration
16:32 Cut and Paste -y
18:03 Creating a Macro in Vim (q{action_key})
26:25 Macro is saved for later usage in your session
26:58 Subscribe or Leave a Comment

View my Verified Certifications!

Follow us on GitHub!

Official Site

Give Respect on HackTheBox!

Like us on Facebook!

View PS Gallery Modules!

The B.T.P.S. Security Package
Рекомендации по теме
Комментарии
Автор

Hello! Thanks for this good video! I have learned some new things. I have some suggestions about macros:
[22:27] You don't need to quit vim. You can write ":echo 146-79" in the command line bellow and you will have your response (the command line in vim work like a RELP with vimL)
[23:44] You can also do that without calculating with ":79, 146normal! @w" and it will use your macro at those lines. You can also do some cool stuf with the global command (see :help global)
Thanks again

fabricehategekimana
join shbcf.ru