mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 22:07:59 +01:00
fix typo - using quickmark value from 'activate' rather than tabopen for
:tabopen
This commit is contained in:
@@ -1006,7 +1006,7 @@ function Commands() //{{{
|
||||
function(args, special)
|
||||
{
|
||||
var where = special ? vimperator.NEW_TAB : vimperator.NEW_BACKGROUND_TAB;
|
||||
if (vimperator.options["activate"].search(/\bquickmark\b/) > -1)
|
||||
if (/\btabopen\b/.test(vimperator.options["activate"]))
|
||||
where = special ? vimperator.NEW_BACKGROUND_TAB : vimperator.NEW_TAB;
|
||||
|
||||
if (args.length > 0)
|
||||
|
||||
@@ -378,7 +378,7 @@ function Mappings() //{{{
|
||||
function(mark)
|
||||
{
|
||||
vimperator.quickmarks.jumpTo(mark,
|
||||
vimperator.options["activate"].search(/\bquickmark\b/) > -1 ?
|
||||
/\bquickmark\b/.test(vimperator.options["activate"]) ?
|
||||
vimperator.NEW_TAB : vimperator.NEW_BACKGROUND_TAB);
|
||||
},
|
||||
{
|
||||
@@ -394,7 +394,7 @@ function Mappings() //{{{
|
||||
function()
|
||||
{
|
||||
vimperator.open(readFromClipboard(),
|
||||
vimperator.options["activate"].search(/\bpaste\b/) > -1 ?
|
||||
/\bpaste\b/.test(vimperator.options["activate"]) ?
|
||||
vimperator.NEW_BACKGROUND_TAB : vimperator.NEW_TAB);
|
||||
},
|
||||
{
|
||||
@@ -489,7 +489,7 @@ function Mappings() //{{{
|
||||
function()
|
||||
{
|
||||
vimperator.open(readFromClipboard(),
|
||||
vimperator.options["activate"].search(/\bpaste\b/) > -1 ?
|
||||
/\bpaste\b/.test(vimperator.options["activate"]) ?
|
||||
vimperator.NEW_TAB : vimperator.NEW_BACKGROUND_TAB);
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user