]>
git.rmz.io Git - dotfiles.git/log
Samir Benmendil [Wed, 3 May 2023 20:12:34 +0000 (21:12 +0100)]
nvim/keymaps: even better indenting
Samir Benmendil [Tue, 2 May 2023 23:50:19 +0000 (00:50 +0100)]
nvim/colorscheme: some config for nord.nvim
Samir Benmendil [Tue, 2 May 2023 23:48:47 +0000 (00:48 +0100)]
nvim/colorscheme: use catppuccin with nord overrides
Maybe this is the better color. Although still quite colorful.
Samir Benmendil [Tue, 2 May 2023 22:18:41 +0000 (23:18 +0100)]
nvim/colorscheme: default to onenord
Seems nord is a little broken when indent-blankline interracts with
diff.
Samir Benmendil [Tue, 2 May 2023 09:22:03 +0000 (10:22 +0100)]
nvim: switch to nord colorscheme
Samir Benmendil [Tue, 2 May 2023 10:33:01 +0000 (11:33 +0100)]
zsh: switch to nvim as default editor
Samir Benmendil [Tue, 2 May 2023 10:22:44 +0000 (11:22 +0100)]
vim: don't reset shortmess and don't give file info
Samir Benmendil [Tue, 2 May 2023 10:20:56 +0000 (11:20 +0100)]
vim: make help and man ftplugins consistent
Samir Benmendil [Tue, 2 May 2023 10:19:44 +0000 (11:19 +0100)]
vim: only set ycm bindings if ycm is loaded
Samir Benmendil [Tue, 2 May 2023 10:18:38 +0000 (11:18 +0100)]
vim/cpp: set ycm bindings in c.vim only, cpp loads that file too
Samir Benmendil [Tue, 2 May 2023 09:39:27 +0000 (10:39 +0100)]
nvim/ui: disable Noice
It messes too much with existing notifications.
Samir Benmendil [Tue, 2 May 2023 09:38:46 +0000 (10:38 +0100)]
nvim/ui: send long messages to split
I don't think this is actually working. I don't care too much, see next
commit.
Samir Benmendil [Tue, 2 May 2023 09:35:11 +0000 (10:35 +0100)]
nvim/editor: add snippet telescope plugin
Samir Benmendil [Tue, 2 May 2023 09:34:02 +0000 (10:34 +0100)]
nvim/editor: disable <leader>ff for telescope
It's already muscle memory mapped to fswitch.
Samir Benmendil [Tue, 2 May 2023 09:33:00 +0000 (10:33 +0100)]
nvim/coding: use snippets from vim-snippets
Samir Benmendil [Tue, 18 Apr 2023 00:21:04 +0000 (01:21 +0100)]
nvim/editor: load neo-tree eagerly
If loaded lazily it won't open upon editing a directory.
https://github.com/LazyVim/LazyVim/issues/572
Samir Benmendil [Tue, 18 Apr 2023 00:19:47 +0000 (01:19 +0100)]
nvim/ui: do not grep with g on dashboard
It's really surprising.
Samir Benmendil [Tue, 18 Apr 2023 00:14:01 +0000 (01:14 +0100)]
nvim/options: disable default LazyVim options
Thanks to @folke for the workaround.
https://github.com/LazyVim/LazyVim/issues/566
Samir Benmendil [Thu, 13 Apr 2023 16:53:49 +0000 (17:53 +0100)]
vim: put all nvim disabled plugins together
Samir Benmendil [Thu, 13 Apr 2023 15:53:35 +0000 (16:53 +0100)]
vim: add ansiesc plugin
Samir Benmendil [Thu, 13 Apr 2023 15:53:14 +0000 (16:53 +0100)]
vim: add vim-peekaboo plugin
Samir Benmendil [Thu, 13 Apr 2023 15:52:55 +0000 (16:52 +0100)]
vim: delete vim-orgmode
Samir Benmendil [Thu, 13 Apr 2023 15:50:21 +0000 (16:50 +0100)]
vim: replace yankring with vim-yoink
This may need a little more configuration, but there's probably a nvim
replacement for it.
Samir Benmendil [Thu, 13 Apr 2023 15:46:54 +0000 (16:46 +0100)]
nvim: replace vim-surround with mini.surround
Samir Benmendil [Thu, 13 Apr 2023 15:18:40 +0000 (16:18 +0100)]
nvim: replace delimitmate with mini.pairs
Samir Benmendil [Thu, 13 Apr 2023 02:05:44 +0000 (03:05 +0100)]
nvim/ui: delete buffer instead of quit with q in dashboard
Samir Benmendil [Thu, 13 Apr 2023 02:02:55 +0000 (03:02 +0100)]
nvim/ui: import lazyvim's alpha-nvim config
I very much want to remove the q button, it's dangerous.
Samir Benmendil [Thu, 13 Apr 2023 01:36:01 +0000 (02:36 +0100)]
nvim/ui: actually... don't show bufferline on single buffer
It seems a lot nicer with a clean minimal view, especially on the
alpha-nvim dashboard.
Samir Benmendil [Wed, 12 Apr 2023 23:18:32 +0000 (00:18 +0100)]
nvim: configure neo-tree
Samir Benmendil [Wed, 12 Apr 2023 22:23:09 +0000 (23:23 +0100)]
vim: remove <leader>f mapping for first spell suggestion
I don't use it. Been using z] instead. Although I'm always struggling to
remember that one, is it z] or ]z or ]s or something else? I never know.
Samir Benmendil [Wed, 12 Apr 2023 22:22:35 +0000 (23:22 +0100)]
vim: only resize git status window if it was opened
Samir Benmendil [Wed, 12 Apr 2023 22:19:48 +0000 (23:19 +0100)]
vim: don't set lazyredraw
I believe it was speeding up some macro playback, but noice.nvim doesn't
like it. It is recommended to be left off and I think it may have been
causing redrawing issues in some cases.
Samir Benmendil [Wed, 12 Apr 2023 22:10:26 +0000 (23:10 +0100)]
nvim: set timeoutlen to 1s like default
My slow brain got used to have this extra little time to think about
what key to hit next.
Maybe 1s is a little long, and I should shorten it a bit, but 300ms was
too short.
Samir Benmendil [Wed, 12 Apr 2023 21:15:52 +0000 (22:15 +0100)]
nvim/coding: add annotations to nvim-cmp config
Samir Benmendil [Wed, 12 Apr 2023 20:54:14 +0000 (21:54 +0100)]
nvim/coding: don't select first entry on completion
This allows tab to select and more importantly insert the first
completion.
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
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.
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.
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.
Samir Benmendil [Wed, 12 Apr 2023 12:32:42 +0000 (13:32 +0100)]
nvim: provide type annotations for LazyPluginSpecs
Samir Benmendil [Wed, 12 Apr 2023 11:50:20 +0000 (12:50 +0100)]
nvim/ui: always show bufferline
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
Samir Benmendil [Tue, 11 Apr 2023 15:46:02 +0000 (16:46 +0100)]
vim: do not Plug UltiSnips in nvim
There's LuaSnips.
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.
Samir Benmendil [Tue, 11 Apr 2023 14:50:05 +0000 (15:50 +0100)]
nvim: disable LazyVim's keymaps and import some of them
Samir Benmendil [Tue, 11 Apr 2023 14:51:33 +0000 (15:51 +0100)]
vim: import some options from nvim LazyVim
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
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.
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
Samir Benmendil [Mon, 10 Apr 2023 22:47:16 +0000 (23:47 +0100)]
vim: resize splits in all tabs when resizing vim
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.
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.
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.
Samir Benmendil [Mon, 10 Apr 2023 19:07:57 +0000 (20:07 +0100)]
nvim: also source original vimrc file
Samir Benmendil [Mon, 10 Apr 2023 18:45:07 +0000 (19:45 +0100)]
vim: move python3 force to top of vimrc
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
Samir Benmendil [Mon, 10 Apr 2023 12:33:41 +0000 (13:33 +0100)]
nvim: add starter template for LazyVim
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.
Samir Benmendil [Tue, 31 Oct 2023 22:09:03 +0000 (22:09 +0000)]
systemd: pause mpd on suspend
Samir Benmendil [Tue, 31 Oct 2023 22:01:20 +0000 (22:01 +0000)]
systemd: add user suspend.target
Samir Benmendil [Tue, 31 Oct 2023 21:58:05 +0000 (21:58 +0000)]
zsh: use org-agenda as motd
Samir Benmendil [Tue, 31 Oct 2023 21:57:24 +0000 (21:57 +0000)]
bin/org-agenda: introduce script to list upcoming org todos
Samir Benmendil [Tue, 31 Oct 2023 21:54:17 +0000 (21:54 +0000)]
ssh: add config for aur.archlinux.org
Samir Benmendil [Tue, 31 Oct 2023 21:41:30 +0000 (21:41 +0000)]
qutebrowser: update quickmarks
Samir Benmendil [Tue, 31 Oct 2023 21:40:11 +0000 (21:40 +0000)]
mutt: open html mail in temp-basedir qutebrowser
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.
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.
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.
Samir Benmendil [Tue, 31 Oct 2023 21:26:30 +0000 (21:26 +0000)]
bin/monzo.py: try to add tab to memo if possible
Samir Benmendil [Tue, 31 Oct 2023 21:25:41 +0000 (21:25 +0000)]
bin/monzo.py: some formatting changes
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.
Samir Benmendil [Tue, 31 Oct 2023 21:20:05 +0000 (21:20 +0000)]
awesome: add mapping for swapping screens
Samir Benmendil [Tue, 31 Oct 2023 00:04:22 +0000 (00:04 +0000)]
qutebrowser: update config.py and theme
Samir Benmendil [Mon, 30 Oct 2023 22:38:21 +0000 (22:38 +0000)]
qutebrowser: tidy config file
Remove unused redirector and remove top comment.
Samir Benmendil [Mon, 30 Oct 2023 22:12:47 +0000 (22:12 +0000)]
qutebrowser: prefer reduced motion
Samir Benmendil [Mon, 30 Oct 2023 22:07:20 +0000 (22:07 +0000)]
qutebrowser: open hints in mpv using M
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.
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.
Samir Benmendil [Mon, 30 Oct 2023 21:58:05 +0000 (21:58 +0000)]
qutebrowser: commit TODOs
Samir Benmendil [Sun, 29 Oct 2023 18:00:31 +0000 (18:00 +0000)]
qutebrowser: add annotation support in config file
Samir Benmendil [Sun, 29 Oct 2023 16:52:57 +0000 (16:52 +0000)]
bin/find_duplicate: take folders from input args
Samir Benmendil [Sun, 29 Oct 2023 16:51:42 +0000 (16:51 +0000)]
bin/maif: pass options through to maim
Samir Benmendil [Sun, 29 Oct 2023 16:51:20 +0000 (16:51 +0000)]
bin/maic: set pipefail to fail in case maim was cancelled
Samir Benmendil [Sun, 29 Oct 2023 16:14:47 +0000 (16:14 +0000)]
awesome: do not start steam library as fullscreen
Samir Benmendil [Sun, 29 Oct 2023 16:24:49 +0000 (16:24 +0000)]
weechat: update wee-slack
Samir Benmendil [Sun, 29 Oct 2023 16:24:34 +0000 (16:24 +0000)]
weechat: update config
Samir Benmendil [Thu, 6 Jul 2023 10:55:48 +0000 (11:55 +0100)]
weechat: track new options
Samir Benmendil [Thu, 6 Jul 2023 10:54:59 +0000 (11:54 +0100)]
weechat: add /meet alias
Samir Benmendil [Thu, 6 Jul 2023 10:54:36 +0000 (11:54 +0100)]
weechat: update plugins
Samir Benmendil [Sat, 27 May 2023 16:58:39 +0000 (17:58 +0100)]
mail: sync important emails
Samir Benmendil [Sat, 27 May 2023 16:40:50 +0000 (17:40 +0100)]
mbsync: do not sync youtube folder anymore
Google killed it.
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.
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
Samir Benmendil [Thu, 4 May 2023 08:43:42 +0000 (09:43 +0100)]
bin: ocp aur-sync-devel to bin
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.
Samir Benmendil [Thu, 13 Apr 2023 23:57:32 +0000 (00:57 +0100)]
xprofile: use lock-session to lock on skull-canyon
Samir Benmendil [Thu, 13 Apr 2023 23:54:59 +0000 (00:54 +0100)]
qutebrowser: update quickmarks
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.
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.
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.