Commit Graph

308 Commits

Author SHA1 Message Date
Pratik Tripathy
c2ddd12cf3 fix(bash): Issues with prompt & code cleanup
- removed: last command time on prompt broke `$_`
- cleanup: Removed old stuff
2025-10-20 16:57:21 +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
9537987165 feat(shell): Add aliases from dev_prod project, remove aliases required
for servers
2025-10-13 19:56:06 +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
9223455162 feat(vim): Update vimplug 2025-10-13 16:41:38 +05:30
Pratik Tripathy
c95bf42823 refactor(vim): Keymap updates for Vim
- Auto-center cursor on more movements
- fix: Quickfix traversals
- Buffer traversal similar to Neovim
- Paste without yanking
- Remove all edit mode mappings copied from NvChad
- Remove "copy all" mapping
2025-10-13 16:36:36 +05:30
Pratik Tripathy
e0e307ad1b fix(vim): Move Vim-only keymaps to vimrc which isn't sourced by Neovim 2025-10-13 16:35:37 +05:30
Pratik Tripathy
d6d928d5b6 refactor(install-script): Add flatpak installs 2025-10-13 16:29:49 +05:30
Pratik Tripathy
90327cd808 fix: No more caps -> escape mapping at OS
- Use `ctrl + ]` in vim/neovim
2025-10-13 16:26:09 +05:30
Pratik Tripathy
ba10c38fd4 feat(eslint): Create file & add env variable pointing to it 2025-10-13 16:23:53 +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
a94614044f chore(vscode): Plugin updates 2025-09-01 17:09:37 +05:30
Pratik Tripathy
5b2c7df7d4 refactor: Remove Kate & KDE configs 2025-09-01 17:08:26 +05:30
Pratik Tripathy
75896fd1e6 feat(install.sh): Improvements
- fix: Debian extrepo: each package to be installed separately
- podman: create docker compatible socket
- brew: Remove packages usually available on OS repos
- FreeBSD: Fonts
- Fedora: Fonts
- Debian: pipewire and related audio packages
- Debian: Fonts
2025-09-01 16:57:00 +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
925711de0b refactor: Remove Jetbrains keymaps & Windsurf settings 2025-09-01 16:53:35 +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
38f6e7b1a2 fix(profile): DevSetUps was exported after it was used & Podman config
- fix: `DEV_CACHE_PATH` export location fixed
- new: Notes to set `ELECTRON_OZONE_PLATFORM_HINT` in `/etc/environment`
  to fix font issues
- Podman: Set variables for lazydocker to work
2025-09-01 12:48:44 +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
85040e131d refactor(vim): Moved keymap from vimrc -> key_maps.vim
- New: Center cursor on `G`
2025-09-01 12:22:29 +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
eb9b6b5ab3 feat(install-script): apt: use extrepo
- Instead of manually adding gpg files or using `add-apt-repository` for
  common applications use `extrepo`
- package-list-os: Add: foliate, ghostscript, imagemagick, kitty, xsel
- package-list-os: Remove: smplayer
- test-script: use `podman` instead of `docker`
- Dockerfile: Remove older OSes
2025-08-25 18:46:42 +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
ae9340c6a1 chore(fonts): Sync font config across kitty, ghostty, zed 2025-08-20 13:13:06 +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
1902cf2fcd feat(setup): Install pylint LSP 2025-08-12 15:07:26 +05:30