Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

handshou/init.lua

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NVIM

Pre-requisite, ripgrep installed.

General

Commonly used hotkeys for commonly used applications.

Key Description
C-e Harpoon
C-w Window cmds HJKL left/bottom/top/right S split-hor V split-vert W switch Q quit
Space Leader (LDR)
LDR-u undo tree
LDR-pv netrw
LDR-pf project files
LDR-ps search files
LDR-gs GIT STATUS
LDR-s search and replace word under cursor
LDR-x executable chmod +x and run file
LDR-f format
LDR LDR so / source
LDR-zz zen-mode
LDR-zZ super-zen-mode
C-p git search files
C-f find project file (not working, check if tmux install missing?)
C-a-L return to previous place
S-k keyword help
q<reg><seq>q record macro to Register <reg>
:Ex explorer pane
:ls list all buffers
:so reload source
:TSPlaygroundToggle AST inside editor from treesitter
C-a-1 increment 1 after cursor
C-x-1 decrement 1 after cursor
1-j move cursor 1 row down
1-k move cursor 1 row up

Applications

peek

Key Description
:Open Preview Markdown
:Close Close

fugitive

Key Description
LDR-p push
LDR-P pull —rebase
LDR-t push -u origin
LDR-gv vertical diff split (vs index)
LDR-gV vertical diff vs merge-base main
LDR-pg telescope: files changed vs main
Cmd-J / Cmd-K quickfix next/prev; while reviewing a diff, rebuild merge-base diff on each entry

netrw

Key Description
d to create directory
% to create new file
D to delete
MT mark target
MF mark file
MC mark copy, executes copy

tmux

Key Description
LDR-[ copy mode
Morty Proxy This is a proxified and sanitized view of the page, visit original site.