Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • mct mct
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Protesilaos Stavrou
  • mctmct
  • Issues
  • #8
Closed
Open
Issue created Nov 13, 2021 by jao@jaorContributor

suggestion: complete first and go

Hi again!

I'm finding myself using all the time this little command (which i bind to C-RET in mct-minibuffer-local-completion-map):

      (defun jao-mct-complete-and-go ()
        "Complete current input, as with `M-e', and accept the candidate."
        (interactive)
        (mct-edit-completion)
        (exit-minibuffer))

In my usage at least, it happens all the time that i narrow to put the first candidate first very quickly, and that comes in handy. Admittedly, there's just a single keystroke from the functionally equivalent C-n RET sequence, but for some reason a single action feels much better in my case. So maybe it's just me, but maybe other people would like to see it there (or mentioned in an issue when they google).

Cheers, jao

Come to think of it, there are already a million monkeys on a million typewriters, and Usenet is NOTHING like Shakespeare. - Blair Houghton.

Assignee
Assign to
Time tracking