vscode-emacs-friendly icon indicating copy to clipboard operation
vscode-emacs-friendly copied to clipboard

Pressing `ctrl+s` while search box is open does not highlight search box

Open bbarker opened this issue 7 years ago • 3 comments

The normal emacs worfklow would be to press ctlr-s and type in the search phrase, but this will cause one to accidentally start typing in the editor instead. This isn't an issue if the search bar isn't open yet.

bbarker avatar Sep 15 '17 20:09 bbarker

Yep, this is quite annoying to me too, not quite sure yet how to focus the search box again though.

SebastianZaha avatar Oct 09 '17 15:10 SebastianZaha

Any word on this? It drives me crazy on a pretty regular basis.

adimarco avatar Feb 15 '18 18:02 adimarco

I think I've solved the issue documented here by using the mult-command module https://marketplace.visualstudio.com/items?itemName=ryuta46.multi-command .

user settings:

"multiCommand.commands": [
        {
            "command": "multiCommand.emacsFancySearch",
            "sequence": [
                "editor.action.nextMatchFindAction",
                "actions.find"
            ]
        }
    ]

key binding:

    {
        "key": "ctrl+s",
        "command": "multiCommand.emacsFancySearch",
        "when": "findWidgetVisible"
    }

kyleboyle avatar May 07 '18 12:05 kyleboyle