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)
56 lines
1.2 KiB
Nix
56 lines
1.2 KiB
Nix
{...}: {
|
|
imports = [
|
|
# General Configuration
|
|
./autocmds.nix
|
|
./options.nix
|
|
|
|
# Keymaps
|
|
./keymaps/general.nix
|
|
./keymaps/buffers.nix
|
|
./keymaps/windows.nix
|
|
./keymaps/find.nix
|
|
./keymaps/git.nix
|
|
|
|
# Themes & Appearance
|
|
./plugins/themes/default.nix
|
|
|
|
# Plugin Collections
|
|
./plugins/collections/mini.nix
|
|
./plugins/collections/snacks.nix
|
|
|
|
# LSP and Formatting
|
|
./plugins/lsp/conform.nix
|
|
./plugins/lsp/lsp.nix
|
|
|
|
# Completion & AI Assistancee
|
|
./plugins/cmp/cmp.nix
|
|
|
|
# Editor Enhancements
|
|
./plugins/editor/commentary.nix
|
|
./plugins/editor/harpoon.nix
|
|
./plugins/editor/maximize.nix
|
|
./plugins/editor/sessions.nix
|
|
./plugins/editor/surround.nix
|
|
./plugins/editor/treesitter.nix
|
|
|
|
# User Interface Plugins
|
|
./plugins/ui/lualine.nix
|
|
./plugins/ui/web-devicons.nix
|
|
./plugins/ui/whichkey.nix
|
|
|
|
# Git Integration
|
|
./plugins/git/fugitive.nix
|
|
./plugins/git/gitsigns.nix
|
|
|
|
# Markdown, Notes & Productivity
|
|
./plugins/notes/markdown-preview.nix
|
|
./plugins/notes/neorg.nix
|
|
./plugins/notes/render-markdown.nix
|
|
./plugins/notes/todo-comments.nix
|
|
|
|
# Utilities
|
|
./plugins/utils/oil.nix
|
|
./plugins/utils/telescope.nix
|
|
./plugins/utils/vimtex.nix
|
|
];
|
|
}
|