[options]

# Suppress built-in key bindings, and specify them explicitly in this
# config file.
suppress_default_binds = true
width = 1920
height = 1080

[aliases]
# Define aliases here. Any arguments passed to an alias are appended to the
# command.
# alias = command to run

[binds]
# Define some key bindings
q = quit
y = exec echo working!

# Image navigation
k = prev
<bracketleft> = prev
j = next
<bracketright> = next
gg = goto 1
<Shift+G> = goto -1

# Panning
<Down> = pan 0 -50
<Up> = pan 0 50
<Left> = pan 50 0
<Right> = pan -50 0

# Zooming
<Up> = zoom 1
<Shift+plus> = zoom 1
i = zoom 1
<Down> = zoom -1
<minus> = zoom -1
o = zoom -1

# Rotate Clockwise by 90 degrees
<Ctrl+r> = rotate by 90

# Other commands
x = close
f = fullscreen
d = overlay
p = exec echo $imv_current_file
c = center
s = scaling next
<Shift+S> = upscaling next
a = zoom actual
r = reset

d = exec trash "$imv_current_file"; exec notify-send "$imv_current_file deleted"; close

# Gif playback
<period> = next_frame
<space> = toggle_playing

# Slideshow control
t = slideshow +1
<Shift+T> = slideshow -1