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

Auto completion with tab doesn't work? #423

Closed
rightx2 opened this issue Jun 6, 2021 · 1 comment
Closed

Auto completion with tab doesn't work? #423

rightx2 opened this issue Jun 6, 2021 · 1 comment

Comments

@rightx2
Copy link

rightx2 commented Jun 6, 2021

Priority:
  ☐ type c, press tab key — it’ll become @critical
  ☐ type h, press tab key — it’ll become @high
  ☐ type l, press tab key — it’ll become @low
  ☐ type t, press tab key — it’ll become @today

It said tab key with some alphabet but in my case, tab just works as a tab (indent)

What I've tried: change shortcut of below tab --> ctrl+space

  { "keys": ["ctrl+space"], "command": "plain_task_insert_date", "context":
    [
      { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
      { "key": "selector", "operator": "equal", "operand": "text.todo" },
      { "key": "preceding_text", "operator": "regex_contains", "operand": "(@started|@toggle|@created)(?!\\([\\d\\w,\\.:\\-\/ @]*\\))", "match_all": true }
    ]
  },
  { "keys": ["ctrl+space"], "command": "plain_tasks_replace_short_date", "context":
    [
      { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
      { "key": "selector", "operator": "equal", "operand": "text.todo" },
      { "key": "preceding_text", "operator": "regex_contains", "operand": "@due\\([^\\)]+(?!.*?\\))", "match_all": true },
      { "key": "following_text", "operator": "regex_contains", "operand": "[ \t]*\\)", "match_all": true }
    ]
  },
  { "keys": ["ctrl+space"], "command": "plain_tasks_re_calculate_time_for_tasks", "context":
    [
      { "key": "selector", "operator": "equal", "operand": "text.todo meta.tag.todo.completed, text.todo meta.tag.todo.cancelled" }
    ]
  }

What should I do?

@vovkkk
Copy link
Collaborator

vovkkk commented Oct 30, 2021

It is not clear if it works for you with ctrl+space or not.
I would assume that it does and the problem only with tab key, I also assume that you are using ST4, and so I close it as dup of #420
Feel free to clarify the issue if it needs be reopen.

@vovkkk vovkkk closed this as completed Oct 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants