Commit Graph
231 Commits
Author SHA1 Message Date
sankalp 8b1603ced7 feat(lua): add secure .env masking and toggle integrationNew Features:
- Implement Secure .env masking using conceal with WarningMsg highlight.
- Cache environment lines on buffer load to restore original values.
- Add <leader>et keymap to toggle masking per buffer.
- Preserve masked content across BufWriteCmd by re‑injecting cached lines.

Enhancements:
- Replace ad‑hoc masking with a dedicated `secure_env` namespace.
- Expand autocmd events to include BufWriteCmd for write‑preserve behavior.
- Use proper namespace handling and deepcopy to avoid side effects.

Bug Fixes:
- Remove stale toggle that caused UI flicker and confusion.
- Ensure write operations succeed when masked content remains unchanged.
2026-05-18 22:48:35 +05:45
sankalp 2b0cd45de9 feat(lua): introduce context‑aware paste mappings with auto‑indent
- New Features: Added `p` and `P` mappings that auto‑indent pasted text (`p=`] and `P=`]).
- Enhancements: Updated visual paste mapping to use `"_dP` for overwriting without affecting registers.
- Bug Fixes: Fixed potential register corruption by using `"_dP` on selection.
2026-05-18 21:58:52 +05:45
sankalp 602a240d8d feat(lua): Cleanup autocmds and add LSP attach features- New Features:
- Added LSP attach autocmd with document highlight and inlay hints.
- Enhancements:
  - Removed deprecated autocmds and unused options.
- Bug Fixes:
  - None.
2026-05-18 21:43:32 +05:45
sankalp 1e5c025bd4 feat(lua): add autosave on InsertLeave with 3 s debounce
- New Features
  - Implement autosave triggered on InsertLeave with a configurable 3‑second debounce.
  - Added `clear_timer` helper to cancel pending autosave when entering insert mode.
  - Auto‑save now respects buffer validity and modified status before writing.
- Enhancements
  - Refactor timer management to avoid overlapping callbacks.
  - Use a dedicated augroup for autosave events.
- Bug Fixes
  - Remove unused `CursorHoldI` autocmd to prevent double firing.
2026-05-18 21:35:49 +05:45
sankalp 9e589bc70c feat(lua): expand LuaLSP, Treesitter and pack helper configurations
Why: improve language support and fix a client API typo

- New Features
  - Added extensive filetype list for Tailwind LSP (astro, blade, ejs, etc.) and enabled the language server
  - Extended Treesitter parser list with regex, latex, tsx, svelte, typst, vue
  - Introduced PackChanged autocmd that notifies on install/update builds
- Enhancements
  - Disabled unused provider loaders (node, perl, python3, ruby)
  - Registered additional filetype handlers for various template extensions
  - Updated markdown style setting and filledchars option
- Bug Fixes
  - Corrected client:supports_method call in autocmd.lua (removed stray colon)
2026-05-08 21:40:46 +05:45
sankalp 6d50f7d86f feat(lua):autoinstall missing plugins on startup and enhance vim.pack UI keymaps 2026-05-08 18:15:28 +05:45
sankalp 479a448da6 feat(lua): add smart column auto, macro notifications, auto‑save debounce, and TSInstallAll command
New Features
- Smart column auto‑command that activates only when needed, respecting disabled filetypes
- Macro recording notifications with short INFO‑level messages
- Auto‑save with 3‑second debounce triggered on TextChanged, InsertLeave, BufLeave, FocusLost
- TSInstallAll user command to install all configured Tree‑sitter parsers

Enhancements- Cleanup of unused autocmds and simplification of pack_helper registration

Bug Fixes
-Removed legacy secure .env masking code that caused conceal issues
2026-05-07 21:06:40 +05:45
sankalp 9434ff993b feat(lua): simplify URL resolutionand add package clean functionality
The changes streamline URL shorthand handling, refactor the add helper, and introduce a cleaning routine to remove stale plugins, improving maintainability and user experience.

New Features:
- Added `M.clean` to purge unregistered plugins.
- Introduced fallback shorthand resolution via `setmetatable`.
- Enhanced `add` to process table specs with `src` field.

Enhancements:
- Simplified URL resolution logic.
- Improved notifications and error handling.
- Wrapped additions in `pcall` for robustness.

Bug Fixes:
- Fixed potential missing default URL prefix handling.
- Ensured proper cleanup of stale package entries.
2026-05-07 20:57:52 +05:45
sankalp 42483b98f5 migrate to new builtin plugin manager with new folder structure 2026-05-07 20:41:03 +05:45
sankalp 29524e306b update 2026-04-10 16:47:17 +05:45
sankalp ceee7ee98f update 2026-03-30 22:19:02 +05:45
sankalp ffd20f5ebf update 2026-03-30 13:36:26 +05:45
sankalp a55fe2ade0 update 2026-03-23 15:11:34 +05:45
sankalp 2880bcbc00 update 2026-03-20 17:46:19 +05:45
sankalp e9613835d7 update 2026-03-19 18:01:52 +05:45
sankalp 5bdce5f1a8 feat(lua/plugins): improve markdown-preview and treesitter setup
Enhancements:
- Refined markdown-preview configuration to use command toggles and lazy loading
- Simplified treesitter setup by using direct nvim-treesitter API

New Features:
- Added support for MarkdownPreviewStop command
- Updated ft configuration to use a table for markdown filetypes

Bug Fixes:
- None
2026-03-12 20:46:00 +05:45
sankalp f47baece05 feat(lua/config): add autocmd to mask .env values and toggle with <leader>ot
Adds autocmd to hide sensitive data in .env files on load and provides a toggle keymap (<leader>ot) to reveal original values.

New Features
- Mask .env file contents whenopened
- Toggle visibility with <leader>ot
2026-03-05 11:22:34 +05:45
sankalp 50b8865249 feat(lua/config): refactor and extend key mappings
The configuration tidies up key‑mapping definitions, adopts consistent quoting, adds convenient navigation shortcuts, and improves visual‑mode and search handling while fixing small bugs.

- New Features
  - Added <leader>a shortcut to select all lines.
  - Added wrap‑selection shortcuts using single and double quotes.
  - Added <leader>re shortcut to replace the word under the cursor.
  - Added toggle for inlay hints via <leader>th.
  - Updated terminal mode mappings for quicker exit.
- Enhancements
  - Consolidated mapping definitions with clearer descriptions.
  - Replaced deprecated key codes with explicit '<Space>' and single‑quote syntax.
  - Refined operator‑pending mappings for paste and cut to avoid clipboard overrides.
  - Improved visual‑mode navigation with <A-k>/<A-j> and block movement.
  - Fixed arrow‑key no‑ops to use explicit '<Up>' etc. strings.
  - Simplified fold toggles with clearer function bodies.
- Bug Fixes
  - Corrected mapping of '<esc>' in insert/normal modes to include proper command sequencing.
  - Fixed missing quotes around string literals in several mappings.
  - Ensured consistent use of single quotes for Lua strings throughout.
2026-02-20 23:56:55 +05:45
sankalp f93e579294 chore(lua/plugins): cleanup and reorganize plugin configurations, dropping deprecated plugins and introducing new folding, smoothing, and screenshot tools
New Features:
- Added ufo.nvim for advanced folding with Treesitter and indent providers
- Added neoscroll.nvim for smooth scrolling
- Added smartcolumn.nvim to enforce colorcolumn only when needed
- Added codesnap.nvim for markdown screenshot generation
- Added Markview toggle shortcut for markdown preview

Enhancements:
- Configured folding options (foldcolumn, foldlevel, provider selector)
- Added keybindings for opening/closing all folds and toggling fold visibility
- Updated plugin loading conditions and lazy loading patterns

Bug Fixes: — No bug fixes included in this change —
2026-02-20 23:55:19 +05:45
sankalp c370d3b073 update 2026-01-12 23:38:57 +05:45
sankalp 8d39fc5466 update 2026-01-07 17:26:10 +05:45
sankalp 18543971bf update 2026-01-03 19:37:35 +05:45
sankalp 89377b4e23 update 2025-12-24 16:38:35 +05:45
sankalp 97313620a1 feat(mini): configure mini.files and remove mini.tabline 2025-11-24 20:34:51 +05:45
sankalp 699dfc53eb style(snacks): improve layout configurations for better UI consistency 2025-11-17 22:58:13 +05:45
sankalp bdb6cdb3ee chore: update lazy-lock and disable cursor restore autocmd 2025-11-10 22:53:44 +05:45
sankalp 12329d4e90 feat(autocmd): enhance editor with improved cursor behavior and LSP integration 2025-11-08 21:03:54 +05:45
sankalp aac5bd2f56 chore: update snacks.nvim and tiny-code-action.nvim, configure markview with setup function 2025-10-30 21:52:01 +05:45
sankalp 24cc505b50 chore: update lazy-lock.json and configure mini.nvim preview icon provider 2025-10-29 15:00:10 +05:45
sankalp 1e9acda87b feat(whichkey): add <leader>th group for inlay hints and writing group 2025-10-26 20:40:39 +05:45
sankalp 5853a1f761 style(snacks): enforce consistent quote style and formatting 2025-10-24 13:02:26 +05:45
sankalp ea7fb129bf chore: update mini.nvim and add codesnap.nvim 2025-10-20 22:04:59 +05:45
sankalp cc18e31d6e chore: update lazy-lock and minor formatting in lazy and util lua files 2025-10-20 09:37:38 +05:45
sankalp c9022e4486 chore: configure lazy.nvim to disable default plugins and use single quotes for strings 2025-10-18 14:07:51 +05:45
sankalp a6faed962f chore(whichkey): remove CodeSnap keybinds 2025-10-18 13:15:36 +05:45
sankalp 42b2d66761 feat(whichkey): add codesnap integration and lazygit plugin 2025-10-18 13:15:23 +05:45
sankalp cc48b42dff feat: add neogen and mdx syntax highlighting plugins 2025-10-18 12:30:57 +05:45
sankalp d53b19208c refactor(lsp): improve lsp configuration and UI settings 2025-10-18 12:19:29 +05:45
sankalp 3ff6b841f2 feat(editor): add lazygit integration for git management 2025-10-18 12:15:05 +05:45
sankalp 594f1574c7 refactor(config): update plugin configurations for consistency 2025-10-18 12:10:49 +05:45
sankalp ea6661e0cd feat(editor): configure undotree plugin for improved usability 2025-10-17 15:41:05 +05:45
sankalp 666b84d4a7 feat(editor): add current line blame options to gitsigns 2025-10-17 15:39:56 +05:45
sankalp b56ebf5228 feat(editor): add editor plugins and configurations 2025-10-17 15:39:32 +05:45
sankalp d3592bd80a refactor: restructure core modules into config directory for better organization 2025-10-17 15:33:11 +05:45
sankalp 16e50cdc3a chore(lazy): update lazy.nvim configuration and bootstrap logic 2025-10-17 12:36:41 +05:45
sankalp 047854ba58 feat(ui): add undotree and improve folding with nvim-ufo 2025-10-17 11:57:50 +05:45
sankalp 5d9924dbc7 feat(macro): add macro replay notification and clear all macros command 2025-10-17 11:34:21 +05:45
sankalp 574ae4db3b feat(core): add notifications for macro recording start and stop 2025-10-17 11:33:49 +05:45
sankalp 43e9434876 feat(mini): configure mini.misc for cursor restore and auto root 2025-10-16 23:39:02 +05:45
sankalp 62d9b2e3f7 feat(git): add gitignore.nvim and keybind to generate gitignore files 2025-10-16 23:25:13 +05:45