vimiv: Add basic configuration

This commit is contained in:
Marty Oehme 2024-06-13 10:21:32 +02:00
parent d0a2853bf2
commit 6e9056d5ca
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
4 changed files with 224 additions and 0 deletions

View file

@ -90,6 +90,13 @@ rewrite = false
start = "# START FLAVOURS" start = "# START FLAVOURS"
end = "# END FLAVOURS" end = "# END FLAVOURS"
[[items]]
# additionally requires style = base16 to be set
# in the [GENERAL] section of ~/.config/vimiv/vimiv.conf
template = "vimiv"
file = "~/.config/vimiv/styles/base16"
rewrite = true
[[items]] [[items]]
template = "fzf" template = "fzf"
subtemplate = "sh" subtemplate = "sh"

View file

@ -0,0 +1,110 @@
[GLOBAL]
<colon> : command
o : command --text='open '
yi : copy-image
yI : copy-image --primary
yy : copy-name
ya : copy-name --abspath
yA : copy-name --abspath --primary
yY : copy-name --primary
x : delete %%
gi : enter image
gl : enter library
gm : enter manipulate
gt : enter thumbnail
f : fullscreen
G : goto -1
gg : goto 1
m : mark %%
q : quit
. : repeat-command
j : scroll down
h : scroll left
l : scroll right
k : scroll up
/ : search
? : search --reverse
N : search-next
P : search-prev
zh : set library.show_hidden!
b : set statusbar.show!
tl : toggle library
tm : toggle manipulate
tt : toggle thumbnail
[IMAGE]
M : center
<button-right> : enter library
<button-middle> : enter thumbnail
| : flip
_ : flip --vertical
<end> : goto -1
<home> : goto 1
<button-forward> : next
<page-down> : next
n : next
<ctrl>n : next --keep-zoom
<space> : play-or-pause
<button-back> : prev
<page-up> : prev
p : prev
<ctrl>p : prev --keep-zoom
> : rotate
< : rotate --counter-clockwise
W : scale --level=1
<equal> : scale --level=fit
w : scale --level=fit
E : scale --level=fit-height
e : scale --level=fit-width
J : scroll-edge down
H : scroll-edge left
L : scroll-edge right
K : scroll-edge up
sl : set slideshow.delay +0.5
sh : set slideshow.delay -0.5
ss : slideshow
+ : zoom in
- : zoom out
[LIBRARY]
<button-middle> : enter thumbnail
go : goto 1 --open-selected
<button-forward> : scroll down --open-selected
n : scroll down --open-selected
<ctrl>d : scroll half-page-down
<ctrl>u : scroll half-page-up
<button-right> : scroll left
<ctrl>f : scroll page-down
<ctrl>b : scroll page-up
<button-back> : scroll up --open-selected
p : scroll up --open-selected
L : set library.width +0.05
H : set library.width -0.05
[THUMBNAIL]
$ : end-of-line
<button-right> : enter library
^ : first-of-line
<ctrl>d : scroll half-page-down
<ctrl>u : scroll half-page-up
<button-back> : scroll left
<ctrl>f : scroll page-down
<ctrl>b : scroll page-up
<button-forward> : scroll right
+ : zoom in
- : zoom out
[COMMAND]
<tab> : complete
<shift><tab> : complete --inverse
<ctrl>p : history next
<ctrl>n : history prev
<up> : history-substr-search next
<down> : history-substr-search prev
<escape> : leave-commandline
[MANIPULATE]
<colon> : command
f : fullscreen
b : set statusbar.show!

View file

@ -0,0 +1,31 @@
; base16-gruvbox-dark-soft
;
; base16: (https://github.com/chriskempson/base16)
;
; Scheme: Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)
; Template: Christian Karl <karlch at protonmail dot com>
[STYLE]
; Colors
base00 = #32302f
base01 = #3c3836
base02 = #504945
base03 = #665c54
base04 = #bdae93
base05 = #d5c4a1
base06 = #ebdbb2
base07 = #fbf1c7
base08 = #fb4934
base09 = #fe8019
base0a = #fabd2f
base0b = #b8bb26
base0c = #8ec07c
base0d = #83a598
base0e = #d3869b
base0f = #d65d0e
; Additional custom overrides, e.g.
; font = 10pt Hack
; thumbnail.padding = 32
; vim:ft=dosini

View file

@ -0,0 +1,76 @@
[GENERAL]
monitor_filesystem = True
startup_library = True
style = base16
read_only = False
[COMMAND]
history_limit = 100
[COMPLETION]
fuzzy = False
[SEARCH]
ignore_case = True
incremental = True
[IMAGE]
autoplay = True
autowrite = ask
overzoom = 1.0
zoom_wheel_ctrl = True
[LIBRARY]
width = 0.3
show_hidden = False
[THUMBNAIL]
size = 128
save = True
[SLIDESHOW]
delay = 2.0
indicator = slideshow:
[STATUSBAR]
collapse_home = True
show = True
message_timeout = 60000
mark_indicator = <b>*</b>
left = {pwd}{read-only}
left_image = {index}/{total} {basename}{read-only} [{zoomlevel}]
left_thumbnail = {thumbnail-index}/{thumbnail-total} {thumbnail-basename}{read-only}
left_manipulate = {basename} {image-size} Modified: {modified} {processing}
center_thumbnail = {thumbnail-size}
center = {slideshow-indicator} {slideshow-delay} {transformation-info}
right = {keys} {mark-count} {mode}
right_image = {keys} {mark-indicator} {mark-count} {mode}
[KEYHINT]
delay = 500
timeout = 5000
[TITLE]
fallback = vimiv
image = vimiv - {basename}
[METADATA]
keys1 = Exif.Image.Make,Exif.Image.Model,Exif.Photo.LensModel,Exif.Image.DateTime,Exif.Image.Artist,Exif.Image.Copyright
keys2 = Exif.Photo.ExposureTime,Exif.Photo.FNumber,Exif.Photo.ISOSpeedRatings,Exif.Photo.ApertureValue,Exif.Photo.ExposureBiasValue,Exif.Photo.FocalLength,Exif.Photo.ExposureProgram
keys3 = Exif.GPSInfo.GPSLatitudeRef,Exif.GPSInfo.GPSLatitude,Exif.GPSInfo.GPSLongitudeRef,Exif.GPSInfo.GPSLongitude,Exif.GPSInfo.GPSAltitudeRef,Exif.GPSInfo.GPSAltitude
keys4 = Iptc.Application2.Caption,Iptc.Application2.Keywords,Iptc.Application2.City,Iptc.Application2.SubLocation,Iptc.Application2.ProvinceState,Iptc.Application2.CountryName,Iptc.Application2.Source,Iptc.Application2.Credit,Iptc.Application2.Copyright,Iptc.Application2.Contact
keys5 = Exif.Image.ImageWidth,Exif.Image.ImageLength,Exif.Photo.PixelXDimension,Exif.Photo.PixelYDimension,Exif.Image.BitsPerSample,Exif.Image.Compression,Exif.Photo.ColorSpace
[SORT]
image_order = natural
directory_order = alphabetical
reverse = False
ignore_case = False
shuffle = False
[PLUGINS]
print = default
metadata = default
[ALIASES]