Commit graph

1027 commits

Author SHA1 Message Date
Sanchayan Maity b2d1a3ee62 kitty: Remove deprecated option
From 0.21.0 the options to control which modifiers keys to press
for various mouse actions have been removed. The options were:
terminal_select_modifiers, rectangle_select_modifiers and open_url_modifiers.

Use the mouse actions framework if these are needed.
2021-07-14 10:40:56 +05:30
Sanchayan Maity ed70d5a630 nvim: Update packer 2021-07-13 19:56:43 +05:30
Sanchayan Maity 74b4f194b8 Switch to Victor Mono
The vanilla JetBrains Mono does not render some ligatures like =>
properly which made us use nerd-fonts package. However, the nerd-fonts
jetbrains-mono font seems to sometimes cause problems with kitty not
recognizing it by the standard name. Could be a fontconfig issue as well.

Switch to Victor Mono which also has ligature support and does not seem
to suffer from the problem above. We need the nerd-fonts version as well
due to nvim-web-devicons requiring patched fonts.

Deploying the fontconfig change seems to make the devicons in the
neovim status line render better at least size wise.
2021-07-13 19:52:56 +05:30
Sanchayan Maity a148531d3f fish: Add shortcuts for searching with ripgrep within in a file
This is primarily to help us with grepping in gstreamer logs.
2021-07-12 18:05:48 +05:30
Sanchayan Maity a493297cae nvim: plugins: For handling files with ANSI escape sequences better 2021-07-12 12:23:52 +05:30
Sanchayan Maity d3b8cec40a nvim: git: Add functionality to restore using git reflog 2021-07-09 10:34:12 +05:30
Sanchayan Maity a85a76c3eb nvim: Update packer 2021-07-09 10:34:12 +05:30
Sanchayan Maity 8fc44227f2 nvim: after/plugin/completion: Disable autocomplete 2021-07-05 17:43:10 +05:30
Sanchayan Maity 119c91a6b7 nvim: plugins: Add nvim-gdb 2021-07-05 17:39:56 +05:30
Sanchayan Maity ffadf1cf4f nvim: keymappings: Map ;; to :
Let's us get over the annoyance of having to press shift for using :.
2021-07-05 10:48:53 +05:30
Sanchayan Maity 6c3886aff0 nvim: Update packer 2021-07-05 10:48:53 +05:30
Sanchayan Maity fff7723126 nvim: treesitter: Enable Haskell 2021-06-28 16:43:06 +05:30
Sanchayan Maity 112239bd31 nvim: plugins: Drop indentLine
indentLine seems to have general performance issues.
2021-06-26 11:19:47 +05:30
Sanchayan Maity a51f16304c nvim: after/ftplugin: git: Do not set bufhidden to wipe
This resulted in not being able to go back to the previous buffer when
using something like git log which is not we want.
2021-06-23 12:30:18 +05:30
Sanchayan Maity 47065178c5 nvim: Update packer 2021-06-23 12:30:18 +05:30
Sanchayan Maity 6406ae8a71 nvim: plugins: Drop plugins
Drop plugins we never use anymore or got around to using.
2021-06-23 12:30:11 +05:30
Sanchayan Maity 44a39eee24 nvim: treesitter: Enable playground
Helps to see what treesitter queries are being made. Would be helpful in
tuning the color scheme.
2021-06-23 12:28:44 +05:30
Sanchayan Maity 0649b639da nvim: treesitter: Force nvim-treesitter to use a specific compiler
Required for Haskell. See
https://github.com/tree-sitter/tree-sitter-haskell#building-with-nvim-treesitter
2021-06-19 11:26:13 +05:30
Sanchayan Maity a16c244fce nvim: autoload/ftplugin: git: Add rebase and merge helpers 2021-06-17 16:58:12 +05:30
Sanchayan Maity 108630d19c nvim: Move plugin configuration files to after/plugin
Now that neovim runtime can also source lua files from traditional vim
runtime directories like after/plugin/ftplugin etc, move all plugin
configuration files to after/plugin.
2021-06-17 10:07:51 +05:30
Sanchayan Maity ca9e0d1754 nvim: after/plugin: fzf: Move fzf configuration
Do all fzf configuration in after/plugin instead of lua/modules. While at
it, add functionality to add fzf items to the quickfix list.
2021-06-16 19:11:11 +05:30
Sanchayan Maity aee5337f55 nvim: init: Drop exrc and secure
exrc is deprecated and not recommended. Accordingly also drop secure.

See
https://github.com/neovim/neovim/issues/5784#issuecomment-506993689
2021-06-16 12:55:44 +05:30
Sanchayan Maity 7fb370f824 nvim: lsp: Enable code lens support
Relevant PR
https://github.com/neovim/neovim/pull/13165
2021-06-15 15:41:28 +05:30
Sanchayan Maity 2fcdea1cb2 nvim: keymappings: Add a key mapping to help with opening vim docs 2021-06-15 09:56:23 +05:30
Sanchayan Maity 5d2d279e9e nvim: after/ftplugin: help: Add key mapping for closing help files 2021-06-15 08:34:27 +05:30
Sanchayan Maity 3d8ccb4f23 nvim: yolokai: Sync with nvim-highlite upstream 2021-06-15 08:34:27 +05:30
Sanchayan Maity 0eb9b86927 Revert "nvim: Fix accessing t_Co"
This reverts commit 72e3b80274.
2021-06-15 08:34:27 +05:30
Sanchayan Maity ba3c62722b nvim: Update packer 2021-06-15 08:34:27 +05:30
Sanchayan Maity e715f19d1e nvim: modules: Alignment cleanup
Slight OCD :).
2021-06-12 12:24:57 +05:30
Sanchayan Maity 8ad693d5bc nvim: init: Drop duplicate swapfile setting call 2021-06-10 18:30:31 +05:30
Sanchayan Maity 8be870b015 nvim: after/ftplugin: man: Set nobuflisted and bufhidden for man pages 2021-06-10 10:30:27 +05:30
Sanchayan Maity 511d5a17aa nvim: plugins: Add plenary and null-ls
nvim-lsp-ts-utils now has plenary and null-ls as a requirement.
2021-06-10 10:30:27 +05:30
Sanchayan Maity 9d6be2d56b nvim: Update packer 2021-06-10 10:30:27 +05:30
Sanchayan Maity 3942f04633 nvim: after/plugin: fugitve: Use gS mapping to stash file
While at it, use <Leader>G for :Git.
2021-06-07 20:54:41 +05:30
Sanchayan Maity 1fb713a8ba tmux: Update plugins 2021-06-05 18:26:22 +05:30
Sanchayan Maity 3a6b12d118 nvim: after/ftplugin: mail: Disable whitespace in mail
We do not care about whitespace when constructing replies from within
mutt.
2021-06-05 17:42:48 +05:30
Sanchayan Maity 3ba1673068 nvim: after/plugin: fugitive: Update gF and gE mapping
Often it is convenient to merge remote branch origin/foo into local
branch foo, without having to checkout foo first. Use gF mapping for
the same.

One may edit alternate versions of the file in different branches using
:Gedit <branch>:/path/to/file. Use gE mapping for the same.
2021-06-04 15:50:35 +05:30
Sanchayan Maity 65230f92a0 nvim: Update packer 2021-06-04 10:33:31 +05:30
Sanchayan Maity e3df9adf91 nvim: after/ftplugin: C: Fix quickr cscope mappings
These seem to not work with nnoremap for some reason.
2021-06-03 20:55:19 +05:30
Sanchayan Maity 525d73373d nvim: after/ftplugin: Set wipe on bufhidden for dirvish and gitcommit 2021-06-02 13:54:26 +05:30
Sanchayan Maity 55f71e8346 kitty: Update some key mappings 2021-06-01 16:27:51 +05:30
Sanchayan Maity d7ff7f1ec2 nvim: after/ftplugin: Fix various key mappings
Also see the previous commit for more context.
2021-05-29 13:39:44 +05:30
Sanchayan Maity efe3e7e517 Revert "nvim: after: ftplugin: Fix various key mappings"
This reverts commit e6397864d0.

This was actually wrong. nnoremap should be always what we want. For
example, this broke the <Leader>r mapping for gitrebase and would invoke
:Reword from lambdalisue/reword.vim.
2021-05-29 13:39:44 +05:30
Sanchayan Maity 4e2abc80df nvim: after/ftplugin: gitrebase: Add vim-interactive-rebase-reverse
The plugin is a pretty small ftplugin. Just add it to our ftplugin.
This also fixes the issue where this plugin did not take affect
when using interactive rebase from within fugitive.
2021-05-29 13:39:44 +05:30
Sanchayan Maity 72e3b80274 nvim: Fix accessing t_Co
With neovim/neovim#13479 merged, window option needs to be used for
accessing t_Co correctly.
2021-05-29 13:33:32 +05:30
Sanchayan Maity fbce78c346 nvim: init: Use vim.o for setting all options
Works exactly the same as `set` after neovim/neovim#13479.
2021-05-29 13:32:43 +05:30
Sanchayan Maity ac3cb2e828 nvim: Update packer 2021-05-29 10:50:43 +05:30
Sanchayan Maity 748fd222da nvim: after/ftplugin: Use 'wipe' for bufhidden 2021-05-25 11:39:40 +05:30
Sanchayan Maity f088e258da nvim: after/plugin/fugitive: Add some more key mappings 2021-05-25 10:48:33 +05:30
Sanchayan Maity a567150a64 Revert "nvim: after/ftplugin: javascript: Add keymapping to invoke prettier"
This reverts commit 1ba2fee97d.

Now that we enable nvim-lsp-ts-utils, this is not required anymore.
2021-05-24 17:20:23 +05:30