aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-06-24 15:42:10 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-06-24 15:42:10 -0400
commit87e53cf852ef3d6e0c5d09a11debbc708e00f9c7 (patch)
tree14b08719f7d66ca9087fc3c7b56d1391c29f6260 /modules/textadept/keys.lua
parent8527adcebc33243664bcb2b19d63ac6a66e584be (diff)
downloadtextadept-87e53cf852ef3d6e0c5d09a11debbc708e00f9c7.tar.gz
textadept-87e53cf852ef3d6e0c5d09a11debbc708e00f9c7.zip
Consolidated bookmarks module's "goto" functions into a new `goto_mark()`.
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r--modules/textadept/keys.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index d0b161d1..672c7994 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -479,9 +479,9 @@ keys[not OSX and (not CURSES and 'cf2' or 'f1')
or 'mf2'] = _M.textadept.bookmarks.toggle
keys[not OSX and (not CURSES and 'csf2' or 'f6')
or 'msf2'] = _M.textadept.bookmarks.clear
-keys.f2 = _M.textadept.bookmarks.goto_next
-keys[not CURSES and 'sf2' or 'f3'] = _M.textadept.bookmarks.goto_prev
-keys[not CURSES and 'af2' or 'f4'] = _M.textadept.bookmarks.goto_bookmark
+keys.f2 = {_M.textadept.bookmarks.goto_mark, true}
+keys[not CURSES and 'sf2' or 'f3'] = {_M.textadept.bookmarks.goto_mark, false}
+keys[not CURSES and 'af2' or 'f4'] = _M.textadept.bookmarks.goto_mark
-- Snapopen.
keys[not OSX and 'cu' or 'mu'] = {io.snapopen, _USERHOME}
-- TODO: {io.snapopen, _HOME}