当前位置: 首页 > 工具软件 > Komodo Edit > 使用案例 >

Komodo Edit快捷键

冯驰
2023-12-01

本文列出了Komodo编辑器在Windows/Linux下所有默认的快捷键,也有一些在Mac OS X下也是可用的。在任何系统下,你都可以选择 Emacs 类型的快捷键。本文只是列出了所有默认的快捷键设置,你也可以在“Edit -- Preferences -- Editor -- Key Bindings” 中设置这些快捷键。要查看当前的快捷键设置,可以点击“Help -- List Key Bindings”。

代码浏览器

找到当前范围...
Ctrl+K, Ctrl+L

智能代码

查找符号
Ctrl+K, Ctrl+F

调试

清除所有断点
Ctrl+F9
禁用/启用断点
F9
New Session
Ctrl+Shift+F5
运行脚本
F7
Ctrl+F7
运行到光标处
Shift+F10
Ctrl+Shift+F10
显示当前语句
Alt+*
运行
F5
Ctrl+F5
开始/查找/隐藏 默认的shell
F12
Step In
F11
Ctrl+F11
Step Out
Shift+F11
Ctrl+Shift+F11
Step Over
F10
Ctrl+F10
Stop
Shift+F5

编辑器

Back
Shift+Backspace
Backspace
Backspace
返回行首
Home
取消自动完成
Escape
复制
Ctrl+C
Ctrl+Insert
剪切
Ctrl+X
Shift+Delete
Ctrl+Shift+X
删除
Delete
删除左侧单词
Ctrl+Backspace
删除右侧单词
Ctrl+Delete
返回行尾
End
跳到文档末尾
Ctrl+End
跳到单词结尾
Ctrl+E
跳转到指定行...
Ctrl+G
跳转到下一个书签
F2
跳转到下一行
Down
跳转到上一个书签
Shift+F2
跳转到上一行
Up
跳转到文档开始
Ctrl+Home
插入换行符
Return
插入换行符(配合当前行)
Ctrl+Shift+Return
插入换行符
Shift+Return
插入换行符(这几个稍有区别)
Ctrl+Return
Insert Next Key as Literal Character
Ctrl+M
连接两行
Ctrl+K, Ctrl+J
Move Back Part of Word
Alt+Right
Move Forward Part of Word
Alt+Left
左移一个字符
Left
右移一个字符
Right
左移一个单词
Ctrl+Left
右移一个单词
Ctrl+Right
下一页
Page_Down
上一页
Page_Up
粘贴
Ctrl+V
Shift+Insert
粘贴并选中
Ctrl+Shift+V
重做
Ctrl+Y
Reflow paragraph(s)
Ctrl+Q
删除所有书签
Ctrl+Shift+F2
重复下一个击键N次
Ctrl+K, Ctrl+U
向下滚动一行
Ctrl+Down
向上滚动一行
Ctrl+Up
全选
Ctrl+A
选中下一个字符
Shift+Right
Select Next Part of Word
Alt+Shift+Right
选中下一个单词
Ctrl+Shift+Right
选中下一页
Shift+Page_Down
选中上一页
Shift+Page_Up
选中前一个字符
Shift+Left
Select Previous Part of Word
Alt+Shift+Left
选中前一个单词
Ctrl+Shift+Left
选择到行的开始
Shift+Home
选中到前一个单词
Ctrl+Shift+W
选中到文档结尾
Ctrl+Shift+End
选中到行尾
Shift+End
选中到下一行
Shift+Down
选中到上一行
Shift+Up
选择到文档开始
Ctrl+Shift+Home
切换书签
Ctrl+F2
切换改写/插入模式
Insert
Transpose Current and Previous Characters
Ctrl+T
Trigger preceding autocomplete list or calltip
Ctrl+J
撤销
Ctrl+Z
缩小字体
Ctrl+Shift+-
增大字体
Ctrl+Shift+=
Ctrl+Shift++

查找

查找下一个
F3
Find Next Result
Ctrl+Shift+F3
Find Next Selected
Ctrl+F3
Find Previous
Shift+F3
文件中查找...
Ctrl+Shift+F
查找...
Ctrl+F
渐进式搜索
Ctrl+I
向后增量搜索
Ctrl+Shift+I
替换..
Ctrl+H

通用

关闭窗口
Ctrl+W
Ctrl+F4
Edit Properties
Alt+Return
Least Recently Viewed File
Ctrl+Shift+F6
Most Recently Viewed File
Ctrl+F6
新建文件(default type)
Ctrl+Shift+N
新建文件...
Ctrl+N
下一个文件
Ctrl+Page_Down
打开文件...
Ctrl+O
打开项目...
Ctrl+Shift+J
上一个文件
Ctrl+Page_Up
Refresh Status
Ctrl+K, R
保存
Ctrl+S
保存所有
Ctrl+Shift+S

帮助

Alternate Help on Selection
Ctrl+F1
Help...
F1
Language-Specific Help on Selection
Shift+F1

End Recording
Ctrl+K, )
Execute Last Macro
Ctrl+K, _
Start/Resume Recording
Ctrl+K, (

Source Code

Comment Region
Ctrl+3
Complete Word
Ctrl+Space
Complete Word (backwards)
Ctrl+Shift+Space
Convert Selection to Lower Case
Ctrl+Shift+U
Convert Selection to Upper Case
Ctrl+U
Find All Functions
Ctrl+F8
Find Next Function
F8
Find Previous Function
Shift+F8
Jump to Matching Brace
Ctrl+]
Select Block
Ctrl+B
Select to Matching Brace
Ctrl+Shift+]
Un-comment Region
Ctrl+Shift+3

Source Control

Add File
Ctrl+K, A
Add Folder
Ctrl+K, Shift+A
Commit Changes
Ctrl+K, C
Commit Changes in Folder
Ctrl+K, Shift+C
Compare
Ctrl+K, D
Compare Files in Folder
Ctrl+K, Shift+D
Edit
Ctrl+K, E
Remove File
Ctrl+K, O
Revert Changes
Ctrl+K, V
Revert Changes in Folder
Ctrl+K, Shift+V
Update
Ctrl+K, U
Update Folder
Ctrl+K, Shift+U

Tools

Run Command...
Ctrl+R

User Interface

Browser Preview
Ctrl+K, Ctrl+V
Focus on Editor
Ctrl+Shift+E
Show/Hide Code Browser Tab
Ctrl+Shift+C
Show/Hide End of Lines
Ctrl+Shift+7
Show/Hide Output Pane
Ctrl+Shift+O
Show/Hide Projects Sidebar
Ctrl+Shift+P
Show/Hide Toolbar Button Text
Ctrl+Shift+B
Show/Hide Toolbox Sidebar
Ctrl+Shift+T
Show/Hide Whitespace
Ctrl+Shift+8
View Source
Ctrl+K, Ctrl+S
View/Hide Indentation Guides
Ctrl+Shift+5
View/Hide Line Numbers
Ctrl+Shift+4
Word-wrap long lines
Ctrl+Shift+9

Snippets

<b> Bold
Ctrl+K, Ctrl+H, B
<i> Italic
Ctrl+K, Ctrl+H, I
<u> Underline
Ctrl+K, Ctrl+H, U
<br/> Break Line
Ctrl+K, Ctrl+H, Return
<h1> Header 1
Ctrl+K, Ctrl+H, 1
<h2> Header 2
Ctrl+K, Ctrl+H, 2
<h3> Header 3
Ctrl+K, Ctrl+H, 3
<h4> Header 4
Ctrl+K, Ctrl+H, 4
<h5> Header 5
Ctrl+K, Ctrl+H, 5
<h6> Header 6
Ctrl+K, Ctrl+H, 6
<li> List Item
Ctrl+K, Ctrl+H, L
<ol> Ordered List
Ctrl+K, Ctrl+H, Ctrl+O
<ul> Unordered List
Ctrl+K, Ctrl+H, Ctrl+U
<p> Paragraph w/Dialog
Ctrl+K, Ctrl+H, Ctrl+P
<p> Paragraph
Ctrl+K, Ctrl+H, P
<table> Table 1 row 1 col
Ctrl+K, Ctrl+H, Ctrl+T
<tr> Table Row
Ctrl+K, Ctrl+H, R
<td> Table Cell
Ctrl+K, Ctrl+H, D
<pre> Preformated Text
Ctrl+K, Ctrl+H, T
<A> URI Link w/Dialog
Ctrl+K, Ctrl+H, Ctrl+A
<A> URI Link
Ctrl+K, Ctrl+H, A
<form> Form w/Dialog
Ctrl+K, Ctrl+H, Ctrl+F
<input/> Form Input w/Dialog
Ctrl+K, Ctrl+H, Ctrl+I
<select> Form Select w/Dialog
Ctrl+K, Ctrl+H, Ctrl+S
<option> Form Option w/Dialog
Ctrl+K, Ctrl+H, O
<textarea> Form Text Area w/Dialog
Ctrl+K, Ctrl+H, Ctrl+Q

转载于:https://my.oschina.net/Qm3KQvXRq/blog/189617

 类似资料: