📝 add vimdiff guide

This commit is contained in:
dannydannydanny 2022-01-27 15:30:29 +01:00 committed by GitHub
parent a6062f677b
commit 668296a142
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

13
vim.md
View file

@ -1,7 +1,16 @@
# Scatch pad # Vimdiff two files ([src](https://stackoverflow.com/questions/1095718/diff-two-tabs-in-vim))
```
:edit file1.txt
:diffthis
:vnew
:edit file2.txt
:diffthis
```
# Tabs
``` ```
:tab ter # new tab with terminal :tab ter # new tab with terminal
:tabe . # new tab with netrw listing of cd :tabe . # new tab with netrw listing of cd
``` ```
[Vim~Awesome](https://vimawesome.com/plugin/ack-vim) * [Vim~Awesome](https://vimawesome.com/plugin/ack-vim)