Commit Graph

118 Commits

Author SHA1 Message Date
Pratik Tripathy
4defc9e32e feat(neovim): Command palette to bottom-left
- nui command palette at top was distracting; bottom-left over the
  status line is more natural
2025-10-13 19:24:20 +05:30
Pratik Tripathy
80db7e8470 style(neovim): Better comments, consistent position for keys, remove
spurious lines
2025-10-13 19:20:13 +05:30
Pratik Tripathy
a101e671ff refactor(neovim): Git operation enhacements
- Use gitsigns to do file diff against index
- gitsigns: Use `[h` `]h` to traverse hunks instead of `[g` `]g`
- gitsigns: `<leader>gQ`: Project hunks to quickfix list
- gitsigns: `<leader>gs` acts as toggle to stage & unstage
- diffview: `<leader>gD` Diff all files against index
- Lazygit: Consistent keymap descriptions
2025-10-13 19:17:21 +05:30
Pratik Tripathy
79d80bd7de fix(neovim): LSP, Formatter, Linter all in their places
- Formatter: Don't need both prettier & prettierd. Only use prettierd
- Formatter: markdown-toc is LSP not formatter
- Formatter: shellharden isn't formatter
- Formatter: Only shfmt for shell formatting
- Formatter: Don't need prettier to format yaml
- Linter: codespell on all buffers
- Install script: Remove prettier & shellharden (its useless with bashls)
- LSP: markdownlint, prettier, shellcheck, shellharden, shfmt aren't LSP
2025-09-10 23:58:43 +05:30
Pratik Tripathy
de0ae11f4a chore(nvim): Remove unused util-functions
- Remove relic of effort to force neovim in vs-code
- Remove util functions copied from LazyNvim - if I need them I'll write
  them
- Removed Lua code comments I don't understand
- Better code comments
2025-09-09 18:20:55 +05:30
Pratik Tripathy
ada5e67118 feat(neovim): Use gitsign keymaps to stage & unstage hunks from buffer
itself
2025-09-09 17:09:26 +05:30
Pratik Tripathy
1a1f25be32 chore: Annoyance fixes across all
- bashrc: source `.profile` and not `profile`
- kitty: Remove background-blur, it was making terminal slow
- kitty: ssh: Rename the terminal to `xterm-256color` cause most cloud linux
  don't have kitty terminal info by default
- nvim: `get_active_clients` marked for removal by nvim, replaced
- nvim: completion: don't auto complete on command mode
- nvim: Use `flash.nvim` for jumping instead of `vim-easymotion`
- vim: Open file tree `<leader>e` -> `<leader><tab>`
- profile: KVM: Use the system access by default
2025-09-09 17:02:05 +05:30
Pratik Tripathy
b7a52d44d3 fix(neovim): SQL support fixed
- fix: Old completion plugin removed
- refactor: All DADBOD plugins & their configs merged
- new: Map <leader>Q to execute query
- LSP: sqlls lsp removed
2025-09-03 22:29:31 +05:30
Pratik Tripathy
06d2c98119 docs(neovim): Code comments improved 2025-09-01 16:55:09 +05:30
Pratik Tripathy
921618f99c fix(neovim): Paths changed to be OS agnostic
- Use `vim.loop.os_homedir()` instead of `~`
2025-09-01 16:51:19 +05:30
Pratik Tripathy
fdd284d6cb fix(nvim): VIM config loading on Windows fixed
- Made the Vim configuration file fetch work on both *nix & Windows
- Docs: Improved comments on init.lua
- Refactor: Removed unused variables from mini.statusbar config
2025-09-01 12:42:21 +05:30
Pratik Tripathy
b7f5eec5ea feat: Change theme from Catppuccin -> GitHub Dark
- Vim, Neovim, Kitty, VS Code, Ghostty, Zed
2025-09-01 12:16:42 +05:30
Pratik Tripathy
85d7c9eaa1 fix(neovim): Update breaking blink config
- `snippets.opts` does not exist any more, remove related configs
2025-09-01 11:58:25 +05:30
Pratik Tripathy
c99861d997 feat(neovim): Show codelens virtual text for implementations
- Rust: `rust-analyzer` enable `lens`
- Rust: Refresh lens on LspAttach and subsequently on rust buffers
- Use `LspSaga` for all other lsp types to show codelens
2025-08-21 23:32:23 +05:30
Pratik Tripathy
612f848d6d chore(neovim/vim): Minor fixes 2025-08-20 13:14:04 +05:30
Pratik Tripathy
6f288e2976 refactor(neovim): Convert file-autocmd to after-ftplugin
- Markdown, gitcommit, text: `lua/shared/text_settings.lua`
- Javascript, Typescript, React, Vue:
  `lua/shared/javascript_settings.lua`
- `after/ftplugin` files that `require` the above 2 shared configs
2025-08-20 13:06:27 +05:30
Pratik Tripathy
dabd425443 chore(neovim): Remove spurious code
- Neo-tree: Use latest build
- Neo-tree: init function copied from LazyVim removed
- Neo-tree: `TermClose` autocmd removed
- Better comments
2025-08-17 20:02:11 +05:30
Pratik Tripathy
1774c2f1b6 refactor(neovim): Telescope: filter argument in separate table
- Use same filter arguments for both `default` & `find_command`
2025-08-17 19:59:40 +05:30
Pratik Tripathy
126eb6eeb9 chore(neovim): Keymaps updates
- Zen mode: <Shift-Escape> -> <Ctrl-Escape>
- Global symbol searches using telescope's `lsp_workspace_symbols`
2025-08-17 19:57:26 +05:30
Pratik Tripathy
7333d35241 feat(neovim): Display read-time on statusbar for markdowns 2025-08-17 19:55:24 +05:30
Pratik Tripathy
1814c62d17 chore(Neovim): Center cursor on more actions
- `n`, `N` on Neovim
- All diagnostic moves: `]d`, `[d`, `]e`, `[e`, `[w`, `[w`
- Snacks jump to next work occurrence: `]]`, `[[`
- Vim & Neovim: `gv`
2025-08-14 01:25:15 +05:30
Pratik Tripathy
affac4a931 fix(neovim): Add more left padding to markdown code block renders 2025-08-12 15:04:52 +05:30
Pratik Tripathy
c572ed6a46 fix(neovim): Rust test-coverage plugin & coding qol improvements
- Rust: `nvim-coverage` for generating code-coverage report
- Rust: Keymaps & nvim-job for test-coverage report display
- Coding-QOL: Remove distracting & noisy diagnostic virtual-line
- Coding-QOL: Keymaps to disable diagnostic virtual text
- Coding-QOL: Disable diagnostic underlines
- Fix: Disable telescope `hightlight` to fix frequent crash
- Coding-QOL: Telescope Keymaps to move between loops
- Coding-QOL: Disable auto fn doc hover through `blink`; `LSPSaga` does
  it better
- Coding-QOL: Adding back `quick-scope` with proper config
- Keymap: Use `ctrl-p` to search files; same as vscode
2025-08-11 12:54:08 +05:30
Pratik Tripathy
0aee21c8b5 chore(neovim): Remove useless configs, keymaps & format code
- Removed nvim-highlight-colors useless configuration
- Neotree: remove redundant & useless keymaps
- Telescope: remove redundant & useless keymaps
- Telescope: All help keymaps moved to *neovim* keymaps
2025-08-04 11:19:52 +05:30
Pratik Tripathy
5c66d9d9c9 style(neovim): Markdown render & formatting updates
- Render markdown: nit: remove all `render_modes` incorrect configs
- Render markdown: add blink completions for checkboxes
- Render markdown: Disable indent - `indent-blankline` already takes
  care of it
- Render markdown: Use `obsidian` preset configuration
- Markdownlint: More rules
2025-08-04 11:13:41 +05:30
Pratik Tripathy
11dfad34f7 feat(neovim): Custom snippet configuration for Docker & Rust
- VS code format snippets for Docker & Rust
- Blink.nvim configured to pick custom snippets automatically
2025-08-04 11:11:10 +05:30
Pratik Tripathy
d8914b9d2e fix(neovim): taplo (toml LSP) configured & Rust LSP improvements
- `taplo` LSP config added so Cargo.toml files gets LSP benefits
- Rust LSP: buildScripts, ignored directories
- Crates: completion & LSP plug
2025-07-30 22:27:11 +05:30
Pratik Tripathy
e469144856 fix(neovim): Fix friendly-snippets to work with blink
- Use rust fuzzy search engine with blink
- Configure `friendly-snippets` on `LuaSnip` properly
2025-07-30 22:23:40 +05:30
Pratik Tripathy
a5d63876d2 feat(neovim): Replace lualine with mini.statusline & move all mini.nvim
plugins to `utility-plugs`

- Switched for easier configuration & reduction in number of plugins
- `mini.nvim` now does way too many things to be in `code-generic`
2025-07-30 22:19:30 +05:30
Pratik Tripathy
dbb0df0c4d fix(nvim): Add autopair plugins for formatting lines when autopaired and
cursor goes to next line, deprecated `vim.highlight` to `vim.hl`

- fix: replaced deprecated `vim.highlight.on_yank` to `vim.hl.on_yank`
2025-07-29 11:38:13 +05:30
Pratik Tripathy
22157e682a fix(neovim-lsp): Default LSP configured with default LSP client & color
completions

- Default configs for: markdownlint, marksman, prettier, shellcheck, shellharden, shfmt,
  trivy
- Configure `mason` to `append` PATH
- Configure completions for `nvim-highlight-colors`
2025-07-29 11:33:35 +05:30
Pratik Tripathy
8c52c7a881 feat(neovim-rust): Rust LSP, debugging, testing and keymaps
- `rustaceanvim` for LSP config
- Rust ft specific keymaps in `after/ftplugin`
- `nvim-dap` for Rust debugging with codelldb
- `rustaceanvim.neotest` for Rust testing
- `rcasia/neotest-bash` for Bash testing
- Better keymaps for running tests
- Inlay hint UI improvements
2025-07-29 11:25:08 +05:30
Pratik Tripathy
fb16a6a3f0 chore(neovim): Remove dotnet from README & formatting config 2025-07-29 11:22:09 +05:30
Pratik Tripathy
ae6d1cebb8 refactor(neovim): Rename files, move plugin declarations around, remove
plugins completely

- Removed: dotnet with all related configs & plugins
- Removed: `vim-highlightedyank` replaced with autocommand
- Moved: `indent-blankline` from `code-generic` -> `ui`
- Moved: All javascript plugins to `code-lsp`: WIP
- Moved: `vim-easymotion` from `code-navigation` -> `navigation`
- Renamed: `code-completion` -> `completion`
- Renamed: `code-formatting` -> `formatting`
- Renamed: `code-git` -> `git`
- Renamed: `code-lint` -> `lint`
- Renamed: `navigate-files` -> `navigation`
2025-07-28 12:54:04 +05:30
Pratik Tripathy
532aea9044 fix(neovim): Snacks: enable gitea URLs & chores
- gitbrowse: Add pattern for Gitea URL
- scratch: Change the path of scratch files
- scratch: Modal size increased
- chore: explicitly add disabled modules
- chore: settings on single line when possible
- new: quickfile, picker
- zen: dim
- fix: word -> words
2025-07-28 11:12:05 +05:30
Pratik Tripathy
1baff14c5a chore(neovim): Better comments 2025-07-28 11:11:13 +05:30
Pratik Tripathy
39efa2af1f feat(neovim): Keymap enhacements
- Keep keymaps 2 character long
- In case of conflicts choose Capital letter
- Lsp: cI -> ch
- LspSaga: cpf -> cF, cpt -> cT, cpi -> cI,
- navbuddy: o -> / (search at current level)
- new: snack: gL -> Popup git line log
- new: Ctrl+` -> floating terminal (Lspsaga)
- Whichkey: Consistent icons
2025-07-28 10:59:12 +05:30
Pratik Tripathy
b132395c0a fix(neovim): Remove rust & javascript downloaded packages from searches 2025-07-28 10:55:51 +05:30
Pratik Tripathy
dd9246cda7 feat(neovim): Rust dev with rustaceanvim & LSP servers installation through OS installer and NOT mason
- Use `rustaceanvim` for Rust development
- `rustaceanvim` keymaps in NeoVim `after` file
- Remove Rust LSP setup through builtin LSP
- Remove LSP installations from Mason when equivalent available through
  OS installers
- All LSP plugins in `code-lsp.lua`
2025-07-28 10:51:51 +05:30
Pratik Tripathy
e6827f91ad chore(neovim): Reorg plugins to more appropriate location
- Moved `nvim-nfo` to `ui.lua`
2025-07-28 10:39:00 +05:30
Pratik Tripathy
80eea03892 chore(nvim): Removed unused plugins, renamed some files 2025-07-25 22:06:30 +05:30
Pratik Tripathy
1e5509daaa feat(nvim): v0.11: Use native LSP, Completion, Diagnostics
- Move all language LSP configurations to `nvim/lsp`
- Move nvim LSP configurations to `nvim/lua/core`
- Remove LSP attach keymaps where default ones exists and are usable
- Reorged LSP attach keymaps per plugin
- Move Lazy.nvim configurations to `nvim/lua/core`
- `nvim/init.lua` cleaned to only load other files
- Uniform diagnostics symbols across lualine & gutter
2025-07-25 21:57:45 +05:30
Pratik Tripathy
3bea86537a refactor(neovim): Markdown image pasting and rendering improvements 2025-07-24 16:50:54 +05:30
Pratik Tripathy
eb4bd841b3 chore(neovim): Use snacks.nvim to view images
- Remove `image.nvim` for image display on markdown
- Simple code reorg
2025-07-22 16:40:36 +05:30
Pratik Tripathy
9ed4ee445b fix(neovim): Remove Codeium AI autocomplete shit 2025-07-22 16:37:54 +05:30
Pratik Tripathy
1348574a13 feat(nvim): Quality of life config changes
- Blink.nvim: Fall back to default keymaps
- blink.nvim: Remove codium from sources
- lsp: Enable inlay hints by default
- keymap: <space+=> -> Evaluate highlighted text & paste result at end
2025-06-12 13:11:20 +05:30
Pratik Tripathy
6c70647adc fix(neovim): Update nvim-ufo config to fix code folding issue 2025-06-12 13:09:39 +05:30
Pratik Tripathy
cd52eb77cc chore(nvim): Useful tips added across configuration to improve nvim
usage
2025-03-31 11:41:31 +05:30
Pratik Tripathy
05fabaf997 feat(nvim-formatting): Auto install required formatters through mason
- Sort configurations by ft
- Add formatters to lsp so they can be auto installed by mason
2025-03-31 11:39:06 +05:30
Pratik Tripathy
29a2f349d7 feat(nvim-code-completion): Updates to blink.nvim config
- Bump version to "1.*"
- More community plugins added: emoji, conventional-commits
- <C-CR> to accept and NOT select_and_accept
- Rounded border
- Quickly show documentations
- Commandline completion configuration
- Codeium plugin configured through blink.compat
- File based completion settings for: sql, markdown & gitcommit
2025-03-31 11:38:42 +05:30