zyedidia / micro

A modern and intuitive terminal-based text editor
https://micro-editor.github.io
MIT License
24.4k stars 1.16k forks source link

No keyboard shortcut to close tab #3367

Closed wojcraft closed 3 days ago

wojcraft commented 3 days ago

Description of the problem or steps to reproduce

I checked all the keybindings and I didn't find a possibility to close a tab by a keybind and every other way. Could you provide a solution to this problem??

All the best, Wojcraft

Specifications

Commit hash: 68d88b57 OS: WSL2 Ubuntu Terminal: Windows terminal

niten94 commented 3 days ago

The current pane or tab that is open can be closed when pressing Ctrl+Q or F4. The keys are binded to Quit action by default. There is a summary of default key bindings that can be viewed when pressing Ctrl+E then entering help defaultkeys in micro, or in GitHub: https://github.com/zyedidia/micro/blob/master/runtime/help/defaultkeys.md

There is a pull request where how files can be closed is written in the tutorial: #3315

wojcraft commented 3 days ago

Oh, ok. After your response I checked that and when having a multiple tabs I can close one with Ctrl-Q. Thank you for help!