]> git.rmz.io Git - dotfiles.git/log
dotfiles.git
17 months agonvim/coding: setup Supertab
Samir Benmendil [Wed, 12 Apr 2023 16:02:42 +0000 (17:02 +0100)]
nvim/coding: setup Supertab

Pretty much copied from [lazyvim#supertab]. It doesn't exactly work as I
want though. It seems that <tab> selects the second entry rather than
completes the first first.

[lazyvim#supertab]: https://www.lazyvim.org/configuration/recipes#supertab

17 months agonvim/ui: set animation fuction for indentscope
Samir Benmendil [Wed, 12 Apr 2023 14:53:46 +0000 (15:53 +0100)]
nvim/ui: set animation fuction for indentscope

It's not very different from the default, maybe a little faster. But
provides a reminder for configuration points later in time.

17 months agonvim/ui: add blank plugin specs for all plugins
Samir Benmendil [Wed, 12 Apr 2023 14:50:08 +0000 (15:50 +0100)]
nvim/ui: add blank plugin specs for all plugins

This provides an easy way to find relevant plugins that have been
loaded.

17 months agovim: update togglelist to also work in nvim
Samir Benmendil [Wed, 12 Apr 2023 13:44:43 +0000 (14:44 +0100)]
vim: update togglelist to also work in nvim

I think the Quickfix window has been renamed which caused this to stop
working. The approach of using [cl]window seems better.

17 months agonvim: provide type annotations for LazyPluginSpecs
Samir Benmendil [Wed, 12 Apr 2023 12:32:42 +0000 (13:32 +0100)]
nvim: provide type annotations for LazyPluginSpecs

17 months agonvim/ui: always show bufferline
Samir Benmendil [Wed, 12 Apr 2023 11:50:20 +0000 (12:50 +0100)]
nvim/ui: always show bufferline

17 months agonvim/ui: configure noice.nvim
Samir Benmendil [Tue, 11 Apr 2023 16:50:51 +0000 (17:50 +0100)]
nvim/ui: configure noice.nvim

* send simple vim messages to mini view
* use classic command line
* add border to lsp docs

17 months agovim: do not Plug UltiSnips in nvim
Samir Benmendil [Tue, 11 Apr 2023 15:46:02 +0000 (16:46 +0100)]
vim: do not Plug UltiSnips in nvim

There's LuaSnips.

17 months agovim: do not Plug youcompleteme in nvim
Samir Benmendil [Tue, 11 Apr 2023 15:36:56 +0000 (16:36 +0100)]
vim: do not Plug youcompleteme in nvim

It comes with nvim-cmp instead. This still needs to be configured, but I
think those two are interfering at the moment.

17 months agonvim: disable LazyVim's keymaps and import some of them
Samir Benmendil [Tue, 11 Apr 2023 14:50:05 +0000 (15:50 +0100)]
nvim: disable LazyVim's keymaps and import some of them

17 months agovim: import some options from nvim LazyVim
Samir Benmendil [Tue, 11 Apr 2023 14:51:33 +0000 (15:51 +0100)]
vim: import some options from nvim LazyVim

17 months agonvim: reset options similar to vimrc
Samir Benmendil [Tue, 11 Apr 2023 13:20:27 +0000 (14:20 +0100)]
nvim: reset options similar to vimrc

I wanted to disable the options that LazyVim sets, but there seems to be
a bug that prevents this at the moment. So reset the various settings I
have in my vimrc again in `config/options.lua`.

See https://github.com/LazyVim/LazyVim/issues/566

17 months agonvim: disable interfering mappings lazyvim sets for telescope
Samir Benmendil [Tue, 11 Apr 2023 00:09:37 +0000 (01:09 +0100)]
nvim: disable interfering mappings lazyvim sets for telescope

Way too used to <space><space> toggling folds.

Also <leader>gs <leader>gc are for fugitive stuff.

17 months agonvim: import autocmds from LazyVim
Samir Benmendil [Mon, 10 Apr 2023 23:09:51 +0000 (00:09 +0100)]
nvim: import autocmds from LazyVim

- highlight on yank
- close some buffers with q only

17 months agovim: resize splits in all tabs when resizing vim
Samir Benmendil [Mon, 10 Apr 2023 22:47:16 +0000 (23:47 +0100)]
vim: resize splits in all tabs when resizing vim

17 months agonvim: disable LazyVim autocmds, match vimrc augroups to LazyVim
Samir Benmendil [Mon, 10 Apr 2023 22:43:39 +0000 (23:43 +0100)]
nvim: disable LazyVim autocmds, match vimrc augroups to LazyVim

Most of them were already in vimrc. Matching augroup names from LazyVim
is done to somewhat future proof the autocommands.

17 months agovim: set g:mapleader instead of remapping <space>
Samir Benmendil [Mon, 10 Apr 2023 22:36:29 +0000 (23:36 +0100)]
vim: set g:mapleader instead of remapping <space>

This is technically the correct way, I used the remap before to support
both <space> and the default \ as leader keys.

Remapping interferes with nvim's which-key though. It's just a warning
and I'm not sure if it actually causes features to break. I'm only
setting mapleader for now to silence this.

I think the mapping was also convenient to be able to map \<key> ad hoc
rather than use <space><key> or something. We'll deal with this later.

17 months agovim: don't reset all autocommands on sourcing vimrc
Samir Benmendil [Mon, 10 Apr 2023 22:15:18 +0000 (23:15 +0100)]
vim: don't reset all autocommands on sourcing vimrc

I'm pretty sure this was added to make sure to not set autocommands that
weren't reset in groups every time. By now, I hope that all autocommands
are reset within their own groups, or at least will be when I'm through
reviewing the vimrc to use with nvim.

Furthermore, this particular reset was unsetting the autocommands set by
nvim's init.lua and specifically lazy.nvim's plugin loading
autocommands. It lead to much confusion when trying to have both
init.lua and vimrc.

17 months agonvim: also source original vimrc file
Samir Benmendil [Mon, 10 Apr 2023 19:07:57 +0000 (20:07 +0100)]
nvim: also source original vimrc file

17 months agovim: move python3 force to top of vimrc
Samir Benmendil [Mon, 10 Apr 2023 18:45:07 +0000 (19:45 +0100)]
vim: move python3 force to top of vimrc

17 months agonvim: override treesitter file support
Samir Benmendil [Mon, 10 Apr 2023 18:24:17 +0000 (19:24 +0100)]
nvim: override treesitter file support

This has been done now because of [LazyVim#524] and replaces `help` with
`vimdoc`. While I was there, I also added `c` and removed a few I've
never heard of.

[LazyVim#524]: https://github.com/LazyVim/LazyVim/issues/524

17 months agonvim: add starter template for LazyVim
Samir Benmendil [Mon, 10 Apr 2023 12:33:41 +0000 (13:33 +0100)]
nvim: add starter template for LazyVim

17 months agozsh: rename lib/fzf to lib/10-fzf
Samir Benmendil [Tue, 31 Oct 2023 22:52:43 +0000 (22:52 +0000)]
zsh: rename lib/fzf to lib/10-fzf

This is to run this before a potential 20-atuin if I decide to keep
that.

17 months agosystemd: pause mpd on suspend
Samir Benmendil [Tue, 31 Oct 2023 22:09:03 +0000 (22:09 +0000)]
systemd: pause mpd on suspend

17 months agosystemd: add user suspend.target
Samir Benmendil [Tue, 31 Oct 2023 22:01:20 +0000 (22:01 +0000)]
systemd: add user suspend.target

17 months agozsh: use org-agenda as motd
Samir Benmendil [Tue, 31 Oct 2023 21:58:05 +0000 (21:58 +0000)]
zsh: use org-agenda as motd

17 months agobin/org-agenda: introduce script to list upcoming org todos
Samir Benmendil [Tue, 31 Oct 2023 21:57:24 +0000 (21:57 +0000)]
bin/org-agenda: introduce script to list upcoming org todos

17 months agossh: add config for aur.archlinux.org
Samir Benmendil [Tue, 31 Oct 2023 21:54:17 +0000 (21:54 +0000)]
ssh: add config for aur.archlinux.org

17 months agoqutebrowser: update quickmarks
Samir Benmendil [Tue, 31 Oct 2023 21:41:30 +0000 (21:41 +0000)]
qutebrowser: update quickmarks

17 months agomutt: open html mail in temp-basedir qutebrowser
Samir Benmendil [Tue, 31 Oct 2023 21:40:11 +0000 (21:40 +0000)]
mutt: open html mail in temp-basedir qutebrowser

17 months agompv: load subtitles that contain the title
Samir Benmendil [Tue, 31 Oct 2023 21:36:01 +0000 (21:36 +0000)]
mpv: load subtitles that contain the title

Rather than having exactly the same name.

17 months agokitty: fuck off, don't mess with my environment
Samir Benmendil [Tue, 31 Oct 2023 21:29:56 +0000 (21:29 +0000)]
kitty: fuck off, don't mess with my environment

Kitty introduced a "shell_integration" which tries to do a package
managers and/or sysadmins job and does it badly. It creates an alias for
'sudo' to export the terminfo. It does this regardless of there being an
alias for 'sudo' already.

This brazen disregard for users setup by simply overriding things has
led me to try out wezterm now. This config will likely be removed soon.

17 months agogit: cache credentials
Samir Benmendil [Tue, 31 Oct 2023 21:28:46 +0000 (21:28 +0000)]
git: cache credentials

I believe this was added to cache http user/pass for a while and avoid
having to enter them every time.

17 months agobin/monzo.py: try to add tab to memo if possible
Samir Benmendil [Tue, 31 Oct 2023 21:26:30 +0000 (21:26 +0000)]
bin/monzo.py: try to add tab to memo if possible

17 months agobin/monzo.py: some formatting changes
Samir Benmendil [Tue, 31 Oct 2023 21:25:41 +0000 (21:25 +0000)]
bin/monzo.py: some formatting changes

17 months agoawesome: launch rofimoji to pick emojis
Samir Benmendil [Tue, 31 Oct 2023 21:20:32 +0000 (21:20 +0000)]
awesome: launch rofimoji to pick emojis

This needs to be extended to match all utf8 chars.

17 months agoawesome: add mapping for swapping screens
Samir Benmendil [Tue, 31 Oct 2023 21:20:05 +0000 (21:20 +0000)]
awesome: add mapping for swapping screens

17 months agoqutebrowser: update config.py and theme
Samir Benmendil [Tue, 31 Oct 2023 00:04:22 +0000 (00:04 +0000)]
qutebrowser: update config.py and theme

17 months agoqutebrowser: tidy config file
Samir Benmendil [Mon, 30 Oct 2023 22:38:21 +0000 (22:38 +0000)]
qutebrowser: tidy config file

Remove unused redirector and remove top comment.

17 months agoqutebrowser: prefer reduced motion
Samir Benmendil [Mon, 30 Oct 2023 22:12:47 +0000 (22:12 +0000)]
qutebrowser: prefer reduced motion

17 months agoqutebrowser: open hints in mpv using M
Samir Benmendil [Mon, 30 Oct 2023 22:07:20 +0000 (22:07 +0000)]
qutebrowser: open hints in mpv using M

17 months agoqutebrowser: add phind search engine
Samir Benmendil [Mon, 30 Oct 2023 22:04:57 +0000 (22:04 +0000)]
qutebrowser: add phind search engine

I haven't really used it much, but who knows, maybe I will.

17 months agoqutebrowser: disable webgl for most sites
Samir Benmendil [Mon, 30 Oct 2023 22:03:53 +0000 (22:03 +0000)]
qutebrowser: disable webgl for most sites

I don't really want my browser to do fancy stuff.

17 months agoqutebrowser: commit TODOs
Samir Benmendil [Mon, 30 Oct 2023 21:58:05 +0000 (21:58 +0000)]
qutebrowser: commit TODOs

17 months agoqutebrowser: add annotation support in config file
Samir Benmendil [Sun, 29 Oct 2023 18:00:31 +0000 (18:00 +0000)]
qutebrowser: add annotation support in config file

17 months agobin/find_duplicate: take folders from input args
Samir Benmendil [Sun, 29 Oct 2023 16:52:57 +0000 (16:52 +0000)]
bin/find_duplicate: take folders from input args

17 months agobin/maif: pass options through to maim
Samir Benmendil [Sun, 29 Oct 2023 16:51:42 +0000 (16:51 +0000)]
bin/maif: pass options through to maim

17 months agobin/maic: set pipefail to fail in case maim was cancelled
Samir Benmendil [Sun, 29 Oct 2023 16:51:20 +0000 (16:51 +0000)]
bin/maic: set pipefail to fail in case maim was cancelled

17 months agoawesome: do not start steam library as fullscreen
Samir Benmendil [Sun, 29 Oct 2023 16:14:47 +0000 (16:14 +0000)]
awesome: do not start steam library as fullscreen

17 months agoweechat: update wee-slack
Samir Benmendil [Sun, 29 Oct 2023 16:24:49 +0000 (16:24 +0000)]
weechat: update wee-slack

17 months agoweechat: update config
Samir Benmendil [Sun, 29 Oct 2023 16:24:34 +0000 (16:24 +0000)]
weechat: update config

17 months agoweechat: track new options
Samir Benmendil [Thu, 6 Jul 2023 10:55:48 +0000 (11:55 +0100)]
weechat: track new options

17 months agoweechat: add /meet alias
Samir Benmendil [Thu, 6 Jul 2023 10:54:59 +0000 (11:54 +0100)]
weechat: add /meet alias

17 months agoweechat: update plugins
Samir Benmendil [Thu, 6 Jul 2023 10:54:36 +0000 (11:54 +0100)]
weechat: update plugins

22 months agomail: sync important emails
Samir Benmendil [Sat, 27 May 2023 16:58:39 +0000 (17:58 +0100)]
mail: sync important emails

22 months agombsync: do not sync youtube folder anymore
Samir Benmendil [Sat, 27 May 2023 16:40:50 +0000 (17:40 +0100)]
mbsync: do not sync youtube folder anymore

Google killed it.

23 months agoxprofile: reload xkb layout on usb connection
Samir Benmendil [Sun, 14 May 2023 22:10:29 +0000 (23:10 +0100)]
xprofile: reload xkb layout on usb connection

Uses inputplug to trigger xkbload on input event, this matches the
kinesis advantage for now and reloads the layout for it.

23 months agomutt: fix for neomutt 2023-05-12
Samir Benmendil [Sun, 14 May 2023 17:04:08 +0000 (18:04 +0100)]
mutt: fix for neomutt 2023-05-12

https://github.com/neomutt/neomutt/issues/3855

23 months agobin: ocp aur-sync-devel to bin
Samir Benmendil [Thu, 4 May 2023 08:43:42 +0000 (09:43 +0100)]
bin: ocp aur-sync-devel to bin

23 months agotask: move taskrc file to task subfolder
Samir Benmendil [Thu, 4 May 2023 00:50:15 +0000 (01:50 +0100)]
task: move taskrc file to task subfolder

That is where task now searches for the config file.

23 months agoxprofile: use lock-session to lock on skull-canyon
Samir Benmendil [Thu, 13 Apr 2023 23:57:32 +0000 (00:57 +0100)]
xprofile: use lock-session to lock on skull-canyon

23 months agoqutebrowser: update quickmarks
Samir Benmendil [Thu, 13 Apr 2023 23:54:59 +0000 (00:54 +0100)]
qutebrowser: update quickmarks

23 months agoqutebrowser: disable url interceptor/redirector
Samir Benmendil [Thu, 13 Apr 2023 23:52:47 +0000 (00:52 +0100)]
qutebrowser: disable url interceptor/redirector

I just caused issues. I need to find a more robust way of doing this.

23 months agompv: don't ignore vp9 codecs
Samir Benmendil [Thu, 13 Apr 2023 22:50:56 +0000 (23:50 +0100)]
mpv: don't ignore vp9 codecs

Actually that codec works better. But since I had a youtube-dl wrapper
installed which ran yt-dlp in compatibility mode, the choice of format
ended up being wrong anyway.

Do not install the yt-dlp-drop-in from AUR.

23 months agoqutebrowser: ignore bookmarks
Samir Benmendil [Thu, 13 Apr 2023 22:50:03 +0000 (23:50 +0100)]
qutebrowser: ignore bookmarks

I'm not really using them anymore. Quickmarks is the way.

23 months agochore: commit a bunch of TODO/FIXME
Samir Benmendil [Thu, 13 Apr 2023 22:49:21 +0000 (23:49 +0100)]
chore: commit a bunch of TODO/FIXME

2 years agoawesome: add binding for pasting primary selection
Samir Benmendil [Sat, 11 Mar 2023 23:43:16 +0000 (23:43 +0000)]
awesome: add binding for pasting primary selection

2 years agoncmpcpp: replace deprecated functions
Samir Benmendil [Thu, 13 Apr 2023 01:29:12 +0000 (02:29 +0100)]
ncmpcpp: replace deprecated functions

2 years agobin: add script to shorten text to N chars or Term width
Samir Benmendil [Thu, 13 Apr 2023 01:01:34 +0000 (02:01 +0100)]
bin: add script to shorten text to N chars or Term width

2 years agoawesome: tidy background.svg
Samir Benmendil [Thu, 13 Apr 2023 00:56:08 +0000 (01:56 +0100)]
awesome: tidy background.svg

* Remove the original bitmap that was used to trace the arch logo.
* Delete some unused layers.

2 years agobin: support ipv4 and ipv6 in whatsmyip
Samir Benmendil [Wed, 15 Mar 2023 23:55:17 +0000 (23:55 +0000)]
bin: support ipv4 and ipv6 in whatsmyip

2 years agopodman: remove monitoring compose.yml
Samir Benmendil [Sat, 24 Sep 2022 21:22:17 +0000 (21:22 +0000)]
podman: remove monitoring compose.yml

These are handled via quadlet now and run as their own user on the
system. I should probably find a way to keep the configuration in git
though.

2 years agovim/cpp: binding for YcmCompleter RefactorRename
Samir Benmendil [Sat, 11 Mar 2023 18:33:03 +0000 (18:33 +0000)]
vim/cpp: binding for YcmCompleter RefactorRename

2 years agoranger: fallback to plaintext preview when openscad fails
Samir Benmendil [Sat, 11 Mar 2023 18:20:44 +0000 (18:20 +0000)]
ranger: fallback to plaintext preview when openscad fails

2 years agoranger: enable preview for openscad
Samir Benmendil [Sat, 11 Mar 2023 18:20:28 +0000 (18:20 +0000)]
ranger: enable preview for openscad

2 years agoqutebrowser: add syncthing and clang-tidy to quickmarks
Samir Benmendil [Sat, 11 Mar 2023 18:10:53 +0000 (18:10 +0000)]
qutebrowser: add syncthing and clang-tidy to quickmarks

2 years agoqutebrowser: add devdoc searchengine
Samir Benmendil [Sat, 11 Mar 2023 18:09:24 +0000 (18:09 +0000)]
qutebrowser: add devdoc searchengine

2 years agoqutebrowser: default to issue scope for evk search
Samir Benmendil [Sat, 11 Mar 2023 18:09:07 +0000 (18:09 +0000)]
qutebrowser: default to issue scope for evk search

2 years agomutt: make dmarc xsl more plaintext friendly
Samir Benmendil [Sat, 11 Mar 2023 18:07:02 +0000 (18:07 +0000)]
mutt: make dmarc xsl more plaintext friendly

It still requires parsing through w3m but it quite a bit more readable.

2 years agosystemd: restart checkupdates on failure
Samir Benmendil [Sat, 11 Mar 2023 18:21:18 +0000 (18:21 +0000)]
systemd: restart checkupdates on failure

2 years agosystemd: copy systemd system files into etc
Samir Benmendil [Sat, 11 Mar 2023 18:05:20 +0000 (18:05 +0000)]
systemd: copy systemd system files into etc

2 years agomutt: show time for todays emails
Samir Benmendil [Thu, 2 Mar 2023 22:13:36 +0000 (22:13 +0000)]
mutt: show time for todays emails

2 years agozsh/motd: ellide long failed units
Samir Benmendil [Thu, 23 Feb 2023 20:29:17 +0000 (20:29 +0000)]
zsh/motd: ellide long failed units

2 years agogpg: export correct PINENTRY_USER_DATA
Samir Benmendil [Tue, 7 Mar 2023 13:33:18 +0000 (13:33 +0000)]
gpg: export correct PINENTRY_USER_DATA

It seems that I changed the way /usr/local/bin/pinentry works at some
point without also changing the setting here.

2 years agovim: move close-another-window mappings higher up
Samir Benmendil [Tue, 7 Mar 2023 13:14:58 +0000 (13:14 +0000)]
vim: move close-another-window mappings higher up

Not sure exactly why I had this change, probably just to sort the maps
alphabetically.

2 years agovim: stage kdl, vimspector, cmake4vim and gtest-vim plugins
Samir Benmendil [Tue, 7 Mar 2023 13:14:07 +0000 (13:14 +0000)]
vim: stage kdl, vimspector, cmake4vim and gtest-vim plugins

2 years agovim/cpp: add noexcept qualifier to rule5 move ctr/opr
Samir Benmendil [Tue, 7 Mar 2023 13:12:28 +0000 (13:12 +0000)]
vim/cpp: add noexcept qualifier to rule5 move ctr/opr

2 years agogit: ignore worktree directory `/wt/`
Samir Benmendil [Tue, 7 Mar 2023 13:10:50 +0000 (13:10 +0000)]
git: ignore worktree directory `/wt/`

2 years agoweechat: update wee-slack
Samir Benmendil [Tue, 7 Mar 2023 13:09:54 +0000 (13:09 +0000)]
weechat: update wee-slack

2 years agogdb: install gdbinit into XDG_CONFIG_HOME
Samir Benmendil [Mon, 6 Mar 2023 20:31:05 +0000 (20:31 +0000)]
gdb: install gdbinit into XDG_CONFIG_HOME

2 years agozellij: add default config file
Samir Benmendil [Mon, 7 Nov 2022 14:26:04 +0000 (14:26 +0000)]
zellij: add default config file

2 years agovim/snippets: update comment for org datetime
Samir Benmendil [Wed, 1 Feb 2023 00:20:52 +0000 (00:20 +0000)]
vim/snippets: update comment for org datetime

2 years agovim/snippets: org compatible date
Samir Benmendil [Wed, 1 Feb 2023 00:20:00 +0000 (00:20 +0000)]
vim/snippets: org compatible date

2 years agotmux: remove clipboard bindings
Samir Benmendil [Wed, 1 Feb 2023 00:17:34 +0000 (00:17 +0000)]
tmux: remove clipboard bindings

They were occasionally hanging the whole session, probably because
nothing was coming in through stdin.

More annoyingly, they were trigger inadvertedly when trying to switch
tabs.

2 years agossh: add fpp related hosts with ProxyJumps
Samir Benmendil [Wed, 1 Feb 2023 00:14:18 +0000 (00:14 +0000)]
ssh: add fpp related hosts with ProxyJumps

2 years agossh: add libreelec and wrt* hosts
Samir Benmendil [Wed, 1 Feb 2023 00:13:54 +0000 (00:13 +0000)]
ssh: add libreelec and wrt* hosts

2 years agoqutebrowser: add evk searchengine
Samir Benmendil [Wed, 1 Feb 2023 00:10:03 +0000 (00:10 +0000)]
qutebrowser: add evk searchengine

2 years agoqutebrowser: automatically open PDFs in pdfjs
Samir Benmendil [Tue, 31 Jan 2023 23:47:51 +0000 (23:47 +0000)]
qutebrowser: automatically open PDFs in pdfjs

2 years agomutt: render dmarc reports using w3m
Samir Benmendil [Tue, 31 Jan 2023 23:43:20 +0000 (23:43 +0000)]
mutt: render dmarc reports using w3m

This needs a bit more work, maybe even a different xsl for rendering
text directly.

2 years agompd: add extended m3u playlist plugin support
Samir Benmendil [Tue, 31 Jan 2023 23:38:43 +0000 (23:38 +0000)]
mpd: add extended m3u playlist plugin support