Commit Graph

1753 Commits

Author SHA1 Message Date
Sanchayan Maity ee74c8c4d8
ruff: Add minimal configuration 2023-01-26 16:55:44 +05:30
Sanchayan Maity ad1c594245
nvim: after/plugin/nvim-lint: Drop pylint and use ruff 2023-01-26 16:55:44 +05:30
Sanchayan Maity 5abfc19676
Revert "fish: functions/gl: Pipe commit view to bat"
This reverts commit ec838cb54e.

We forgot that copying is not so easy when using bat or less.
2023-01-26 16:55:44 +05:30
Sanchayan Maity 780ea535f7
alacritty: Do not bind PasteSelection
It is confusing to have both and remember what is active when. Just
use the damn clipboard.
2023-01-26 16:55:43 +05:30
Sanchayan Maity f5d12372bd
Revert "nvim: plugins: Drop sleuth now that neovim has editorconfig built-in"
This reverts commit 058c37882d.

It is still helpful to have this it seems as without this working on
projects which do not have editorconfig becomes a pain.
2023-01-26 16:55:43 +05:30
Sanchayan Maity 367d21b00b
arch-packages: Update package list
Use toot instead of tut. toot also supports operations via direct
calls to the API.
2023-01-26 16:55:43 +05:30
Sanchayan Maity 2db9a1a37e
dnscontrol: Add monitor sub domain for monitoring metrics 2023-01-23 14:53:47 +05:30
Sanchayan Maity bfb7b25fa6
dnscontrol: Add back the A record
Without an IPv4 address we seem to have trouble with some networks
being able to resolve our domain. We are not ready for IPv6 only
setting. This might also be creating problem of federating our
mastodon instance with other networks.

Would have loved to save 0.6 Euro on Hetzner by being IPv6 only.
2023-01-23 08:51:49 +05:30
Sanchayan Maity 3e5d0f0e13
nvim: after/ftplugin/markdown: Remove column limit 2023-01-21 20:05:03 +05:30
Sanchayan Maity 46d68a981a
arch-packages: Update package list 2023-01-21 16:31:49 +05:30
Sanchayan Maity a64baccca1
nvim: Reintroduce clipboard settings
clipboard support just seems to be completely flaky right now. Add
previous settings but instead of tmux specific commands use wayland
clipboard tools.

This should make it work everywhere. One downside of this setting is
we go back to polluting system clipboard every time & does not really
matter if we copy to + or * register. Both will result in a call to
wl-copy.
2023-01-19 14:15:13 +05:30
Sanchayan Maity 8206103d7d
Use alacritty as default terminal
Now that alacritty supports undercurls let us switch back to using
it as the default and foot as the back up.
2023-01-19 14:15:13 +05:30
Sanchayan Maity f3190ffa0b
nvim: after/ftplugin/diff: spell is window local & not buffer local 2023-01-19 14:15:13 +05:30
Sanchayan Maity c0e0387cac
alacritty: Add a mapping for copying URLs 2023-01-19 10:05:19 +05:30
Sanchayan Maity 796f673617
alacritty: Increase font size 2023-01-19 10:05:19 +05:30
Sanchayan Maity b3b2f29501
gdb: init: Fix deprecated logging setting & enable debuginfod 2023-01-19 10:04:48 +05:30
Sanchayan Maity 558f03bede
nvim: after/plugin/gitlinker: Add videolan repo 2023-01-18 10:44:25 +05:30
Sanchayan Maity ec838cb54e
fish: functions/gl: Pipe commit view to bat
The recent tui changes to neovim cause some display issue after exiting
from it.

We need to provide the --pager option to bat for not exiting immediately
if the output size is smaller than the vertical size of the terminal.
See the --pager documentation in man bat. We use less -R instead of the
default less -RF.
2023-01-17 19:41:12 +05:30
Sanchayan Maity 674409573b
git/nvim: Drop diffconflicts
See the discussion on
https://github.com/whiteinge/diffconflicts/issues/26

Also
https://www.eseth.org/2020/mergetools.html
2023-01-17 10:09:29 +05:30
Sanchayan Maity 00db4f1cb8
sway: Assign vimiv and xdot to workspace 8 2023-01-16 13:06:32 +05:30
Sanchayan Maity 5ed30a7796
fish: functions/dotg: Sort the results on basis of time
Idea adapted from
https://stackoverflow.com/questions/45500978/vim-fzf-sort-initial-results-on-file-date
2023-01-16 12:31:30 +05:30
Sanchayan Maity 5ac754ea99
nvim: plugins: Drop exchange and word motion 2023-01-15 17:22:15 +05:30
Sanchayan Maity 058c37882d
nvim: plugins: Drop sleuth now that neovim has editorconfig built-in 2023-01-15 17:22:14 +05:30
Sanchayan Maity c9b189e7c5
nvim: Add editorconfig 2023-01-15 17:22:14 +05:30
Sanchayan Maity 09894c1660
Specify fonts generically
Since we have a proper fontconfig in place, let that be the source
of truth for the font to be used and just specify monospace as the
font to be used everywhere else.
2023-01-15 17:22:14 +05:30
Sanchayan Maity 19adc209b4
fontconfig: Update font config
Taken from
https://schlomp.space/tastytea/dotfiles/src/branch/main/.config/fontconfig/fonts.conf
2023-01-15 17:22:14 +05:30
Sanchayan Maity 6340486b46
nvim: Use nvim-lint for linting markdown with vale
This effectively reverts 3ea83c6 and f4ee744.
2023-01-15 17:22:10 +05:30
Sanchayan Maity f9e410494c
vale: Move vale to $HOME
For some reason, this fixes the problem of using vale with nvim-lint.

See https://github.com/mfussenegger/nvim-lint/issues/280.
2023-01-15 15:52:42 +05:30
Sanchayan Maity 62a933e451
fish: functions: Drop vale alias 2023-01-15 15:52:42 +05:30
Sanchayan Maity c378e0a811
nvim: after/ftplugin/rust: Do not add library & toolchain source to buffer list 2023-01-15 12:19:21 +05:30
Sanchayan Maity b249fdefcc
Revert "Revert "nvim: init: Drop tmux configuration for copying to system clipboard""
This reverts commit 2d17a75972.
2023-01-14 18:58:51 +05:30
Sanchayan Maity b31f41f8cb
fish: functions/gdt: Disable pager for default difftool
Now that we enable pager for difftool by default, we need to disable
it when using the default difftool which is neovim.
2023-01-14 18:58:51 +05:30
Sanchayan Maity 97700eecc8
git: Enable pager for difftool
We need this for using Difftastic.
2023-01-14 18:58:51 +05:30
Sanchayan Maity 7f086ca74a
git: Arrange alphabetically for sanity 2023-01-14 18:58:51 +05:30
Sanchayan Maity 7c57397ae6
git/attributes: Treat package lock files as binary 2023-01-14 18:58:51 +05:30
Sanchayan Maity a134cea609
nvim: Update packer 2023-01-14 18:58:51 +05:30
Sanchayan Maity 2d5fac776a
nvim: after/ftplugin: Move from vim to lua 2023-01-14 18:58:50 +05:30
Sanchayan Maity f4d02a793f
nvim: plugins: Drop dirvish and use dirbuf.nvim 2023-01-12 18:39:37 +05:30
Sanchayan Maity fcc992511e
nvim: plugins: Use our own fork of gitlinker
We want a fix and the author seems to be inactive, so use our own
fork with the patch applied till the upstream author becomes active
again.
2023-01-12 18:39:37 +05:30
Sanchayan Maity 22596f2998
git: Set context and interHunkContext to a higher value
Default value of 3 turns out to be low sometimes. Increase it to 8.
2023-01-12 18:39:37 +05:30
Sanchayan Maity 920241f429
tmux: Update plugins 2023-01-12 18:39:37 +05:30
Sanchayan Maity c190b10e31
fish: functions/gm: Automatically detect master or main and merge
git merge master/main is a frequent enough operation. Automatically
detect whether the primary branch is master or main and merge.
2023-01-12 18:39:37 +05:30
Sanchayan Maity 2d17a75972
Revert "nvim: init: Drop tmux configuration for copying to system clipboard"
This reverts commit c37bd7d451.

Copying to system clipboard seems to have broken again and need to
revert this.

See https://github.com/neovim/neovim/issues/21636.
2023-01-08 11:08:13 +05:30
Sanchayan Maity 2bf71c1e2d
qutebrowser: Add crates.io to search engines 2023-01-07 10:59:14 +05:30
Sanchayan Maity 6e268b0d20
nvim: after/plugin/lightbulb: Update configuration 2023-01-07 10:36:23 +05:30
Sanchayan Maity 2706a82b36
sway: Increase status bar font size 2023-01-06 19:14:14 +05:30
Sanchayan Maity a5d7259443
foot: Increase font size 2023-01-06 19:13:33 +05:30
Sanchayan Maity d63a6aeef4
nvim: after/ftplugin: Move settings from {js/ts}.vim to {js/ts}.lua 2023-01-06 13:07:39 +05:30
Sanchayan Maity 0c9e0eb164
nvim: lsp: Disable semantic token highlighting
It produces somewhat bad syntax highlighting in some cases. For example,
in typescript, the variable and it's type annotation get the same colour.
2023-01-05 09:38:26 +05:30
Sanchayan Maity 8b6cf82abe
nvim: yolokai: Sync with upstream 2023-01-04 13:54:10 +05:30