Commit graph

12 commits

Author SHA1 Message Date
f6f92ec15e
refactor: reorganize keymaps into semantic namespaces
Restructure keybindings for improved discoverability and consistency
with WezTerm/XMonad configurations. Separate keymaps from plugin
configurations following single responsibility principle.

Changes:
- Create keymaps/ directory with semantic grouping:
  - general.nix: leader setup, page navigation
  - buffers.nix: buffer operations (bq, bQ, bl)
  - windows.nix: window operations (ws, wv, wq, wQ, wm)
  - find.nix: telescope find operations (ff, fg, fh, fc)
  - git.nix: unified git operations from gitsigns/fugitive/telescope

- Adopt consistent q/Q pattern across containers:
  - bq/bQ for buffer quit (current/all others)
  - wq/wQ for window quit (current/all others)
  - Mirrors WezTerm's LEADER+p q / LEADER+t q pattern

- Extract keymaps from plugin files:
  - telescope.nix: config only, keymaps moved to find.nix
  - fugitive.nix: config only, keymaps moved to git.nix
  - gitsigns.nix: config only, keymaps moved to git.nix
  - snacks.nix: config only, keymaps moved to buffers.nix
  - maximize.nix: config only, keymap moved to windows.nix

- Remove smart-splits.nix (functionality replaced by native window ops)

- Maintain navigation on dedicated modifiers (Ctrl+arrows/PageUp/PageDown)
  for consistency with WezTerm (ALT) and XMonad (Super)
2025-10-03 16:39:39 +08:00
8e03a31999
set backspace as local leader 2025-06-26 19:27:45 +08:00
f42c1c8fdf
refactor + add some QoL plugins 2025-06-26 11:03:40 +08:00
e8ff6ac5f3
add smart splits 2025-05-19 09:37:24 +08:00
b54625d285
update telescope keymap 2025-05-15 18:27:26 +08:00
b5b7fdebc6
actually i kinda liked this 2025-05-14 22:23:56 +08:00
1b5b124dc8
feat: upgrade :bdelete 2025-05-14 00:14:40 +08:00
3fed17452d
feat: <control><direction> window navigation 2025-05-13 23:59:58 +08:00
82dd9c85d5
feat: replace buffer plugin with leader maps 2025-05-13 23:45:00 +08:00
4fa4cae772
feat: keymap esc :noh 2025-04-09 23:29:15 +08:00
537828c2e9
fmt: alejandra 2024-08-08 09:58:48 +08:00
8772a4ca32
Migrate configuration to nixvim 2024-08-04 21:19:37 +08:00