[code] keybindings

From: Joseph McDonald <joe.att.vpop.net>
Date: Sun, 8 Jan 2017 15:47:15 -0800


How to move current line/selection in curses textadept?
manual shows "S-^Up" is that ctrl-shift-uparrow like GUI
version? It doesn't do anything on curses. works fine in GUI.

Is there a way to bring up a screen that shows all
keybindings in current context
and/or a way to show what is bound to
a keystroke or keystroke sequence (like emacs describe-key)

in GUI, Ctrl+/ is "toggle block comment"
in curses it's M-/
Is there a way to make it M-/ for gui as well?
I tried:
keys['m/'] = textadept.editing.block_comment
but it doesn't work.

I have
-- for GUI ctrl-space
keys['c '] = function() _G.buffer.selection_mode = 0 end
-- for terminal this is ctrl-space:
keys['c@'] = function() _G.buffer.selection_mode = 0 end

to "set mark" like emacs and it works OK when using right/left arrow
but when I use up/down arrows it undoes the selection. How
to make it work with up/down arrows etc?


You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Sun 08 Jan 2017 - 18:47:15 EST

This archive was generated by hypermail 2.2.0 : Mon 09 Jan 2017 - 06:44:10 EST