From 87e53cf852ef3d6e0c5d09a11debbc708e00f9c7 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 24 Jun 2013 15:42:10 -0400 Subject: Consolidated bookmarks module's "goto" functions into a new `goto_mark()`. --- modules/textadept/keys.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/textadept/keys.lua') 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} -- cgit v1.2.3