mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
feat: add custom imv keybindings for delete and rotate currently opened image (#3312)
* feat: add custom imv keybindings for delete and rotate * Update imv config and migration script * Simplify this --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
@@ -1,2 +1,13 @@
|
||||
[binds]
|
||||
<Ctrl+p> = exec lp $imv_current_file
|
||||
|
||||
# Print the current image file
|
||||
<Ctrl+p> = exec lp "$imv_current_file"
|
||||
|
||||
# Delete the current image and quit the viewer
|
||||
<Ctrl+x> = exec rm "$imv_current_file"; quit
|
||||
|
||||
# Delete the current image and move to the next one
|
||||
<Ctrl+Shift+X> = exec rm "$imv_current_file"; close
|
||||
|
||||
# Rotate the currently open image by 90 degrees
|
||||
<Ctrl+r> = exec mogrify -rotate 90 "$imv_current_file"
|
||||
|
||||
4
migrations/1762802472.sh
Normal file
4
migrations/1762802472.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
echo "Update imv config with new keybindings"
|
||||
|
||||
mkdir -p ~/.config/imv
|
||||
cp $OMARCHY_PATH/config/imv/config ~/.config/imv/
|
||||
Reference in New Issue
Block a user