Commit Graph

145 Commits

Author SHA1 Message Date
Pratik Tripathy
b9efd12e47 feat(nvim): Markdown handling improvements
- marksman: Trimmed config file: removed comments, remove default
  settings
- fix: ftplugin for codelens: provide current buffer
- new: Add obsidian.nvim plugin to replace markdown-oxide lsp
2025-11-22 23:38:42 +05:30
Pratik Tripathy
8498348fcf feat(snippet): Snippet for Dockerfile for rust app
- With sccache & cargo-chef for faster builds
- Docker cache-mount
- Auto copy required shared-libraries to final image
- Use debian 13 base image to use glibc & NOT musl
- CA certs, zoneinfo, nsswitch copied to final image
2025-10-28 21:45:27 +05:30
Pratik Tripathy
1d2c8746de chore(neovim): Remove bash-test plugin, migrate SmiteshP/nvim-navbuddy
-> `hasansujan789/nvim-navbuddy`
2025-10-28 21:43:07 +05:30
Pratik Tripathy
b3f19fede4 feat(neovim): AWK LSP with required workarounds
- Disable lspsaga -> symbol_in_winbar for awk files
2025-10-22 20:31:38 +05:30
Pratik Tripathy
f7123b0759 fix(neovim): Python basedpyright LSP settings 2025-10-20 17:04:18 +05:30
Pratik Tripathy
ee8ee9898d fix(neovim): Remove nvim-treesitter's ]c & [c bindings
- They conflict with default vimdiff bindings
2025-10-20 17:01:18 +05:30
Pratik Tripathy
8bcea5312e neovim(python): Use basedpyright for LSP & ruff for linting &
formatting
2025-10-20 16:56:12 +05:30
Pratik Tripathy
b92617e518 chore(neovim): Remove flash.nvim plugin 2025-10-13 19:57:18 +05:30
Pratik Tripathy
910e286dad neovim: Keymap updates
- new: `ctrl + ,` opens Neovim's `init.lua`
- new: `]q` `[q` to traverse quickfix list
- new: `<leader>cq` adds project diagnostics to quickfix list
- remove: `<leader><enter>` to apply setting changes; lazy doesn't
  support it
- remove: `<A-jk>` to move lines; can move with `J`, `K` with visual
  selection by default
2025-10-13 19:49:01 +05:30
Pratik Tripathy
d9ae73d437 feat(neovim): Create MasonInstallAll command to install applications
not available through OS package and brew
2025-10-13 19:39:18 +05:30
Pratik Tripathy
cbb80fd205 refactor(neovim): Better lazy.nvim setup
- Load options & keymaps right before loading lazy
- Bring back lazy suggested `disable_plugins` for performance
2025-10-13 19:35:50 +05:30
Pratik Tripathy
31659e55eb feat(neovim): Formatting for xml & linting for dockerfile, terraform,
yaml

- xml formatting with `xmllint`
- Security linting with `trivy` for dockerfile, terraform & yaml
2025-10-13 19:33:24 +05:30
Pratik Tripathy
f3814850ba fix(neovim): Unmap ]c, [c & show modified directories in file tree
- `]c` & `[c` are mapped by default to diffview change traversal
2025-10-13 19:30:27 +05:30
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
6054fa7c2a fix(neovim): Shellharden LSP command arguments fixed 2025-09-01 16:54:20 +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
0373234cc9 feat(neovim): Markdown-oxide configured
- Makes the Obsidian-like markdown work in Neovim
2025-09-01 11:57:05 +05:30
Pratik Tripathy
3be53f130a fix(neovim): Blank to default lsp configurations
- Configuration for files under `/lsp` are added
2025-09-01 11:54:16 +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
e7a1250a8a fix(neovim): Remove filetype-based-keymaps.lua references 2025-08-20 16:39:36 +05:30
Pratik Tripathy
612f848d6d chore(neovim/vim): Minor fixes 2025-08-20 13:14:04 +05:30
Pratik Tripathy
80cdb6de7b docs(neovim): All external applications required for my config
- Note down all external applications required for my config to work
- Add fzf, fd-find, ripgrep to `package-list-os`
2025-08-20 13:10:44 +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
945d2ca4da feat(neovim): Custom snippets for markdown 2025-08-12 15:05:53 +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
355bbfd2e8 chore(neovim): Add taplo, yamlls configs & more lsp installations
in bootstrap script
2025-08-04 11:03:29 +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