add ctrl+shift+ins for pasting primary and add info to READMe about
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 29 Jun 2012 13:33:37 +0000 (13:33 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 29 Jun 2012 13:33:37 +0000 (13:33 +0000)
mouse/kbd controls.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/terminology@73037 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

README
src/bin/termio.c

diff --git a/README b/README
index 0917832..5fdec77 100644 (file)
--- a/README
+++ b/README
@@ -27,9 +27,25 @@ Once you have met requirements, compiling and installing is simple:
   make
   make install
 
-Note: to make accented chars with deadkeys work, you need to use an
-input method handler. Right now only XIM works, so try this before you
-run terminology:
+Note: to make terminology work with input methods in general you need:
 
 export ECORE_IMF_MODULE="xim"
 export XMODIFIERS="@im=none"
+
+Special key controls:
+
+Shift+PgUp = Scroll 1 page up
+Shift+PgDn = Scroll 1 page down
+Shift+Insert = Paste Clipboard (ctrl+v/c) selection
+Shift+Ctrl+Insert = Paste Primary (hilight) selection
+Shift+Keypad-Plus = Font size up 1
+Shift+Keypad-Minus = Font size down 1
+Shift+Keypad-Multiply = Reset font size to 10
+Shift+Keypad-Divide = Copy highlight to Clipboard (same as ctrl+c in gui apps)
+
+Mouse controls:
+
+Right mouse button = controls menu
+Middle mouse button = paste highlight selection
+Left mouse button/drag = make highlight
+Wheel = scroll up or down in history
index 4ee9bd2..d529097 100644 (file)
@@ -505,7 +505,10 @@ _smart_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__,
                {
                   EINA_LIST_FREE(sd->seq, str) eina_stringshare_del(str);
                   sd->composing = EINA_FALSE;
-                  _paste_selection(data, ELM_SEL_TYPE_CLIPBOARD);
+                  if (evas_key_modifier_is_set(ev->modifiers, "Control"))
+                    _paste_selection(data, ELM_SEL_TYPE_PRIMARY);
+                  else
+                    _paste_selection(data, ELM_SEL_TYPE_CLIPBOARD);
                   goto end;
                }
              else if (!strcmp(ev->keyname, "KP_Add"))