Skip to content

Latest commit

 

History

History
110 lines (93 loc) · 3.28 KB

README.md

File metadata and controls

110 lines (93 loc) · 3.28 KB

dotfiles

Personal dotfiles.

Neovim

Notable Keybinds

Shortcuts

C-^ - previous file
SPC p - paste without copy
SPC y - yank to system clipboard
C-[J, K] - move lines in visual mode
C-[h, j, k l] - navigate in insert mode
SPC s - find and replace on current word

  • Visual mode
    gc - Toggles the region using linewise comment
    gb - Toggles the region using blockwise comment

  • Normal mode gcc - Toggles the current line using linewise comment
    gbc - Toggles the current line using blockwise comment
    [count]gcc - Toggles the number of line given as a prefix-count using linewise
    [count]gbc - Toggles the number of line given as a prefix-count using blockwise
    gc[count]{motion} - (Op-pending) Toggles the region using linewise comment
    gb[count]{motion} - (Op-pending) Toggles the region using blockwise comment

]c - next hunk
[c - previous hunk
SPC gr - reset hunk
SPC gs - stage hunk
SPC gS - stage buffer
SPC gu - undo stage hunk
SPC gR - reset buffer
SPC gp - preview hunk
SPC gb - blame line
SPC gd - diff against index
SPC gD - diff against last commit
SPC gtb - toggle git blame line
SPC gtd - toggle git show deleted
SPC gv - select hunk

K - hover
gd - goto definition
gr - list references
<F2> - rename
<F3> - code format
<F4> - code action
gl - display diagnostics
[d - prev diagnostic
]d - next diagnostic

C-f - jump forward in snippet
C-b - jump backward in snippet
Tab - confirm selection

SPC n - toggle nvimtree
SPC e - focus nvimtree
C-] - cd
- - up
c - create
d - delete
E - expand all
W - collapse all
H - toggle filter dotfiles
I - toggle filter gitignore

SPC pf - find files
SPC pb - navigate buffers
SPC ps - grep within files

SPC u - open undotree

SPC gf - open git
s - stage file under cursor
u - unstage file under cursor
- - stage/unstage toggle
U - unstage all
= - toggle inline diff
I - stage interactively
czz - push stash
cc - create commit

tmux

Notable Keybinds

M-[h, j, k, l] - switch panes
M-[H, J, K, L] - resize panes
M-[Pageup, Pagedown] - switch windows

radio-cli

My stations for radio-cli

macOS

  • Install iTerm2
  • Fix Meta key
    • Preferences > Keys > Left Option key: Esc+
  • Install gruvbox.itermcolors
    • Profiles > Colors > Color presets