📝 add vimdiff guide
This commit is contained in:
parent
a6062f677b
commit
668296a142
1 changed files with 11 additions and 2 deletions
13
vim.md
13
vim.md
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue