microsoft / microsoft/sql-server-samples
(MORE USEFUL THAN AI) SSMS Keyboard Mappings -- EMACS is best --- OR At least SAVE the Keyboard Mappings
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 11.2k
- Forks
- 9.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 14
Description
SSMS editor is very hard to navigate. Can we SAVE the users Keyboard mappings for editing?
OR, just create simple EMACS mappings
Emacs Key | Behavior | SSMS Command Name | Practical Binding
-------------+---------------------------+--------------------------------+-------------------
C-a | Beginning of line | Edit.LineStart | Ctrl+A
C-e | End of line (Emacs style) | Edit.EmacsLineEnd | Ctrl+W (since Ctrl+E is blocked)
C-k | Kill to end of line | Edit.BriefLineDeleteToEnd | Ctrl+K
C-s | Search forward (prompt) | Edit.Find | Ctrl+S (F3 to search using previous search)
C-r | Search backward | Edit.FindPrevious | Ctrl+R
C-/ | Undo | Edit.Undo | Ctrl+/
C-? | Redo | Edit.Redo | Ctrl+Shift+/
C-n | Next line | Edit.EmacsLineDown | Ctrl+N
C-p | Previous line | Edit.EmacsLineUp | Ctrl+P
C-f | Forward char | Edit.CharRight | Ctrl+F
C-b | Backward char | Edit.CharLeft | Ctrl+B (after unbinding Bookmark)
OR load / store them in Registry
[HKEY_CURRENT_USER\Software\Microsoft\SQL Server Management Studio\21.0_IsoShell\Keyboard]
"Edit.LineStart"="Ctrl+A"
"Edit.EmacsLineEnd"="Ctrl+W" --- Ctrl-E would be better but that can't be used even with Keyboard Mappings
"Edit.BriefLineDeleteToEnd"="Ctrl+K"
"Edit.Find"="Ctrl+S"
"Edit.FindPrevious"="Ctrl+R"
"Edit.Undo"="Ctrl+/"
"Edit.Redo"="Ctrl+Shift+/"
"Edit.EmacsLineDown"="Ctrl+N"
"Edit.EmacsLineUp"="Ctrl+P"
"Edit.CharRight"="Ctrl+F"
"Edit.CharLeft"="Ctrl+B"
PLEASE.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the requested SSMS keyboard mappings and the registry path shown in the issue. Research whether SSMS supports exporting, importing, or persisting editor mappings and whether the listed Emacs bindings are available. Done means one clearly selected approach is implemented or documented with the requested mappings retained across sessions.
Written by the indexing model from the issue text.
Assessment
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100