Commit Graph

69 Commits (7bc86cb33cde2f10e27211c04a214461213498b0)

Author SHA1 Message Date
Amir Alexander Abdelbaki f25b761f3d fix(nvim): replace calendar.vim with khal interactive for event display
calendar.vim hangs on Google token errors; khal interactive reads the
same vdirsyncer ICS files directly and provides a working calendar+event TUI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 14:26:17 +02:00
Amir Alexander Abdelbaki dc11cc007d feat(nvim): enable calendar.vim event loading from local ICS cache
Sets g:calendar_google_calendar so calendar.vim attempts to load events,
falling back to the cache populated by ics-to-calendarim.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 14:23:32 +02:00
Amir Alexander Abdelbaki 5948629c28 feat(nvim): sync CalDAV on startup via background jobstart
Runs vdirsyncer sync + ics-to-calendarim in a detached background job
on VimEnter so the calendar.vim cache stays fresh without blocking startup.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 14:12:24 +02:00
Amir Alexander Abdelbaki 211763d2c8 fix(nvim): guarantee abook pane is at least 20 lines tall
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 13:40:45 +02:00
Amir Alexander Abdelbaki c2514b6fb5 fix(nvim): guarantee abook/calendar column is at least 80 cols wide
Right column was derived as W - left_w, making it too narrow on smaller
terminals. Now right_w = max(80, 45% of W) and left_w takes the rest.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 13:39:04 +02:00
Amir Alexander Abdelbaki 50c5b72683 fix(nvim): auto-insert in terminal buffers, add terminal window nav
- BufEnter term://* auto-calls startinsert so alot/abook receive keys
  immediately without needing to press i/a first (skips floaterm)
- <C-hjkl> in terminal-insert mode exits to normal then moves window,
  matching the existing normal-mode nav mappings

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 13:35:31 +02:00
Amir Alexander Abdelbaki 85e810d70b feat(nvim,alot): full-screen PIM layout + alot Esc bindings
- x now opens a full-screen overlay: alot left (55%), abook top-right,
  calendar bottom-right
- Add esc = exit bindings to alot config for search/thread/taglist/
  bufferlist modes, applied to live ~/.config/alot/config and to the
  mail-notmuch.sh setup script

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 13:12:25 +02:00
Amir Alexander Abdelbaki 9db080dc0f refactor(nvim): remap PIM toggle from r to x
Removes the old x → DBUI_ExecuteQuery binding to free the key.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 12:30:05 +02:00
Amir Alexander Abdelbaki b1bdb3c540 fix(nvim): set winhighlight via nvim_set_option_value, not open_win
winhighlight is a window option, not an nvim_open_win config key.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 12:09:15 +02:00
Amir Alexander Abdelbaki 766cfc0f8f fix(nvim): fix black float backgrounds and guarantee abook 24-line height
- Add winhighlight=Normal:Normal to all floats so they inherit the
  colorscheme background instead of showing NormalFloat (black)
- Pin abook to min 24 lines; mail/calendar split the remaining height

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 12:08:20 +02:00
Amir Alexander Abdelbaki 890cb8819b fix(nvim): pass -position=here to Calendar to open in current window
calendar.vim defaults to tabnew, which escaped the floating window.
-position=here makes it edit into the current buffer instead.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 12:06:21 +02:00
Amir Alexander Abdelbaki 47b94056ac fix(nvim): correct PIM layout to sideward-T left-column overlay
r now opens three stacked floating windows in a left column (the bar
of the sideward T), leaving the document visible to the right (stem).
Order top→bottom: alot 40%, calendar 30%, abook remainder.
Column is min(90, 45% of screen) cols wide. All sizes are clamped to
≥1 to prevent nvim_open_win errors on small terminals.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 12:02:32 +02:00
Amir Alexander Abdelbaki 96610b7ed0 feat(nvim,mail): floating PIM windows + notmuch/alot setup script
- Replace tab/vsplit PIM approach with nvim_open_win floating windows:
  r opens a tiled full-screen overlay (alot top, calendar+abook bottom)
  n/g/f open individual centered floats with rounded border
- Add setup/modules/optional-Modules/apps/mail-notmuch.sh:
  configures mbsync, msmtp, notmuch, alot from interactive prompts
  installs a systemd user timer for 5-min periodic mail sync

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 11:57:43 +02:00
Amir Alexander Abdelbaki 00b178103e feat(nvim): add PIM panel with calendar, alot mail, and abook
Adds itchyny/calendar.vim plugin and keybinds for a PIM sidebar:
- r: full-screen tab with alot (top), calendar + abook (bottom split)
- n/g/f: individual vsplit toggles for alot, calendar, abook
- Restores <C-hjkl> window nav inside calendar buffers
- shell-setup.sh installs notmuch, alot, abook (AUR) and syncs lazy.nvim

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 11:52:05 +02:00
Amir Alexander Abdelbaki 95617dd673 fix(keymaps): fall back to :q when :wq fails on bufferless windows
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 16:15:18 +02:00
Amir Alexander Abdelbaki a8e9a4b49b fix(nvim): use coc#pum API for Enter confirmation
pumvisible() checks the native Vim pum, which coc.nvim bypasses in
favour of its own popup — so the confirm never fired. Switch to
coc#pum#visible() / coc#pum#confirm() to match the Tab/S-Tab bindings.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 18:25:30 +02:00
Amir Alexander Abdelbaki 851a64d7f3 chore(nvim): untrack lazy-lock.json and add it to gitignore
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 09:07:17 +02:00
Amir Alexander Abdelbaki 51c93db7b5 feat(nvim): add claude-code.nvim plugin
Adds greggh/claude-code.nvim with plenary.nvim as a required dependency.
Provides :ClaudeCode toggle, continue/resume/verbose commands, and
<C-,> / <leader>cC keybinds out of the box.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 09:03:22 +02:00
Amir Alexander Abdelbaki a79be2fcbf chore(nvim): add lazy-lock.json for reproducible plugin installs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 09:01:07 +02:00
Amir Alexander Abdelbaki 690b8ec217 fix(nvim): place airline cyberqueer theme inside rtp so it is auto-discovered
airline#themes#cyberqueer#palette was undefined because the theme file was
being copied under the wrong name (cyberqueer-airline.vim instead of
cyberqueer.vim). Fixed by adding the file at the proper rtp-relative path
nvim/autoload/airline/themes/cyberqueer.vim — picked up automatically via
the ~/.config/nvim symlink, no extra copy step needed. Removed the now-
redundant manual cp from shell-setup.sh.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 08:59:50 +02:00
Amir Alexander Abdelbaki 20cf670adb feat(nvim): convert config to Lua with lazy.nvim
Renames nvim/ → nvim.old/ (preserving init.vim + incomplete prior attempts)
and creates a fresh nvim/ with init.lua. All settings, keymaps, and plugin
declarations are converted from VimScript to Lua idioms. Plugin manager
migrated from vim-plug to lazy.nvim, which self-bootstraps on first launch.

shell-setup.sh updated to drop the vim-plug curl install; the symlink and
airline theme copy are retained (path updated for lazy's data directory).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 08:56:43 +02:00
Amir Alexander Abdelbaki 76b1a0160f privacy: remove hardcoded username and AWS signed URL
Replace all /home/themiro/ path references with $HOME equivalents
across .zshrc, monitorhandler.sh (now derives path from script
location), gtk bookmarks, spicetify config, ulauncher generated CSS,
and nvim init.lua.old.

Delete commented-out AWS signed URL with embedded credentials from
setup/deprecated/hyprland.sh.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 14:17:48 +02:00
Amir Alexander Abdelbaki 6eec81c9f7 q in nvim now wq 2026-04-15 22:08:16 +02:00
Amir Alexander Abdelbaki 8712978eac is my readme a html? 2026-03-26 09:33:16 +01:00
Amir Alexander Abdelbaki 0abca2fcd8 added mini.icons though for usability 2026-03-26 08:51:23 +01:00
Amir Alexander Abdelbaki 01003944a0 removed/commented out markview.nvim because no worky 2026-03-26 08:46:50 +01:00
Amir Alexander Abdelbaki ceeab4e5ab added markview.nvim for better .md and LaTeX support 2026-03-26 08:29:17 +01:00
Amir Alexander Abdelbaki ea790180bf removed mode inidcator from nvim 2025-11-06 19:54:41 +01:00
Amir Alexander Abdelbaki feef445ea6 dbui now runs the query with x 2025-10-23 15:20:45 +02:00
Amir Alexander Abdelbaki b834531f02 added dbui to nvim for that real sql dev experience 2025-10-23 11:33:04 +02:00
Amir Alexander Abdelbaki f5dd2d157a added sql ls to nvim 2025-10-23 11:11:37 +02:00
Amir Alexander Abdelbaki a745a48397 fixed my fuckups 2025-10-14 22:24:04 +02:00
Amir Alexander Abdelbaki 5cc5e02022 whole lotta stuff 2025-10-13 19:49:20 +02:00
Amir Alexander Abdelbaki 7cc66ef79a Update setup/modules/shell.sh
should be fine
2025-10-13 19:49:20 +02:00
Amir Alexander Abdelbaki 2c348376cf added :w ! ! to nvim (no spaces) 2025-05-20 15:54:00 +02:00
Amir Alexander Abdelbaki 7b94c39e51 added nvim-dap 2025-05-06 13:29:43 +02:00
Amir Alexander Abdelbaki 68a36460bb added ultisnips to nvim 2025-05-06 13:14:06 +02:00
Amir Alexander Abdelbaki 649014f4c3 added coc pyright 2025-05-06 09:29:21 +02:00
Amir Alexander Abdelbaki b00cd786c6 no more colorizer on by default 2025-05-05 11:29:53 +02:00
Amir Alexander Abdelbaki 75fedfc147 set vim colorizer to be on by default 2025-05-05 11:11:52 +02:00
Amir Alexander Abdelbaki 72a1ec6c9a added vim multicursor plugin 2025-05-05 11:05:23 +02:00
Amir Alexander Abdelbaki f4922cc09e added VB as command to enter visblockmode on windows 2025-05-05 10:01:50 +02:00
Amir Alexander Abdelbaki 3936afc862 set relativenumber in nvim 2025-04-12 17:20:41 +02:00
Amir Alexander Abdelbaki 336777219b added vencord, and nvim colorizer 2025-04-10 15:30:02 +02:00
Amir Alexander Abdelbaki a5d96631ad Update nvim/init.vim 2025-04-01 10:34:58 +02:00
Amir Alexander Abdelbaki f76db807ec Update nvim/init.vim 2025-04-01 09:28:27 +02:00
Amir Alexander Abdelbaki b4699ae415 fixed vim window nav 2025-03-31 23:28:14 +02:00
Amir Alexander Abdelbaki 0206e61a3c made the ip display a little more responsive by upping the pollrate 2025-03-31 10:42:06 +02:00
Amir Alexander Abdelbaki 18ec0e24bf Update nvim/init.vim 2025-03-31 09:22:36 +02:00
Amir Alexander Abdelbaki bc3a168db1 Update nvim/init.vim 2025-03-31 09:20:21 +02:00