Key bindings

From: Rob <ro....at.web.de>
Date: Wed, 27 Jan 2010 01:10:50 -0800 (PST)

With a German keyboard layout the default keybindings for "enclose
in"/"select in" do not work in some cases, since the shift key is
needed (or not): { without shift key, single quotes with shift key.
(I'm using Textadept on Linux.)

I can of course change the keybindings to get it working:
keys.ac = { -- enClose in...
    ["s'"] = { m_editing.enclose, 'sng_quotes' },
    ['{'] = { m_editing.enclose, 'braces' },
  }

Since shift is a modifier key, the "s" apparently can't be left out.
Is there another workaround? This might be confusing for new users
with non-US keyboard layouts.

Another question: Is it possible to change the key bindings in a file
of my .textadept folder or do I have to change them in core/ext/
key_commands.lua?

Help would be much appreciated,
Robert
Received on Wed 27 Jan 2010 - 04:10:50 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:38:56 EST