Skip to content

Instantly share code, notes, and snippets.

@jjhidalgar
Last active January 14, 2022 14:51
Show Gist options
  • Select an option

  • Save jjhidalgar/578c2fc5788838b414b5ce1dca16bf1c to your computer and use it in GitHub Desktop.

Select an option

Save jjhidalgar/578c2fc5788838b414b5ce1dca16bf1c to your computer and use it in GitHub Desktop.

Revisions

  1. jjhidalgar revised this gist Jan 14, 2022. 1 changed file with 9 additions and 19 deletions.
    28 changes: 9 additions & 19 deletions surfingkeys.config
    Original file line number Diff line number Diff line change
    @@ -1,15 +1,15 @@
    // Jaimehrubiks

    map('?', 'u');
    map('u', 'e');
    map('J', 'E');
    map('K', 'R');
    map('F', 'gf');
    map('H', 'S');
    map('L', 'D');
    api.map('?', 'u');
    api.map('u', 'e');
    api.map('J', 'E');
    api.map('K', 'R');
    api.map('F', 'gf');
    api.map('H', 'S');
    api.map('L', 'D');

    Hints.characters = "asdfgqwerhluiop";
    Hints.scrollKeys = "jk"
    api.Hints.characters = "asdfgqwerhluiop";
    api.Hints.scrollKeys = "jk"

    settings.tabsThreshold = 0;
    settings.newTabPosition = "default";
    @@ -20,13 +20,3 @@ settings.nextLinkRegex = /((>>|next|siguiente)+)/i
    settings.prevLinkRegex = /((<<|anterior|prev(ious)?)+)/i

    settings.modeAfterYank = "Normal";


    // unmap('<Ctrl-i>');
    /*
    mapkey('F', 'Open a link in new window', function() {
    Hints.create("a:visible", function(link, event) {
    window.open(link.getAttribute('href'));
    })
    });
    */
  2. jjhidalgar revised this gist Oct 22, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions surfingkeys.config
    Original file line number Diff line number Diff line change
    @@ -19,6 +19,7 @@ settings.historyMRUOrder = false;
    settings.nextLinkRegex = /((>>|next|siguiente)+)/i
    settings.prevLinkRegex = /((<<|anterior|prev(ious)?)+)/i

    settings.modeAfterYank = "Normal";


    // unmap('<Ctrl-i>');
  3. jjhidalgar revised this gist Oct 13, 2017. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions surfingkeys.config
    Original file line number Diff line number Diff line change
    @@ -12,8 +12,7 @@ Hints.characters = "asdfgqwerhluiop";
    Hints.scrollKeys = "jk"

    settings.tabsThreshold = 0;
    // settings.newTabPosition = "right";
    settings.newTabPosition = "chromelike"; // Only for jaimehrubiks SurfingKeys build
    settings.newTabPosition = "default";
    settings.tabsMRUOrder = false;
    settings.historyMRUOrder = false;

  4. jjhidalgar revised this gist Aug 26, 2017. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion surfingkeys.config
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,8 @@ Hints.characters = "asdfgqwerhluiop";
    Hints.scrollKeys = "jk"

    settings.tabsThreshold = 0;
    settings.newTabPosition = "right";
    // settings.newTabPosition = "right";
    settings.newTabPosition = "chromelike"; // Only for jaimehrubiks SurfingKeys build
    settings.tabsMRUOrder = false;
    settings.historyMRUOrder = false;

  5. jjhidalgar renamed this gist Aug 25, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  6. jjhidalgar created this gist Aug 25, 2017.
    31 changes: 31 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,31 @@
    // Jaimehrubiks

    map('?', 'u');
    map('u', 'e');
    map('J', 'E');
    map('K', 'R');
    map('F', 'gf');
    map('H', 'S');
    map('L', 'D');

    Hints.characters = "asdfgqwerhluiop";
    Hints.scrollKeys = "jk"

    settings.tabsThreshold = 0;
    settings.newTabPosition = "right";
    settings.tabsMRUOrder = false;
    settings.historyMRUOrder = false;

    settings.nextLinkRegex = /((>>|next|siguiente)+)/i
    settings.prevLinkRegex = /((<<|anterior|prev(ious)?)+)/i



    // unmap('<Ctrl-i>');
    /*
    mapkey('F', 'Open a link in new window', function() {
    Hints.create("a:visible", function(link, event) {
    window.open(link.getAttribute('href'));
    })
    });
    */