Commit graph

1957 commits

Author SHA1 Message Date
0b1380f28b
nvim: after/ftplugin: js/ts: Do not add node_modules to buffer list 2023-01-31 20:33:44 +05:30
210fc81fcd
fish: functions/glmd: Add an alias for formatting logs in markdown
Adapted from Heftig's (Jan Alexander Steffens) note on IRC

git config --global alias.mdlog 'log --reverse --pretty=format:"- **%s**  %w(0,2,2)%+b"'

This will format commits in a way that's nice for pasting into MR descriptions,
assuming the commit body is markdown.

Usually used like below

git mdlog @{u}.. | wl-copy
git mdlog origin/main.. | wl-copy
2023-01-30 12:26:05 +05:30
91cbcbe75f
git/ignore: Ignore gstreamer-sharp directory
We do not give a crap about C# and do not want results from that
in our search.
2023-01-30 11:42:54 +05:30
6a6bb68204
Add valgrind configuration
Include suppression files for GStreamer and GLib for easier referencing
as part of valgrindrc. We will add a symlink to the suppression files
in /opt.
2023-01-28 11:50:17 +05:30
ee74c8c4d8
ruff: Add minimal configuration 2023-01-26 16:55:44 +05:30
ad1c594245
nvim: after/plugin/nvim-lint: Drop pylint and use ruff 2023-01-26 16:55:44 +05:30
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
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
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
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
2db9a1a37e
dnscontrol: Add monitor sub domain for monitoring metrics 2023-01-23 14:53:47 +05:30
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
3e5d0f0e13
nvim: after/ftplugin/markdown: Remove column limit 2023-01-21 20:05:03 +05:30
46d68a981a
arch-packages: Update package list 2023-01-21 16:31:49 +05:30
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
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
f3190ffa0b
nvim: after/ftplugin/diff: spell is window local & not buffer local 2023-01-19 14:15:13 +05:30
c0e0387cac
alacritty: Add a mapping for copying URLs 2023-01-19 10:05:19 +05:30
796f673617
alacritty: Increase font size 2023-01-19 10:05:19 +05:30
b3b2f29501
gdb: init: Fix deprecated logging setting & enable debuginfod 2023-01-19 10:04:48 +05:30
558f03bede
nvim: after/plugin/gitlinker: Add videolan repo 2023-01-18 10:44:25 +05:30
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
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
00db4f1cb8
sway: Assign vimiv and xdot to workspace 8 2023-01-16 13:06:32 +05:30
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
5ac754ea99
nvim: plugins: Drop exchange and word motion 2023-01-15 17:22:15 +05:30
058c37882d
nvim: plugins: Drop sleuth now that neovim has editorconfig built-in 2023-01-15 17:22:14 +05:30
c9b189e7c5
nvim: Add editorconfig 2023-01-15 17:22:14 +05:30
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
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
6340486b46
nvim: Use nvim-lint for linting markdown with vale
This effectively reverts 3ea83c6 and f4ee744.
2023-01-15 17:22:10 +05:30
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
62a933e451
fish: functions: Drop vale alias 2023-01-15 15:52:42 +05:30
c378e0a811
nvim: after/ftplugin/rust: Do not add library & toolchain source to buffer list 2023-01-15 12:19:21 +05:30
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
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
97700eecc8
git: Enable pager for difftool
We need this for using Difftastic.
2023-01-14 18:58:51 +05:30
7f086ca74a
git: Arrange alphabetically for sanity 2023-01-14 18:58:51 +05:30
7c57397ae6
git/attributes: Treat package lock files as binary 2023-01-14 18:58:51 +05:30
a134cea609
nvim: Update packer 2023-01-14 18:58:51 +05:30
2d5fac776a
nvim: after/ftplugin: Move from vim to lua 2023-01-14 18:58:50 +05:30
f4d02a793f
nvim: plugins: Drop dirvish and use dirbuf.nvim 2023-01-12 18:39:37 +05:30
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
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
920241f429
tmux: Update plugins 2023-01-12 18:39:37 +05:30
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
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
2bf71c1e2d
qutebrowser: Add crates.io to search engines 2023-01-07 10:59:14 +05:30
6e268b0d20
nvim: after/plugin/lightbulb: Update configuration 2023-01-07 10:36:23 +05:30
2706a82b36
sway: Increase status bar font size 2023-01-06 19:14:14 +05:30