]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - x11/feh/keys
Move to x11/ in preparation for merge into new dotfiles repository
[config/dotfiles.git] / x11 / feh / keys
diff --git a/x11/feh/keys b/x11/feh/keys
new file mode 100644 (file)
index 0000000..8d95910
--- /dev/null
@@ -0,0 +1,45 @@
+# feh key mappings configuration file.
+
+# Copyright (C) 2012  Simon Ruderich
+#
+# This file is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this file.  If not, see <http://www.gnu.org/licenses/>.
+
+
+# Disable all mappings which modify the image, I use feh as an image viewer
+# only and never want to modify any files by accident.
+orient_1
+orient_3
+flip
+mirror
+# Also disable mappings which create or _remove_ files/images.
+save_filelist
+save_image
+delete
+
+# Vim-like movement bindings when scrolling inside an image.
+scroll_left  h
+scroll_right l
+scroll_up    k
+scroll_down  j
+# And when moving in the file list.
+prev_img     K BackSpace
+next_img     J space
+
+# Zoom in/out.
+zoom_in  plus
+zoom_out minus
+zoom_fit equal
+
+# Toggle the filename display.
+toggle_filenames f