Skip to content

handshou/init.lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 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

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