Commit Graph

1337 Commits

Author SHA1 Message Date
Sanchayan Maity 78ab1afc24 fish: Drop all git aliases
We do everything with vim-fugitive. Drop all those git aliases. We never
used most of them anyways.
2021-12-10 15:49:47 +05:30
Sanchayan Maity f5fd6ddd55 fish: Move all functions to ~/.config/fish/functions 2021-12-10 15:39:44 +05:30
Sanchayan Maity 99482de9a4 fish: Add alias to fuzzy search RFC documents 2021-12-10 15:21:49 +05:30
Sanchayan Maity 591077efb4 nvim: Update Python related configuration 2021-12-10 14:09:12 +05:30
Sanchayan Maity b41584d996 nvim: lsp: Enable document highlight only when supported 2021-12-10 14:09:12 +05:30
Sanchayan Maity 5716ca88af nvim: plugins: Switch to lualine 2021-12-10 10:58:19 +05:30
Sanchayan Maity 13dbf4a8c1 git: ignore: Ignore mediasoup directories
We want ripgrep to ignore mediasoup while grepping.
2021-12-08 20:59:21 +05:30
Sanchayan Maity 443ba5441a fish: Add an alias to fuzzy find a process to kill 2021-12-08 18:16:16 +05:30
Sanchayan Maity 03a4cb93ff fish: Add an alias for mutt 2021-12-07 13:13:14 +05:30
Sanchayan Maity b455b84b1a sway: Increase pavucontrol window size 2021-12-07 13:08:53 +05:30
Sanchayan Maity 405b9ecc92 fish: Drop emacs aliases 2021-12-06 10:28:30 +05:30
Sanchayan Maity 12af55257f fish: Add an alias to open pw-dump output in neovim 2021-12-06 10:28:30 +05:30
Sanchayan Maity e488171b08 nvim: plugins: Add vim-matchup
We also enable the treesitter integration.
2021-12-06 10:28:30 +05:30
Sanchayan Maity cdb4ba7740 nvim: yolokai: Change MatchParen highlight
Purple is also used for some other groups, use of orange makes the
matching identifiers stand out.
2021-12-06 10:28:30 +05:30
Sanchayan Maity 3c69913845 nvim: autocmd: Fix TextYankPost autocmd 2021-12-06 10:28:30 +05:30
Sanchayan Maity 674b1539ed nvim: colors/yolokai: Update highlight for nvim-cmp
This adds support for using different highlights for each
of the LSP kind items like variable, functions, methods etc.
2021-12-06 10:28:30 +05:30
Sanchayan Maity 1643837553 nvim: after/plugin/cmp: Show LSP kind type name during completion 2021-12-06 10:28:30 +05:30
Sanchayan Maity d0b93a537a nvim: Update packer 2021-12-06 10:28:30 +05:30
Sanchayan Maity 279f55988e Add a basic flake8 configuration 2021-12-06 10:28:30 +05:30
Sanchayan Maity 8db10794e4 Add a basic pylint configuration
Generated from default but changed naming style to be any.
pylint --generate-rcfile > .pylintrc
2021-12-06 10:28:30 +05:30
Sanchayan Maity 7001fc4603 nvim: plugins: Add cmdline completion 2021-12-06 10:28:30 +05:30
Sanchayan Maity 677ec666e6 nvim: autocmd: Fix luacheck warning 2021-12-06 10:28:30 +05:30
Sanchayan Maity 3bcae4c1c7 Add luacheckrc for neovim 2021-12-06 10:28:30 +05:30
Sanchayan Maity 818a34a7ff nvim: lsp: Enable flake8 & pylint for pylsp
See documentation
https://github.com/python-lsp/python-lsp-server/blob/develop/CONFIGURATION.md
2021-12-06 10:28:30 +05:30
Sanchayan Maity 3be8a76fe7 nvim: lsp: Drop support for lua
We had added lua-language-server thinking it would be helpful for
Wireplumber development, but, due to the nature of lua and server
itself, the experience is utter crap in comparison to using LSP in
other languages.
2021-11-28 17:53:49 +05:30
Sanchayan Maity 00f67243f7 nvim: keymappings: Add mappings to hide, reset & show diagnostic 2021-11-28 17:53:49 +05:30
Sanchayan Maity 46534e547c nvim: plugins: Add nvim-lint 2021-11-28 17:53:49 +05:30
Sanchayan Maity f0ab1b98bb nvim: after/ftplugin: type/javascript: Add keymapping to invoke prettier
Brings back 1ba2fee9 and reverts a567150a.
2021-11-28 17:53:49 +05:30
Sanchayan Maity 49cf726ce0 nvim: plugins/lsp: Drop null-ls
See the below issue
https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils/issues/87

We went with null-ls because we wanted formatting with prettier. Also
null-ls was recommended by nvim-lsp-ts-utils.

The advantage of null-ls is it provides formatting and diagnostics
together in one package.

However, we will get prettier by another means and for linting switch to
nvim-lint.
2021-11-28 17:53:42 +05:30
Sanchayan Maity 7941b26d41 i3status-rust: Do not switch between memory & swap on click for memory block 2021-11-26 12:26:52 +05:30
Sanchayan Maity 6ead0d94a7 nvim: lsp: Fix missing capabilities for tsserver
We missed setting this when enabling inlay hints.
2021-11-20 17:00:14 +05:30
Sanchayan Maity 1c2aa05711 fish: Update the journalctl boot aliases 2021-11-20 12:01:33 +05:30
Sanchayan Maity 6033367d0b nvim: init: Update vim diagnostic config
The show_header option of vim.diagnostic.open_float has been renamed
to simply header and has different semantics (you can now specify a
custom header string and highlights). A value of false has the same
meaning as before.
https://github.com/neovim/neovim/pull/16328
2021-11-19 15:12:29 +05:30
Sanchayan Maity 8733194431 nvim: lsp: Update the key mapping for code lens
We missed the fact that this conflicts with our gl mapping of HopLine
which we added recently.
2021-11-18 17:15:30 +05:30
Sanchayan Maity 71fae03c07 nvim: keymappings: Fix mapping for replace word
With silent set, we could not provide the input at the command line.
Also, the c. mapping wasn't suppose to have <CR>.
2021-11-18 13:25:40 +05:30
Sanchayan Maity c806eafe5c nvim: plugin: Move gdb_helper to it's appropriate directory
Should have been in plugin and not after/plugin.
2021-11-18 13:25:14 +05:30
Sanchayan Maity b4acbc3d98 fish: Disable Ctrl-d from closing the terminal
Mapping Ctrl-d in kitty was not the solution for this as we originally
thought.

See https://github.com/fish-shell/fish-shell/issues/5593 for an
explanation of the issue.
2021-11-18 11:28:33 +05:30
Sanchayan Maity f993461dec kitty: Improve scroll back pager
Do not set file type to man, as it gives the same highlight to
everything and the standard white on black is better.

Also load our own custom plugin to purge ANSI color codes from the
buffer on loading.
2021-11-18 10:39:22 +05:30
Sanchayan Maity ee584495dc nvim: plugins: Drop AnsiEsc and add a simpler replacement
Sanitises buffer by removing ANSI codes.

Idea taken from
https://www.reddit.com/r/neovim/comments/qqf4nn/comment/hk1nwnk
https://superuser.com/questions/1445805/removing-ansi-color-codes-from-a-text-file-in-vi
2021-11-18 10:38:38 +05:30
Sanchayan Maity c84e620795 nvim: after/plugin/fugitive: Improve normal mode mapping for GBrowse 2021-11-17 18:00:54 +05:30
Sanchayan Maity 3f61c98414 nvim: keymappings: Add mappings for DiffConflicts 2021-11-17 17:29:54 +05:30
Sanchayan Maity d989d6adbc nvim: after/plugin/fugitive: Enable q mapping for fugitiveblame 2021-11-17 16:47:19 +05:30
Sanchayan Maity 34bc9978d9 git: ignore: Ignore anything which looks like gdb stuff 2021-11-17 16:15:42 +05:30
Sanchayan Maity 7c767dcb9a kitty: session: Place pipewire tabs at start 2021-11-17 11:13:14 +05:30
Sanchayan Maity fe34c26993 nvim: fugitive/gitsigns: Enable git blame line
Now that we dropped git-messenger, enable git blame line with fugitive
and gitsigns.
2021-11-17 11:13:14 +05:30
Sanchayan Maity ab56185c9e nvim: plugins: Drop git-messenger
We have git blame via gitsigns or fugitive. Either should suffice.
2021-11-17 11:13:14 +05:30
Sanchayan Maity 940ce0d7ce sway: Switch to fuzzel and drop wofi
https://codeberg.org/dnkl/fuzzel
2021-11-17 11:13:14 +05:30
Sanchayan Maity cc75f12e3f nvim: lsp: Enable inlay hints for TypeScript/JavaScript 2021-11-17 11:13:14 +05:30
Sanchayan Maity b9e6330245 nvim: init: Drop relativenumber
Now that we switched to hop, we do not need relativenumber.
2021-11-17 11:13:14 +05:30
Sanchayan Maity 56842dd2a9 nvim: Switch to hop and drop sneak 2021-11-17 11:13:14 +05:30