# Vim

* vim: abrir `file`com vim

```sh
vim file
```

* vim: entrar no modo `insert`

```sh
esc+i
```

* vim: voltar ao modo `normal`

```sh
esc
```

* vim: Cortar personagem

```sh
x
```

* vim: Cortar palavra

```sh
dw
```

* vim: Cortar linha inteira

```sh
dd
```

* vim: Copiar palavra

```sh
yw
```

* vim: Copiar linha completa

```sh
yy
```

* vim: Colar

```sh
p
```

* vim: Vá para a linha número 1.

```sh
:1
```

* vim: Escrever o arquivo 'ie save'

```sh
:w
```

* vim: Sair

```sh
:q
```

* vim: Sair sem salvar

```sh
:q!
```

vim: Escreva e saia

```sh
:wq
```

#### Referências

[de Introdução ao tmux](https://www.youtube.com/watch?v=Lqehvpe_djs)&#x20;

[cheatsheet](https://tmuxcheatsheet.com/)
