vimiv: Add batch marking images

Use `V` in the library or thumbnail view to mark contiguous images,
mimicking vim visual selection mode.
This commit is contained in:
Marty Oehme 2024-07-26 11:42:42 +02:00
parent 2fcaad5c1c
commit 575e17a924
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
4 changed files with 7 additions and 1 deletions

3
.gitmodules vendored
View file

@ -4,3 +4,6 @@
[submodule "scripts/.local/share/uoeia"] [submodule "scripts/.local/share/uoeia"]
path = scripts/.local/share/uoeia path = scripts/.local/share/uoeia
url = https://git.martyoeh.me/Marty/uoeia.git url = https://git.martyoeh.me/Marty/uoeia.git
[submodule "multimedia/.local/share/vimiv/plugins/batchmark"]
path = multimedia/.local/share/vimiv/plugins/batchmark
url = https://github.com/jcjgraf/BatchMark

View file

@ -31,6 +31,7 @@ b : set statusbar.show!
tl : toggle library tl : toggle library
tm : toggle manipulate tm : toggle manipulate
tt : toggle thumbnail tt : toggle thumbnail
V : batchmark-toggle
[IMAGE] [IMAGE]
M : center M : center
@ -85,6 +86,7 @@ H : set library.width -0.05
$ : end-of-line $ : end-of-line
<button-right> : enter library <button-right> : enter library
^ : first-of-line ^ : first-of-line
0 : first-of-line
<ctrl>d : scroll half-page-down <ctrl>d : scroll half-page-down
<ctrl>u : scroll half-page-up <ctrl>u : scroll half-page-up
<button-back> : scroll left <button-back> : scroll left

View file

@ -43,7 +43,7 @@ left_thumbnail = {thumbnail-index}/{thumbnail-total} {thumbnail-basename}{read-o
left_manipulate = {basename} {image-size} Modified: {modified} {processing} left_manipulate = {basename} {image-size} Modified: {modified} {processing}
center_thumbnail = {thumbnail-size} center_thumbnail = {thumbnail-size}
center = {slideshow-indicator} {slideshow-delay} {transformation-info} center = {slideshow-indicator} {slideshow-delay} {transformation-info}
right = {keys} {mark-count} {mode} right = {keys} {batchmark} {mark-count} {mode}
right_image = {keys} {mark-indicator} {mark-count} {mode} right_image = {keys} {mark-indicator} {mark-count} {mode}
[KEYHINT] [KEYHINT]
@ -71,6 +71,7 @@ shuffle = False
[PLUGINS] [PLUGINS]
print = default print = default
metadata = default metadata = default
batchmark =
[ALIASES] [ALIASES]