Add text files

This commit is contained in:
2021-10-14 07:42:11 +00:00
parent 3059c14648
commit afcf272607
13 changed files with 935 additions and 1 deletions

View File

@@ -0,0 +1,34 @@
Enter word under cursor into cmdline:
CTRL-R CTRL-W
(:help c_CTRL-R)
Rewrap text (reformat):
gq
Remove duplicates from file:
vim ~/.ssh/authorized_keys +":sort u|wq"
N ctrl-^ goes to buffer N
Centre current line on screen:
zz
Newrw:
- fixed on left: :20Lexplore
- change to tree: i
- toggle .hidden files: gh
Config
======
Start Vim without reading .vimrc:
vim -u NONE
Minimal sane config:
set encoding=utf-8
set nocompatible
set background=dark
set hidden