Commit Graph
100 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 76bc9f7742 fix(plugin): disable terminal in snacks config- Prevents automatic terminal opening when snacks loads- Removes stray "No emojis." comment 2026-05-18 21:58:47 +05:45
sankalp 49237f8fe2 chore(root): drop Lspsaga.nvim from lock file
Remove Lspsaga.nvim entry from nvim-pack-lock.json.

New Features:
-

Enhancements:
-

Bug Fixes:
-
2026-05-18 21:47:52 +05:45
sankalp 752fb0b361 chore(root): drop unused plugins from lock file
Removed plenary.nvim and typescript-tools.nvim entries from the lock file.
2026-05-18 21:47:15 +05:45
sankalp 2c12d4fe08 feat(plugin): replace Lspsaga with native LSP & Snacks integration
Why: Clean up the heavy Lspsaga UI and adopt built‑in LSP plus Snacks for better performance and maintainability.

- New Features
  - Use native `vim.lsp.buf` functions for code actions, diagnostics, rename, etc.
  - Integrate Snacks picker for definitions, references, symbols, and type definitions.
- Enhancements  - Update keybindings to use Snacks and native APIs instead of Lspsaga.
  - Drop `nvimdev/Lspsaga.nvim`, `typescript-tools.nvim`, and unused `plenary.nvim`.
  - Preserve mini.misc auto‑root and other minor improvements.
- Bug Fixes
  - Resolve broken Lspsaga UI configuration and related mappings.
  - Remove stale `<leader>la` mapping that referenced Lspsaga.
2026-05-18 21:47:09 +05:45
sankalp 5f67b0fd94 feat(plugin): addcustom snippet provider configuration
Added dedicated snippet provider with configurable search paths and extended filetype support for MDX, while replacing the legacy LuaSnip preset with the default preset and updating fuzzy settings.

- New Features
  - Introduced custom snippet provider loading snippets from `config/snippets`
  - Enabled MDX completion as markdown
- Enhancements
  - Switched snippet preset from `luasnip` to `default`
  - Updated fuzzy implementation to `prefer_rust`
  - Removed legacy LuaSnip loader calls
2026-05-18 21:43:38 +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 5e36d3984c chore(root): removeLuaSnip from lockfile
The removal eliminates a transitive dependency that conflicted with other plugins, ensuring consistent version resolution.

Bug Fixes
- Removed LuaSnip entry to prevent version mismatch and related runtime errors.
2026-05-18 21:43:22 +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 96409deaae chore(root): bumpplugin revisions in lockfile
Enhancements:
- Updated several plugin revisions in nvim-pack-lock.json.
2026-05-18 21:35:40 +05:45
sankalp f43f024af4 chore(root): bump lock revisions
Updated lock file revisions for several plugins.

Enhancements- Updated mason-conform.nvim to commit 239a5c3
- Updated mason-lspconfig.nvim to commit 7b01e2974a
- Updated mini.nvim to commit 18797ed18f34
2026-05-16 07:32:35 +05:45
sankalp 2ba97b1c90 update 2026-05-15 14:49:19 +05:45
sankalp 0ddc06d86e chore(root): Update plugin revisionsin lockfile
Enhancements:
- Updated plugin revisions of blink.cmp, blink.lib, mason-lspconfig.nvim, mason.nvim, mason-nvim-lint, mini.nvim, nvim-lspconfig, toggleterm.nvim, etc. to latest commits
2026-05-12 21:58:17 +05:45
sankalp 9e9c2df78c update 2026-05-09 13:28:51 +05:45
sankalp d0dcccc178 feat(root): add markdown-preview.nvim plugin
New Features
- Add markdown-preview.nvim plugin

Enhancements
- Bug Fixes
-
2026-05-09 12:46:12 +05:45
sankalp d6bdd7d0f4 feat(plugin): modernize plugin configurations and add colorscheme
- Fix plugin quoting and require calls in 00‑colorscheme.lua
- Set gruvbox colorscheme with transparent mode and updated overrides  - Update snacks.nvim layout to use string quotes and minor option tweaks
- Add markdown‑preview plugin with build step
- Consolidate configuration keys and remove deprecated settings
2026-05-09 12:46:02 +05:45
sankalp 03c18e8231 Merge pull request #10 from S4NKALP/rewrite-for-v0.12 2026-05-08 21:50:38 +05:45
sankalp eaa5048e29 chore(root):update toggleterm.nvim revision and add prerequisites file 2026-05-08 21:40:51 +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 1b5153df2d feat(plugin): enable markdownlint integration and activate UI components
Add missing markdownlint condition, streamline completion sources, and turn on previously disabled UI features.

New Features:
- Enable explorer, scroll, select, terminal, toggle, words, and zen UI components
- Add TypeScript tool filetype support for JavaScript/JSX/TSX
- Provide dynamic source selection for completion based on command context

Enhancements:
- Simplify markdownlint formatter configuration
- Drop unused markdown-toc from markdown formatters
- Refine default completion sources per command type

Bug Fixes:
- Remove redundant markdownlint condition check
- Clean up formatter list by dropping markdown-toc- Add proper descriptions to WhichKey mappings
2026-05-08 21:40:40 +05:45
sankalp 1d130a655f refactor(plugin): comment outflutter-tools plugin
- Commented out 'nvim-flutter/flutter-tools.nvim' to avoid potential issues and emojis
2026-05-08 20:11:45 +05:45
sankalp f0cfda2a2c feat(root): add plenary.nvim and typescript-tools.nvim to pack lock
Add missing plenary.nvim and typescript-tools.nvim entries to enable required functionality.

- New Features:
  - Added plenary.nvim dependency
  - Added typescript-tools.nvim dependency
2026-05-08 20:09:37 +05:45
sankalp 54b3c0e865 feat(plugin): add plenary.nvim as dependency for typescript-tools
New Features
- Add `nvim-lua/plenary.nvim` to the plugin configuration to satisfy `typescript-tools.nvim` requirements.

Enhancements
- Ensure the plugin list now includes the new dependency for better integration.

Bug Fixes
- None.
2026-05-08 20:09:33 +05:45
sankalp 4a63d7fc13 feat(plugin): add typescript-tools configurationand keybinding
New Features
- Introduced typescript-tools.nvim plugin for TypeScript development.

Enhancements
- Configured comprehensive TypeScript server settings including diagnostics, code actions, and import management.
- Added <A-x> mapping in insert mode to clear completions via codeium.

Bug Fixes
- (none)
2026-05-08 19:26:19 +05:45
sankalp f9c653c211 feat(root): introduce modern UI and core developer experience
Add comprehensive documentation outlining new features introduced, structural changes, and productivity improvements.

New Features
- Native plugin manager with interactive UI (`:PackUI`) and automatic plugin installation/cleanup.
- Integration of Snacks.nvim modules: Dashboard, Picker, Notifier, Scratch, Explorer.
- Modern UI/UX enhancements: Smart Column, dynamic `colorcolumn`, animations via `Snacks.animate`.
- Auto-save, secure `.env` masking, and automatic directory creation on file save.
- LSP and Tree-sitter auto-installation and configuration.

Enhancements
- Revamped README with organized sections and modern styling.
- Added keybinding tables and WhichKey integration for discoverability.
- Structured project layout with dedicated Lua modules for plugins, options, autocmds, and keys.

Bug Fixes
- None
2026-05-08 18:23:07 +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 81adaec661 feat(plugin): enable snack project explorer and trim plugin list
Streamline plugin configuration by enabling the project explorer in Snacks and removing unused plugins and configurations.

- New Features
  - Enabled `explorer` and `projects` in Snacks with explicit directories (`~/Projects`, `~/Projects/other`, `~/.config/Modus`).
  - Added `dev` layout mapping for project-specific browsing.
- Enhancements  - Removed unused UI plugins (`neoscroll.nvim`, `neodim`, `better-escape.nvim`) and their autocmds.
  - Optimized lazy loading of Snacks components for faster startup.
- Bug Fixes
  - Fixed misconfiguration of project directories (`~/Project` corrected to `~/Projects`).
  - Cleaned up removed plugin setups that could cause runtime errors.
2026-05-08 18:15:23 +05:45
sankalp 174521ab66 feat(root): add packui setup and clean up init.lua
New Features
- Added explicit setup for packui.

Enhancements
- Consolidated require calls and removed unused plugin entries from lock file.

Bug Fixes
- None.
2026-05-08 18:15:16 +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 0f608510b5 feat(plugin):streamline UI plugins and add markdown preview toggle 2026-05-07 21:06:31 +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 04cef1ca51 feat(plugin): add clean unused pluginsmapping
- Added mapping <leader>px to invoke pack_helper.clean()
- Normalized string quoting to single quotes across plugin configs
- Minor formatting adjustments to autocmd callbacks and mappings
2026-05-07 20:57:47 +05:45
sankalp f46398d673 chore(root): Remove version constraints and update plugin sources
New Features
-

Enhancements
- Updated plugin source URLs and removed version constraints for blink.cmp, toggleterm.nvim, mini.nvim.

Bug Fixes
-
2026-05-07 20:49:35 +05:45
sankalp 4af6de82a2 feat(plugin): simplify plugin specs and update keybindings
Simplify plugin configurations and improve keybinding consistency.

New Features
- Use plain plugin names instead of version‑locked specifications.

Enhancements
- Change colorcolumn setting from number to string.
- Replace multiple update mappings with a single vim.pack.update() call.

Bug Fixes
- Remove outdated plugin manager mappings that caused duplicate actions.
2026-05-07 20:49:29 +05:45
sankalp 42483b98f5 migrate to new builtin plugin manager with new folder structure 2026-05-07 20:41:03 +05:45
sankalp b532749302 update 2026-04-26 11:21:20 +05:45
sankalp f1b2fa8149 update 2026-04-24 20:36:52 +05:45
sankalp 4da9f239b7 update 2026-04-22 19:28:55 +05:45
sankalp 940133c0bc update 2026-04-18 17:07:09 +05:45
sankalp cce329ba24 update 2026-04-15 19:16:58 +05:45
sankalp 29524e306b update 2026-04-10 16:47:17 +05:45
sankalp 85bbf21052 update 2026-04-08 12:54:53 +05:45
sankalp 7ab28ffcbd update 2026-04-05 08:32:24 +05:45
sankalp de9b198612 update 2026-04-04 20:50:20 +05:45
sankalp 533ae22e7b update 2026-04-03 11:41:07 +05:45
sankalp 6cc8a4b410 update 2026-04-01 20:15:46 +05:45
sankalp 62dd83e68f update 2026-04-01 15:59:37 +05:45
sankalp 08aa4a3fba update 2026-03-31 09:19:44 +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 e21e351c98 update 2026-03-29 20:00:44 +05:45
sankalp 84792cb1f3 update 2026-03-28 08:58:51 +05:45
sankalp 299d43a4aa update 2026-03-27 10:10:31 +05:45
sankalp 7aefdbedc4 update 2026-03-26 18:51:34 +05:45
sankalp 32a58f736b update 2026-03-25 19:06:27 +05:45
sankalp 3f68d2a04b update 2026-03-24 08:56:39 +05:45
sankalp d1893a70bd update 2026-03-23 16:47:54 +05:45
sankalp 5f7d573e55 update 2026-03-23 16:21:13 +05:45
sankalp a55fe2ade0 update 2026-03-23 15:11:34 +05:45
sankalp 2a27ed7210 update 2026-03-21 20:55:47 +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 251b224f4d update 2026-03-18 19:06:42 +05:45
sankalp 3c55294add update 2026-03-17 19:54:18 +05:45
sankalp 30db4bcf19 update 2026-03-16 19:54:18 +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 d3f50a7355 chore(root): bump plugin version hashes in lazy-lock.json
Updated lazy-lock.json with newer commit SHAs for multiple plugins.
2026-03-12 20:45:43 +05:45
sankalp 9912aa7821 update 2026-03-10 11:10:43 +05:45
sankalp 16c43b0f95 update 2026-03-09 21:52:20 +05:45
sankalp 06fa5fed42 update 2026-03-08 23:55:36 +05:45
sankalp 764aa2f482 update 2026-03-07 23:07:27 +05:45
sankalp 7a8d152559 update 2026-03-07 10:46:33 +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 face5a9a66 update 2026-03-03 20:25:43 +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 6adb9abf0c feat(root): add smartcolumn.nvim to lazy-lock.json
Add smartcolumn.nvim plugin entry to lazy-lock.json to track its latest branch and commit.

New Features
- Add smartcolumn.nvim plugin entry.
2026-02-20 23:55:27 +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 9e2126314b update 2026-02-19 22:49:01 +05:45
sankalp 5cc57cb5f3 update 2026-02-15 22:07:09 +05:45
sankalp 06a1a81ef7 update 2026-02-05 18:24:27 +05:45
sankalp c654f589ff update 2026-02-04 18:47:53 +05:45
sankalp a94e8e29e6 update 2026-02-01 20:10:38 +05:45
sankalp 5d7501cad3 updates 2026-01-28 18:57:23 +05:45
sankalp 929de57da3 updates 2026-01-27 19:41:14 +05:45
sankalp 7901989c2e updates 2026-01-24 06:19:10 +05:45
sankalp 1c18acaa69 update 2026-01-21 17:01:20 +05:45
sankalp 36988d4e5a update 2026-01-19 22:33:20 +05:45
sankalp 9baaf215be update 2026-01-18 20:25:05 +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 3d3d5e72c3 update 2026-01-01 17:58:53 +05:45
sankalp 87198ebea5 update 2025-12-29 23:40:42 +05:45
sankalp 79a6a904aa update 2025-12-29 00:32:07 +05:45
sankalp ebe3fdea7c update 2025-12-27 00:54:29 +05:45
sankalp 89377b4e23 update 2025-12-24 16:38:35 +05:45
sankalp cefe3515f2 update 2025-12-21 19:13:53 +05:45
sankalp f7ca8b3a99 update 2025-12-20 21:26:13 +05:45
sankalp f3bf9bf25f feat(root): update plugin versions in lazy-lock.json
Updated multiple plugin versions to their latest commits in the lazy-lock.json configuration.

**New Features**
- **lazy.nvim**: Updated to commit 306a055 for latest features and improvements
- **tiny-code-action.nvim**: Updated to commit 0932b80 with new functionality

**Enhancements & Refinements**
- **nvim-autopairs**: Upgraded to commit c2a0dd0 for better pairing behavior
- **nvim-lint**: Bumped to commit c47b71d with enhanced linting capabilities
- **nvim-lspconfig**: Updated to commit c4f67bf for improved LSP configuration handling
2025-12-18 17:51:19 +05:45