vim

esc:i   - insert mode
esc:q! -   quit and discard changes
esc:wq -   save and quit
esc:w -   save but not exit
esc: set number - display numbers of line
esc: syntax on - syntax higlithing on
esc: set tabstop=2  how many spaces with the tab
esc: set autoindent - autoindent


in vim editor
w - front of next word
b - backwords front of next word
0 - start of the line
$ - end of the line
G- end of the last line
I-end of the last line and allow you to typeing (insert mode)


configure your editor in ~/.vimrc

sample:

set number
syntax on
set autoindent


echo $MYVIMRC . // env var which points vim configuration file


V↓d -select everthing and delete



Komentarze

Popularne posty z tego bloga

Kubernetes

Helm

Ansible Tower / AWX