Commit graph

1897 commits

Author SHA1 Message Date
c800b66cbf
nvim: plugins: Switch to nvim-various-textobjs
We never really used the comment text object and functionality of the
other two are provided in nvim-various-textobjs.
2023-03-15 10:49:06 +05:30
20066f99c7
yt-dlp: Add default configuration 2023-03-08 18:24:28 +05:30
34a5bbdacb
nvim: after/ftplugin/cabal: Enable HLS on cabal files
Enabling HLS on cabal files allows us to format them using gq. HLS
just uses the internal cabal-fmt plugin.
https://haskell-language-server.readthedocs.io/en/latest/features.html#formatting
2023-03-06 22:15:29 +05:30
01e9c92051
nvim: plugins: Drop cabalfmt
We will switch to using HLS for this.
2023-03-06 22:04:39 +05:30
eec59c530d
nvim: Switch to fzf-lua
Switch to fzf-lua now that it supports tmux style pop ups. For details,
see https://github.com/ibhagwan/fzf-lua/issues/225.
2023-03-06 16:13:36 +05:30
9bc237314f
qutebrowser: greasemonkey: Scripts for youtube & reddit adblock
Taken from
https://github.com/afreakk/greasemonkeyscripts
2023-03-06 16:13:36 +05:30
c25d97166f
qutebrowser: Add startpage to search engines
While DDG uses bing in the back end, startpage uses google without
resorting to tracking. Use startpage so we never have to use google.
2023-03-06 14:33:19 +05:30
c37a0db46a
nvim: lsp: Fix luacheck warning on setting non-standard global variable 2023-03-06 13:33:40 +05:30
f8a25ac9f7
qutebrowser: Increase the font size and default zoom 2023-03-05 16:37:26 +05:30
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