Telegram- 👇 😉
-
. WIKIMERIONET
Merion Mertics , ,

CRM

4

Vim \ , . .


Vim

: , ex mode ( ). vim %file_name% - , Vim . "i" . , \\ : ":" () , Escape .


, : https://www.fprintf.net/vimCheatSheet.html, .

, , h, j, k, l.

  vim  Linux
  • h -
  • j
  • k
  • l

, , "aesr1001k", "aesr-1001k" . , "w", "b". , ?:)

- ( "V" ( ),"v"( ) "Ctrl-v"( ) . "y" . "p" , , .

:

  • d x -
  • dw -
  • db -
  • dd -
  • d$ -
  • d^ -

- ? , : "/" - , "?" - . : :/ipaddress

:s, , : :%s/192.168.1.1/192.168.2.2/ - , 192.168.1.1 192.168.2.2. "gc" - :%s/192.168.1.1/192.168.2.2/gc

Undo, "u" - , , . (. UnUndo) "Ctrl+r".

Vi, .

. :

  • :w
  • :wq :x -
  • :q! -
  • :w %file_name% -

, , Vim , , - . Vim , .