Commit graph

1938 commits

Author SHA1 Message Date
0002d02e6c
nvim: lsp: Drop unnecessary if check 2023-03-05 00:13:28 +05:30
00403bafaa
arch-packages: Update package list 2023-03-05 00:13:28 +05:30
d4a71942d0
git: ignore: Ignore cabal build directory 2023-03-04 15:30:43 +05:30
e6c64c61ae
fish: functions/dotg: Do not add dot to output file name
If a file name was foo.dot the current implementation generated a
foo.dot.svg. Fix it to just output a foo.svg.

Also fix a bug, where we were not considering the provided dotpath.
2023-03-03 15:57:29 +05:30
ebac7a3beb
nvim: Update paq 2023-03-02 11:03:19 +05:30
110a1643cb
nvim: Move LSP configuration to it's own LSP utils
This allows us to have all the language server configuration in one
place and only import relevant LSP server configuration to pass to
vim.lsp.start in after/ftplugin.

While at it, we also enable deno support.
2023-02-28 20:56:36 +05:30
6f8cf0bce5
qutebrowser: Use d search keyword for docs.rs
DuckDuckGo is already the default search engine, so use d for docs.rs.
2023-02-28 20:56:36 +05:30
26488153f0
nvim: after/ftplugin/haskell: Remove old configuration
We use cabal instead of stack these days and we dropped asyncdo more
than a year ago.
2023-02-28 00:17:45 +05:30
27d051e3dd
nvim: plugins: Add back vim-wordmotion 2023-02-28 00:05:45 +05:30
8a60e83ef5
nvim: plugins/treesitter: Drop playground
Initially added this thinking it might help with our own colorscheme
but we have never used this.
2023-02-28 00:05:45 +05:30
fa882691bf
arch-packages: Update package list 2023-02-28 00:05:45 +05:30
ed7ac360a0
mutt: accounts/fastmail: Disable GPG signing
Would love to keep this enabled but let us face it, no one cares.
And if we want to use this account for sending to mailing lists
best to not enable this.
2023-02-25 18:00:07 +05:30
148e808cee
nvim: after/plugin/gitsigns: Update configuration
current_line_blame_formatter_opts is deprecated. Update the signs
configuration.
2023-02-25 18:00:07 +05:30
2ab2c2255b
fish: functions: Make it easier to review code with difftool aliases
If no arguments are provided to the git difftool aliases, just invoke
it with the default `git difftool main...current-branch`. This is what
we will use most of the time anyway as this is exactly the command
needed when we want to review our own changes before pushing upstream
or reviewing some other merge request.
2023-02-25 18:00:07 +05:30
7b6cd2575c
fish: functions: Add an alias for checking weather 2023-02-25 18:00:07 +05:30
44a0193f58
arch-packages: Update package list 2023-02-23 23:29:13 +05:30
a4ee3cc608
newsboat: Update config
Drop xkcd, we never visit by using the feed.
2023-02-23 22:34:47 +05:30
926937d075
fish: functions/gl: Enable graph view 2023-02-23 16:11:43 +05:30
85d6842f17
newsboat: Update config 2023-02-20 10:22:02 +05:30
68645353f9
arch-packages: Update package list 2023-02-20 10:22:02 +05:30
9ae8531bfd
i3status-rust: Update format for time block 2023-02-18 15:58:41 +05:30
0f16076860
nvim: init: g:ts_highlight_lua has been removed
See neovim commit 2e450ef.
2023-02-15 18:56:56 +05:30
406570312f
nvim: after/ftplugin/rust: Do not add cargo registry to buffer list 2023-02-10 18:42:57 +05:30
56f81f598e
nvim: Switch back to paq
Packer does not seem to be maintained. Version 2 being developed
by Lewis @ https://github.com/lewis6991/packer.nvim has breaking
changes. Migrating to Lazy will open it's own can of worms & it
does not use packages. Funny thing is author of Packer himself
uses Lazy.

We really should not be needing anything fancy. neovim can load
packages automatically from packpath. All we need is something
which will clone the packages to packpath and all those will be
automatically loaded.

paq.nvim which we were using before packer was the right choice
and does the bare minimum we stated above.

Rest all with features like fancy lazy loading is nonsense.
2023-02-09 20:19:59 +05:30
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