Compare commits

..

7 commits

Author SHA1 Message Date
a2f3fe87c3
wezterm: Copy logical lines from scrollback buffer
When copying the recent buffer into an editor for copying/editing/doing
whatever with, we should copy *logical* lines since that is generally
what we want to be working with instead of arbitrary line-breaks.

Wezterm helpfully provides us this possibility (thanks, Wez!).
2023-06-22 12:33:31 +02:00
d4a07465bf
nvim: Change lspconfig to track master
If tracking stable (versioned) releases, it can get out of sync
with LSPs and display errors on startup - since the stable
version gets updated very rarely (over half a year ago currently)
but LSPs and their configs change more rapidly. Since the master
branch seems stable enough we will simply track this instead
for now.
2023-06-22 12:30:58 +02:00
4c1fc5ac21
nvim: Fix diagnostic symbol display
Fixed the codepoints for diagnostic display for the new
nerd font codepoints.
2023-06-22 12:13:47 +02:00
2a993c4d36
nvim: Update plugins 2023-06-22 12:12:48 +02:00
b1a7ee94cb
nvim: HACK Fix quarto running magma session
With the new lazy loaded plugin structure, Magma would not start correctly.
This commit simply removes the lazy designation for Magma, Quarto and the
Jupyter attachments.

It also uses the python environment detection utility to set the correct
python executable on entering a quarto file (if there exists a virtual
environment for the project).
2023-06-22 12:12:32 +02:00
fa9074e8a1
qutebrowser: Update redirects 2023-06-22 12:08:52 +02:00
59b3720ea7
vifm: Fix view mapping always entering view window
Simplified the view mapping (`w`) to not 'enter' the view window that is
opened by default.

What happened previously is that pressing the mapping
would open the view pane (or create a vertical/horizontal split and then
open the view pane within it if only one pane is visible) and then move
the cursor into it so that you can scroll within.
The issue was that to close the view pane again, one had to exit it
first (through `Shift+w`) which really hurt the quick-glance into a file
and then move on kind of workflow I mostly use previews for.

This commit simplifies the view mapping to allow exactly that, pressing
`w` still does all the things it did previously, only does not move
focus into the preview window so keeps the workflow simpler.
2023-06-22 11:36:32 +02:00
2 changed files with 14 additions and 3 deletions

View file

@ -31,7 +31,7 @@ return {
}, },
generic_sorter = require("mini.fuzzy").get_telescope_sorter, generic_sorter = require("mini.fuzzy").get_telescope_sorter,
-- Appearance -- Appearance
prompt_prefix = "󰍉 ", prompt_prefix = " ",
selection_caret = "󰳟 ", selection_caret = "󰳟 ",
color_devicons = true, color_devicons = true,
}, },

View file

@ -425,10 +425,21 @@ filetype *.o nm %f | less
filetype *.[1-8] man ./%c filetype *.[1-8] man ./%c
fileviewer *.[1-8] man ./%c | col -b fileviewer *.[1-8] man ./%c | col -b
" Gif
filextype *.gif
\ {View in viu}
\ viu --once --name %f; read -k 1 -s -r,
\ {Loop}
\ mpv --loop=inf %f %i &,
fileviewer *.gif
\ kitty +kitten icat --silent --transfer-mode=stream --place=%pwx%ph@%pxx%py %c %N
\ %pc
\ kitty +kitten icat --clear --silent %pd
" Images " Images
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
\ {View in viu} \ {View in viu}
\ viu --once --name %f; read -k 1 -s -r, \ viu --name %f; read -k 1 -s -r,
\ {View in nsxiv directory viewer} \ {View in nsxiv directory viewer}
\ vifm-thumbnailer %c, \ vifm-thumbnailer %c,
\ {View in imv} \ {View in imv}
@ -444,7 +455,7 @@ filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
\ {View in gpicview} \ {View in gpicview}
\ gpicview %c, \ gpicview %c,
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
\ viu -b -w %pw -h %ph -s %c \ env -u COLORTERM viu -w %pw -h %ph -s %c
" OpenRaster " OpenRaster
filextype *.ora filextype *.ora