From 54d7b7f20fc80460fb6160badb6d90e6505a4194 Mon Sep 17 00:00:00 2001 From: András Mohari Date: Fri, 31 Jan 2014 14:17:52 +0100 Subject: Use a prefix key to execute the key handler The default prefix key is C-x, and can be changed in config.def.h. The first key pressed after the prefix key will be passed the external key handler, unless the key is Escape, which is used to cancel the prefix. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 6ccf1e8..7c456bf 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,10 @@ of small previews is displayed, making it easy to choose an image to open. N Go [count] marked images forward P Go [count] marked images backward + Ctrl-x KEY Execute $XDG_CONFIG_HOME/sxiv/exec/key-handler with + KEY and the path of the current image as arguments. + If KEY is Escape, it cancels the effect of Ctrl-x. + *Thumbnail mode:* h,j,k,l Move selection left/down/up/right [count] times -- cgit v1.2.3-54-g00ecf From 2d703c30a2372c6b9955f5c08fb6b727cbd3cee0 Mon Sep 17 00:00:00 2001 From: András Mohari Date: Fri, 31 Jan 2014 14:28:35 +0100 Subject: Fix tabs and wording --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 7c456bf..b30bb35 100644 --- a/README.md +++ b/README.md @@ -113,9 +113,9 @@ of small previews is displayed, making it easy to choose an image to open. N Go [count] marked images forward P Go [count] marked images backward - Ctrl-x KEY Execute $XDG_CONFIG_HOME/sxiv/exec/key-handler with - KEY and the path of the current image as arguments. - If KEY is Escape, it cancels the effect of Ctrl-x. + Ctrl-x KEY Execute $XDG_CONFIG_HOME/sxiv/exec/key-handler with + KEY and the path of the current image as arguments, + unless KEY is Escape, which cancels Ctrl-x. *Thumbnail mode:* -- cgit v1.2.3-54-g00ecf