Commit graph

2014 commits

Author SHA1 Message Date
547bf78b9b
nvim: plugins: Update plugin configuration
Do not make packer optional and remove use of after, cmd, config,
run and requires.

This is in preparation for testing if we can move off the plugin
manager and use in built packages support for handling packages.

While at it, drop unnecessary comments.
2023-02-09 15:57:47 +05:30
0c96b0b356
i3status-rust: Update to latest master 2023-02-08 18:16:45 +05:30
e1be59cafa
fish: functions/dotg: Allow scrolling half a page up or down
Allow scrolling half a page up or down by binding keys to page up
or down actions.
2023-02-08 10:35:20 +05:30
dd0adf5212
nvim: plugins: Drop luasnip and use snippy
Our snippet usage is not extensive. Use snippy which is a more
minimalistic plugin.
2023-02-03 18:19:37 +05:30
b3b1ba1a45
gdb: Disable debuginfod
Having this enabled makes gdb start downloading debugging libraries
which takes a prohibitively long time.
2023-02-03 18:19:36 +05:30
080ba2c237
fish: functions: Drop nvim_profile
Since the recent TUI changes this does not work as intended.
2023-02-03 18:19:36 +05:30
29acf2aa76
arch-packages: Update package list 2023-02-02 17:32:58 +05:30
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