I'm n1 - I read, write and code.
Cheatsheets
Feh
Midnight Commander
MPV
NeoVim
NeoMutt
Nsxiv
pg_dump
TeX
WeeChat
Zathura
NeoVim cheatsheet
Moving content
>>
- Increase indentation of the current line.
<<
- Decrease indentation of the current line.
CTRL + t
- Increase indentation of the current line in Insert mode.
CTRL + d
- Decrease indentation of the current line in Insert mode.
CTRL + R "
- Paste yanked string in Insert mode
Text objects
di(
- Deletes all text between ( and )
ci(
- Clears (deletes and jumps into insert mode) all text between ( and )
da(
- Deletes all text in ( and ) including those characters
ca(
- Clears (deletes and jumps into insert mode) all text in ( and ) including those characters
cc
- Replace entire line
gx
- Open link under the cursor
Buffers
CTRL + w T
- Current buffer into new tab.
CTRL + w r
- Swap split windows - forwards.
CTRL + w R
- Swap split windows - backwards.
CTRL + w v
- Split current window vertically.
CTRL + w s
- Split current window horizontally.
CTRL + Y
- Move up - 1 line
CTRL + E
- Move down - 1 line
CTRL + U
- Move up - 1/2 page
CTRL + D
- Move down - 1/2 page
CTRL + B
- Scroll up - one page
CTRL + F
- Scroll down - one page
H
/ M
/ L
- Place cursor to top/center/bottom of the screen
zh
- Side scroll left - 1 line
zl
- Side scroll right - 1 line
zH
- Side scroll left - 1/2 screen width
zL
- Side scroll right - 1/2 screen width
Quickfix
:copen
- Opens quickfix list
:cclose
- Closes quickfix list
:chistory
- Shows list of past quickfix lists
:colder
- Loads previous quickfix list
:cnewer
- Loads next quickfix list
Conflicts
]n
- Next conflict marker
[n
- Previous conflict marker
Miscellaneous
CTRL + ^
- Cycle between last 2 files
gv
- Repeat last visual selection
f.
- Jump to the next "." character
#
- Highlight words equal the one under cursor + jumps to previous match
*
- Highlight words equal the one under cursor + jumps to nect match
mA
- Creates global and persistent "A" mark
'A
- Jumps to global mark "A"
:set cuc / :set nocuc
- Turns on/off column cursor
:set scb!
- Toggles scroll bind of 2 files
:%!
- Filter whole buffer thru a command
Plugin: Markology
m!
- Toggle Markology on/off
m+
- Add a mark on current line
m-
- Remove a mark from current line
m_
- Remove all marks from current file
m?
- Show preview window with all marks in current file
Plugin: NvimTree
CTRL + ]
- Change directory
Plugin: Telescope
CTRL + q
- Send current listed files to quickfix list