diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-01-17 20:35:44 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-01-17 20:35:44 +0100 |
commit | 21457d1aba3cb8395173679e3a799a17c344a8d2 (patch) | |
tree | 978e87e0661d8bdcd94e04b9c28918ae99ab0730 /examples/keys | |
parent | 5a05f95cd6c3bdeef4f5c5c66d574a71570c36f7 (diff) |
data -> share, data/examples -> examples
Diffstat (limited to 'examples/keys')
-rw-r--r-- | examples/keys | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/examples/keys b/examples/keys new file mode 100644 index 0000000..1f1f374 --- /dev/null +++ b/examples/keys @@ -0,0 +1,40 @@ +# feh key configuration. +# Comments start with a # sign, do not use them mid-line. +# Each line must be blank, a comment, or a key definition. +# +# key definition: <action name> <key1> [<key2> [<key3>]] +# +# Each <key> is an X11 keysym (as output by xev) with optional modifier. +# For instance, C-x would be Ctrl+X, or 4-space Mod4+Space + +# Examples for vim-like menu bindings on a qwerty keyboard: +menu_parent h Left +menu_child l Right +menu_down j Down +menu_up k Up +menu_select space Return + +# Same for image navigation ... +next_img j Right space +prev_img k Left BackSpace +remove l Delete +delete C-l C-Delete + +# and image movement +scroll_up J C-Up +scroll_down K C-Down +scroll_left H C-Left +scroll_right L C-Right + +# zooming +zoom_in C-Up f +zoom_out C-Down a +zoom_default d +zoom_fit s + +# I only hit these accidentaly +save_image +save_filelist + +# This leaves some conflicts with existing default bindings, but you should +# get the idea. And I'm not gonna fix the conflicts, I don't use qwerty ;-) |