aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-08-10 16:29:28 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2011-08-10 16:29:28 -0400
commitfd4ead5b37598a950419b5a7cf2a0671ddef3c5e (patch)
treeee581b6e0738d59f159300bef7d529f8860a03c4 /modules/textadept
parent6b5b649948732b60b522261e2a6ec14e0f30bb73 (diff)
downloadtextadept-fd4ead5b37598a950419b5a7cf2a0671ddef3c5e.tar.gz
textadept-fd4ead5b37598a950419b5a7cf2a0671ddef3c5e.zip
Change bindings for switching buffers and views on Mac OSX.
Diffstat (limited to 'modules/textadept')
-rw-r--r--modules/textadept/keys.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 9a715fa7..52ab0db1 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -234,8 +234,8 @@ keys[not OSX and 'caO' or 'maO'] = utils.snapopen_filedir
keys[not OSX and 'ci' or 'mi'] = utils.show_style
-- Buffer.
-keys[not OSX and 'c\t' or 'c`'] = { _view.goto_buffer, _view, 1, false }
-keys[not OSX and 'cs\t' or 'c~'] = { _view.goto_buffer, _view, -1, false }
+keys['c\t'] = { _view.goto_buffer, _view, 1, false }
+keys['cs\t'] = { _view.goto_buffer, _view, -1, false }
keys[not OSX and 'cb' or 'mb'] = gui.switch_buffer
-- Indentation.
-- TODO: { utils.set_indentation, 2 }
@@ -258,8 +258,8 @@ keys[not OSX and 'cal' or 'mal'] = m_textadept.mime_types.select_lexer
keys.f5 = { _buffer.colourise, _buffer, 0, -1 }
-- View.
-keys[not OSX and 'can' or 'c\t'] = { gui.goto_view, 1, false }
-keys[not OSX and 'cap' or 'cs\t'] = { gui.goto_view, -1, false }
+keys[not OSX and 'can' or 'ca\t'] = { gui.goto_view, 1, false }
+keys[not OSX and 'cap' or 'cas\t'] = { gui.goto_view, -1, false }
keys[not OSX and 'caS' or 'cS'] = { _view.split, _view }
keys[not OSX and 'cas' or 'cs'] = { _view.split, _view, false }
keys[not OSX and 'caw' or 'cw'] = { _view.unsplit, _view }