Commit Graph

1212 Commits

Author SHA1 Message Date
Marty Oehme 7121897385
qutebrowser: Add URL rewriting for scribe redirects
Scribe links are often not redirected correctly if belonging to medium's
'global-identity' redirections. This is a first attempt at fixing those
by removing the superfluous string from the scribe URL.

Generalized enough to work as a 'post-processing' function for the
redirection plugin, which can be set up by pointing the 'postprocess'
key of a page entry to a callable object (most likely a function).
2023-05-23 15:42:03 +02:00
Marty Oehme 8627a51bb7
neomutt: Update macro key maps
Updated key mappings to use `,` as the 'local-prefix' (or 'macro-prefix') which
allows easier setup for an additional functionality layer.

Also make `dd` the standard way to delete a whole sub-thread instead of
single mail by single mail of a conversation. That functionality can now
be achieved with `dD` instead, while `dd` removes a whole thread (not
just sub-thread).
2023-05-23 15:38:57 +02:00
Marty Oehme 605e0abdbb
neomutt: Fix laggy mail list display
Fixed display of longer mail directory lists which would be very laggy
by simply removing calls to attachment_info in the overview.
2023-05-23 15:37:29 +02:00
Marty Oehme 2f4e71ad9f
task: Make taskopen adhere to xdg
Using `TASKOPENRC` we set the configuration file to be in the correct
xdg configuration directory.
2023-05-23 15:35:37 +02:00
Marty Oehme 01ca98aa4b
mpv: Update gui interface 2023-05-23 15:34:08 +02:00
Marty Oehme 8a0fd53647
waybar: Fix remaining status bar icons 2023-05-23 15:26:34 +02:00
Marty Oehme 42e8504b1b
waybar: Add river modules,Update for new nerdfonts
Added a window entry on the bar for the currently displayed window. If
it annoys me I will delete it again but it helps distinguish the active
and the inactive output.
Also added the current river *mode* which is a lovely feature to have,
though I would like to hide it if no mode (other than normal) is
currently active.
2023-05-15 09:38:20 +02:00
Marty Oehme 8606652b93
nvim: Fix colorizer setup and add mappings 2023-03-23 08:30:01 +01:00
Marty Oehme 3a6c7717c8
nvim: Set up gitsigns mappings 2023-03-23 08:29:12 +01:00
Marty Oehme d2e101b822
nvim: Add latex notation concealing with nabla
Notations will be concealed automatically on entering a textual buffer
and `$...$` style notations are contained.

Concealing can be turned off with <localleader>sV, which will toggle
concealing on or off for all notations in the file.
Additionally, the notation under curser can be viewed in a popup with
<localleader>sv.
2023-03-23 08:28:17 +01:00
Marty Oehme 2b64b4b750
nvim: Update lazy lockfile 2023-03-22 17:31:49 +01:00
Marty Oehme f1b7c02aee
nvim: Make cursorword highlights more inconspicuous 2023-03-22 17:29:41 +01:00
Marty Oehme aa68137ff8
nvim: Add zk mappings 2023-03-22 17:01:02 +01:00
Marty Oehme d0e536b798
nvim: Update colorizer git address 2023-03-22 16:29:42 +01:00
Marty Oehme e95bd9b252
nvim: Add smartcolumn plugin 2023-03-22 16:29:41 +01:00
Marty Oehme f156292e8f
nvim: Add file tree
In addition to my standard file manager, vifm, being integrated into
neovim, I have now also added a side-pane file tree (akin to nerdtree)
that is easily reachable to get a quick overview of a file layout.

For now, I do not intend to do much more with the plugin, only keep it
for those rare cases I want to have a view on my file layout at the same
time as working in a buffer. For all other things (file operations
especially) I still have vifm.
2023-03-22 15:58:18 +01:00
Marty Oehme 88336a433a
bootstrap: Disable system USB mouse wakeups
My (un-branded) usb mouse prevented the system from going into
suspend/hibernation by sending intermittent wakeup signals.

This system configuration option simply disables the device from sending
those wakeup signals. Used with superuser stow installation method.
2023-03-22 11:53:08 +01:00
Marty Oehme f6a9006c07
mpv: Make mpv automatic quality setting explicit 2023-03-22 11:52:14 +01:00
Marty Oehme 337b250aba
qutebrowser: Fix bare redirect exception 2023-03-22 11:48:57 +01:00
Marty Oehme a16e0eead7
wezterm: Add cursive italics
Set up wezterm to continue to use Iosevka for everything *except*
italics (in all weights) which will instead be displayed by the Victor
font.
This ultimately results in cursive fonts for italics and Iosevka for
everything else, very pretty.
2023-03-22 11:14:25 +01:00
Marty Oehme 36d411dafa
nvim: Format files 2023-03-22 10:35:21 +01:00
Marty Oehme 22cfa037df
nvim: Add fidget.nvim
Added fidget plugin which shows the current loading status of LSPs. Only
works for a few LSP (so far), including lua and python. Should
automatically pick up new implementations on update. Will display a
small loading notification in the lower right corner, useful to display
status for those situations where LSP loading takes a long time (e.g.
rust compilation requirements or a large python environment).

FIXME Does not work for each python environment startup yet, and I am
not sure why - sometimes just does not display its loading startup.
2023-03-22 10:32:20 +01:00
Marty Oehme 643d282bac
nvim: Improve cmdline completion
When completing in command line I want the completion canditates to be
displayed, but *not* selected on confirmation. By doing so, it makes it
almost impossible to quickly quit with ':q' or write with ':w' for
example, as those always try to expand themselves automatically into
completion items.

This commit changes the default behavior for command mode to show
completions but not auto accept any on confirmation, instead simply
invoking whatever is currently on the command line (as if we had no
completion plugin running).
2023-03-22 10:31:37 +01:00
Marty Oehme ce9f101024
nvim: Unify lsp mappings into local +l prefix
Whereas previously we had lsp-related mappings both on <localleader>l...
and g... mappings, they are now all unified under the <localleader>l
prefix group. Some mnemonics unfortunately had to give way to a weaker
version of themselves (definition becomes de[f]inition, implementation
becomes i[m]plementation) but overall I believe this to be much more
cohesive for my future lsp usage. With which-key enabled and everything
under the +l group we should be able to easily adapt to the new
mappings.

Additionally, some mappings will invoke the telescope version of their
lsp command if telescope is indeed installed, otherwise fall back to the
native neovim lsp implementation.
2023-03-22 10:28:13 +01:00
Marty Oehme d1b0dfe112
nvim: Improve diagnostics gutter rendering 2023-03-22 10:21:52 +01:00
Marty Oehme 6b28e6417b
nvim: Prepare lsp-zero switch to v2 branch
Switched the configuration of lsp-zero to its less integrated v2
version. Switched back to manually configuring most of nvim-cmp.

Addded some manual formatting to cmp which displays completion kind as
icons not as text.
Manually add luasnip integration.
2023-03-22 08:30:04 +01:00
Marty Oehme 39b495affd
nvim: Update lockfile 2023-03-21 18:58:51 +01:00
Marty Oehme 617872463b
qutebrowser: Add annas archive search engine 2023-03-21 18:58:35 +01:00
Marty Oehme 0a90be6155
newsboat: Add simple settings 2023-03-21 18:58:16 +01:00
Marty Oehme e6d17ab632
wezterm: Yank to clipboard by default 2023-03-21 18:57:38 +01:00
Marty Oehme 395ae723b9
qutebrowser: Update redirects 2023-03-21 18:56:17 +01:00
Marty Oehme a276251aa7
bootstrap: Update stable packages 2023-03-21 18:52:50 +01:00
Marty Oehme b52ecda093
terminal: Change timg for viu 2023-03-21 18:26:32 +01:00
Marty Oehme 384ff59a3f
vifm: Move external file operations to localleader prefix 2023-03-19 14:55:58 +01:00
Marty Oehme 3795b20a59
vifm: Add new tab mapping 2023-03-19 14:55:07 +01:00
Marty Oehme e464c5000a
vifm: Improve prefix suggestions display
If given <nop> as prefix mapping, the suggestions box shows *all*
mappings that exist in the program. By removing the <nop> we make the
key do its usual action but at the same time restrict the suggestions
being displayed to those actually following the prefix.
2023-03-19 14:53:47 +01:00
Marty Oehme 0612c74b91
vifm: Add ellipses ... to truncated filenames 2023-03-19 14:52:52 +01:00
Marty Oehme 5a04f34f97
vifm: Update library path to general library dir 2023-03-19 14:52:28 +01:00
Marty Oehme dc20b23b0a
vifm: Set rg as program to grep with 2023-03-19 14:52:11 +01:00
Marty Oehme 98892fbc89
vifm: Change delay until map suggestions are shown 2023-03-19 14:51:01 +01:00
Marty Oehme 6a4f2e6ecc
papis: Change notes to markdown, add ee library 2023-03-19 14:50:25 +01:00
Marty Oehme b3aa44f7a5
nvim: Update plugin lockfile 2023-03-19 14:49:38 +01:00
Marty Oehme 0189753b18
nvim: Update spell dict 2023-03-19 14:49:24 +01:00
Marty Oehme 917d80b7f2
nvim: Change spell fix shortcut to z mapping 2023-03-19 14:48:25 +01:00
Marty Oehme 7a6575f760
nvim: Add easyread speed reading plugin 2023-03-19 14:47:56 +01:00
Marty Oehme 0d5eeadef0
nvim: Remove wrapping notification, add toggle map 2023-03-19 14:47:26 +01:00
Marty Oehme b8eb02ef6c
nvim: Add arduino language server wrapping 2023-03-19 14:46:26 +01:00
Marty Oehme 6dd08327d8
qutebrowser: Switch youtube search engine back to yewtube 2023-03-09 21:19:27 +01:00
Marty Oehme c59b617da5
qutebrowser: Fix external textbox editor
Fixed text not flowing to the external (nvim) editor and saved text not
being brought back into qutebrowser.
Same issue as here https://github.com/qutebrowser/qutebrowser/issues/6707
it essentially amounts to the terminal not having its own running
process id which qutebrowser uses to know when the application closes.
Thus, it thinks it closes immediately and deletes the temporary file. No
changes are brought back and the file is empty for the editor.
With the fix, this does not happen anymore.
2023-03-09 21:17:24 +01:00
Marty Oehme 9d449af08b
flavours: Switch bg/fg color around for wezterm tab 2023-03-07 15:04:16 +01:00