Keystroke mappings in WebMatrix

Most of the keystrokes you can use in WebMatrix are pretty familiar – Ctrl+C/Ctrl+V to copy/paste, of course, plus Ctrl+F4 to close a tabbed doc, plus F3 for search. But there are a few that are not as obvious. Here's a list of everything (AFAIK):

CloseTabControl+F4
CloseTabControl+W
CycleToNextTabControl+Tab
CycleToPreviousTabControl+Shift+Tab
TabDropDownMenuControl+Shift+T
CloseSiteControl+Shift+F4
LaunchSiteInBrowserF12
Workspace1Control+Shift+D1
Workspace2Control+Shift+D2
Workspace3Control+Shift+D3
Workspace4Control+Shift+D4
Workspace5Control+Shift+D5
WorkspaceNextControl+Shift+W
AddExistingFileControl+Alt+A
FindControl+F
GoToLineControl+G
NewFindNextControl+F3
NewFindPreviousControl+Shift+F3
NewFromTemplateControl+N
OpenControl+O
QuickFindNextF3
QuickFindPreviousShift+F3
ReplaceControl+H
SelectAllControl+A
CopyControl+C
CopyControl+Insert
CutControl+X
CutShift+Delete
PasteControl+V
PasteShift+Insert
RedoControl+Shift+Z
RedoControl+Y
SaveControl+S
SaveAllControl+Shift+S
UndoControl+Z
RefreshF5

A couple of notes:
  • As you can see, a number of tasks are mapped to multiple keystrokes.
  • D1-D5 refer to the digits 1-5 on the keyboard.
  • F5 to refresh is fine for those used to it with browsers, but is going to be a bit confusing for those used to F5 launching the debugger in Visual Studio. :-)
What's a little remarkable (to me, anyway) is that this is all from a simple text file, which you can find here:

C:\program files\Microsoft WebMatrix\config\hotkeys.txt

What's more, you can change this file. I don't know what the constraints are, but my experiments with making small changes (e.g., Control+Alt+A to Control+Alt+E) worked fine. (Note however that this is a protected file, so I had to launch Notepad as an admin user in order to be able to save changes.) If you want to play with this, please note:
  • Make a backup first!
  • This is an entirely unsupported activity, so you sure as heck didn't get the idea to do this from me.
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值