Commit graph

1595 commits

Author SHA1 Message Date
Sanchayan Maity 74183bb5ec nvim: init: Drop unnecessary require 2022-08-19 16:59:19 +05:30
Sanchayan Maity 2f58beffc7 nvim: Update packer 2022-08-08 09:46:00 +05:30
Sanchayan Maity 1cf5377ae5 nvim: lsp: Remove obsolete flag for clangd 2022-08-06 11:41:09 +05:30
Sanchayan Maity 2102b9983b fish/git: Manually set file type to git when calling nvim
This reverts 7b84c0e again. Seems the issue is back with upstream.
2022-08-06 11:18:12 +05:30
Sanchayan Maity 16251e5d4c fish: conf.d/setup: Enable XDG support for ghcup 2022-08-03 20:31:41 +05:30
Sanchayan Maity 01dfb0429c nvim: lsp: range_code_action is deprecated
See PR
https://github.com/neovim/neovim/pull/19551
2022-08-03 14:24:58 +05:30
Sanchayan Maity 19e651780e keymappings: Fix command line mode mappings
See https://github.com/neovim/neovim/issues/14090#issuecomment-1202280881.
2022-08-03 13:12:41 +05:30
Sanchayan Maity 4e60a3f53e nvim: plugins: Drop vimtex
For any future LaTeX writing needs we only intend to use
markdown/pandoc.
2022-07-27 12:21:48 +05:30
Sanchayan Maity 8198cf7396 nvim: Update packer 2022-07-27 12:21:42 +05:30
Sanchayan Maity d4edc15bd2 nvim: keymappings: Disable macro recording 2022-07-11 19:28:00 +05:30
Sanchayan Maity 01dddffa53 nvim: Update packer 2022-07-08 10:05:14 +05:30
Sanchayan Maity 35f9bead79 nvim: init: filetype.lua is now default
See
https://github.com/neovim/neovim/issues/14090#issuecomment-1177933661
2022-07-08 09:18:19 +05:30
Sanchayan Maity f6465cb3a5 nvim: Update packer 2022-07-02 13:04:59 +05:30
Sanchayan Maity f315c0060b nvim: statusline: Allow more width for git branch 2022-06-25 17:05:49 +05:30
Sanchayan Maity d057fa0385 nvim: fugitive: Execute commands while keeping current alt file
Keep current alternate file where possible for git commands executed
via fugitive.
2022-06-19 15:48:57 +05:30
Sanchayan Maity 69b3327598 arch-packages: Update package list 2022-06-19 15:48:57 +05:30
Sanchayan Maity add2ceb869 nvim: statusline: Enable winbar
Use it to show full path for file. This frees up space in status line
when git branch names are long.
2022-06-08 09:51:47 +05:30
Sanchayan Maity 1fdb057edf nvim: Update packer 2022-06-05 15:03:49 +05:30
Sanchayan Maity 6be67782e6 nvim: treesitter: Add golang 2022-06-05 15:03:49 +05:30
Sanchayan Maity 9f43c8b7f3 sway: Update wallpaper 2022-05-26 14:31:25 +05:30
Sanchayan Maity 24bacf5d87 tmux: Increase history limit 2022-05-25 16:22:31 +05:30
Sanchayan Maity 664db0f770 nvim: after/plugin/nvim-lint: Remove flake8 as a linter for Python 2022-05-19 11:11:56 +05:30
Sanchayan Maity 8aeabd9473 fish: functions: Add fzf versions of vgrep 2022-05-19 09:44:51 +05:30
Sanchayan Maity d4f81fe865 nvim: plugin/visual-star-search: Set mark when doing backward search
While at it, drop calling set hlsearch for * and g* as hlsearch is
enabled by default and does not seem to be required.
2022-05-18 09:09:23 +05:30
Sanchayan Maity 68581433e3 fish: functions: Add aliases for ninja build
We need this frequently working with GStreamer.
2022-05-14 17:44:33 +05:30
Sanchayan Maity f4b928bd3e nvim: after/plugin/ftplugin: Update setting of buffer local mappings 2022-05-14 13:45:21 +05:30
Sanchayan Maity edb11e5e1d nvim: plugin/visual-star-search: Use custom visual star search
neovim enabled search selection by * and # in visual mode but seems
that is not good enough.
https://github.com/neovim/neovim/pull/18538#pullrequestreview-971039192

Add and use Justin Keyes version referenced above.
2022-05-14 09:10:13 +05:30
Sanchayan Maity 21944d6bca nvim: plugins: Update the marks repo location 2022-05-14 08:36:56 +05:30
Sanchayan Maity 285d1fb9a9 nvim: plugins: Drop vim-visual-star-search
Commit 233c41c in neovim upstream enabled search selection by * and #
in visual mode by default. We do not need this plugin anymore.
2022-05-13 09:11:02 +05:30
Sanchayan Maity 918df63073 nvim: Fix group argument to nvim_create_autocmd 2022-05-06 12:04:35 +05:30
Sanchayan Maity 8fd4ae0da9 fish: Drop all fzf + git related functions
vim-fugitive is all that is needed. We wrote these functions before
getting well versed with fugitive. These are not required anymore.
2022-05-06 12:04:35 +05:30
Sanchayan Maity 463e9f5811 nvim: plugins: Drop dhall
We do not use this and haven't had anything to do with dhall in about
one and half year.
2022-05-06 11:36:17 +05:30
Sanchayan Maity 363ba685aa nvim: lsp/ftplugin/rust: Remove crate graph 2022-05-06 11:25:09 +05:30
Sanchayan Maity ef00957fae nvim: lsp: Refactor configuration setting for clients 2022-05-05 21:00:25 +05:30
Sanchayan Maity 223ffe7505 nvim: lsp: Enable additionalTextEdits for completion item 2022-05-05 20:59:32 +05:30
Sanchayan Maity a460081971 nvim: after/plugin/gitlinker: Fix gnome url 2022-05-05 16:48:21 +05:30
Sanchayan Maity 96aa7aec83 git: Use nvimdiff1 as the merge tool
The feature provided by the vim-diffconflicts plugin seems to have been
merged upstream. Use of nvimdiff1 should now suffice.

See https://www.eseth.org/2020/mergetools.html

There also seems to be a new proposal adding layout support which will
be interesting once merged.
https://lore.kernel.org/all/20220327112307.151044-1-greenfoo@u92.eu/
2022-05-04 10:59:39 +05:30
Sanchayan Maity 16c4e4ee27 git: ignore: Ignore any private notes we use 2022-05-04 10:59:39 +05:30
Sanchayan Maity c878a7b0be git: Use zealous diff3 style of merge conflict presentation
This is only available from git 2.35. A description of how this works is
in the original commit.
4496526f80
2022-05-03 18:31:36 +05:30
Sanchayan Maity a5861f627d tmux: Drop copycat
Native regex searches are supported since 3.1. And we have never used
the predefined searches feature supported by copycat.
2022-05-03 18:31:36 +05:30
Sanchayan Maity 6382bcebbf tmux: Set options for fuzzback 2022-05-03 18:31:36 +05:30
Sanchayan Maity 7653a07fda mimeapps: Add mimeapp list for default applications 2022-05-03 17:02:41 +05:30
Sanchayan Maity 86a89f99ab nvim: after/plugin/fugitive: Add mapping for git grep
The rebase abort mapping is not really required as fugitive already
provides the `ra` mapping when in git status window to abort rebase.
Use the `gr` mapping for git grep and `gR` for rebasing to origin.
2022-05-02 12:38:25 +05:30
Sanchayan Maity 211cd39138 nvim: plugins/lsp: Drop nvim-lsp-ts-utils
The plugin is in maintenance mode and typescript.nvim does not support
inlay hints. We already use eslint language server and extra commands
provided by lsp-ts-utils/typescript.nvim is something we have never
used. Just drop it.
2022-05-02 10:34:44 +05:30
Sanchayan Maity 59b1696ffa nvim: lsp: Refactor setting up of autocmd for code lens & document highlight 2022-05-02 09:33:38 +05:30
Sanchayan Maity fdc17306b7 nvim: lsp: Refactor setting up of key mappings 2022-05-02 09:33:38 +05:30
Sanchayan Maity 59c9556325 nvim: lsp: Sync with upstream
vim.lsp.buf.formatting function is deprecated and now replaces all the
below three functions with vim.lsp.buf.format.

- vim.lsp.buf.formatting
- vim.lsp.buf.formatting_sync
- vim.lsp.buf.formatting_seq_sync

client.resolved_capabilities is no longer used. One must now access
client.server_capabilities which matches the same structure as the
protocol.

https://microsoft.github.io/language-server-protocol/specification

See neovim commit c618b31.
2022-05-01 19:50:07 +05:30
Sanchayan Maity 6d9a0d22c4 foot: Do not hide mouse when typing 2022-05-01 11:39:55 +05:30
Sanchayan Maity 68afa288f6 arch-packages: Update package list 2022-04-29 16:54:11 +05:30
Sanchayan Maity 679daf809a nvim: after/ftplugin/dirvish: Set bufhidden to hide
With commit 7e41cd7 entering in dirvish does not work if bufhidden is
not hide or empty. Set it to hide and using BS which is mapped to C-^
in our key mappings, we can go back to the previous buffer.
2022-04-28 15:20:44 +05:30