Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional command Home,End for terminal and F5 to refresh #31

Open
raiika opened this issue Jan 17, 2020 · 1 comment
Open

Additional command Home,End for terminal and F5 to refresh #31

raiika opened this issue Jan 17, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@raiika
Copy link

raiika commented Jan 17, 2020

{
  "title": "My Custom",
  "rules": [
    {
      "description": "Home (Terminal)",
      "manipulators": [
        {
          "from": {
            "key_code": "home",
            "modifiers": {"optional": ["any"]}
          },
          "to": [{
              "key_code": "a",
              "modifiers": ["control"]
          }],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.apple\\.Terminal$",
                "^com\\.googlecode\\.iterm2$"
              ]
            }
          ],
          "type": "basic"
        }
      ]
    },
    {
      "description": "End (Terminal)",
      "manipulators": [
        {
          "from": {
            "key_code": "end",
            "modifiers": {"optional": ["any"]}
          },
          "to": [{
              "key_code": "e",
              "modifiers": ["control"]
          }],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.apple\\.Terminal$",
                "^com\\.googlecode\\.iterm2$"
              ]
            }
          ],
          "type": "basic"
        }
      ]
    },
    {
      "description": "F5",
      "manipulators": [
        {
          "from": {
            "key_code": "f5",
            "modifiers": {"optional": ["any"]}
          },
          "to": [{
              "key_code": "r",
              "modifiers": ["command"]
          }],
          "conditions": [
            {
              "type": "frontmost_application_unless",
              "bundle_identifiers": [
              ]
            }
          ],
          "type": "basic"
        }
      ]
    }
  ]
}

Just want to add something maybe good for you guys (or even implemented in here too)

Home and End for Terminal (go to beginning of line and last of line)
F5 for refresh (command+r)

@Geczy
Copy link

Geczy commented Apr 17, 2020

can you open a PR

@rux616 rux616 added the enhancement New feature or request label Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants