zoukankan      html  css  js  c++  java
  • [转]Delphi 快捷键 让你更像高手!!

    新一篇: IDFTP 控件使用

    >>代码模板 : CTRL+J 
    >>代码整块移动 : CTRL+SHIFT+I(右移) CTRL+SHIFT+U(左移)
    >>选中窗体 : 先选中任一控件,SHIFT+鼠标左键
    >>将鼠标指向变量名、单元名、类名,再用 CTRL+鼠标左键 可找到相应的说明
    >>在过程、函数、事件内部, SHIFT+CTRL+向上的方向键  可跳跃到相应的过程、函数、事件的定义

        相反,在过程、函数、事件的定义处,SHIFT+CTRL+向下的方向键 可跳跃到具体过程、函数、事件内部

    >>CTRL+ SHIFT + C:编写申明或者补上函数.
      如:
      procedure TT.A(AA: string);  //函数申明
      安下:CTRL+ SHIFT + C后,会写上
      procedure TT.A(AA: string);
      begin
      end;

    >>SHIFT+CTRL+E 显示 EXPLORER ,我觉的这个比较好

    >>用crtl+d就可以做到代码排列,比这个要方便多了,当然里面还有其它的功能
     这里添加
     shift +f12 快速查找窗体并打开
     f11 属性
     f9运行
     crtl+f9 编译

    >>crtl + shift + n (n=1,2,3,4......)
    定义书签
    crtl + n (n=1,2,3,4......)
    跳到书签n  

    >>

    下面的快捷键大部分在Delphi 5.0的菜单中找不到,其中有一些还是非常有用的。

    Ctrl+PageUp      将光标移至本屏的第一行,屏幕不滚动。
    Ctrl+PageDown    将光标移至本屏的最后一行,屏幕不滚动。
    Ctrl+↓          向下滚动屏幕,光标跟随滚动不出本屏。
    Ctrl+↑          向上滚动屏幕,光标跟随滚动不出本屏。
    Ctrl+Shift+NUM   在光标行设置最多九个临时标志号,对临时切换非常有用。
        行的左边将出现一本书,封面有NUM,再按一次取消设置。  
    Ctrl+NUM         直接将光标跳到NUM处,NUM是用Ctrl+Shift+NUM设置的标号。
        NUM不能用小键盘。
    Ctrl+Home        将光标移至文件头。
    Ctrl+End         将光标移至文件尾。
    Ctrl+B           Buffer List窗口。
    Ctrl+I           同Tab键。
    Ctrl+M           同Enter键。
    Ctrl+N           同Enter键,但光标位置保持不变。
    Ctrl+T           删除光标右边的一个单词。
    Ctrl+Y           删除光标所在行。

    Ctrl+Shift+↑    光标在函数体内时,将光标快速移至当前函数声明处。
    Ctrl+Shift+↓    光标在函数声明行时,将光标快速移至函数定义处。
    Ctrl+Shift+C     声明一个过程或函数后,直接生成过程或函数的名称、begin、end;
    Ctrl+Shift+E     光标在Edit窗口和Explorer窗口间切换。
    Ctrl+Shift+G     插入GUID。
    Ctrl+Shift+J     弹出Delphi语句提示窗口,选择所需语句将自动完成一条语句。
    Ctrl+Shift+T     在光标行加入To-Do注释。
    Ctrl+Shift+Y     删除光标之后至本行末尾之间的文本。

    Ctrl+F3          Call Stack窗口。
    Ctrl+F4          等于File菜单中的Close项。

    Ctrl+鼠标转轮    加速滚屏。

    Shift+F8         调试时弹出CPU窗口。
    Shift+F10        等于鼠标右键(Windows快捷键)。

    Alt+F4           关闭所有编辑框中打开的源程序文件,但不关闭项目。
    CTRL+C 复制 
    CTRL+V 粘贴 
    CTRL+X 剪切 
    CTRL+Z 还原(Undo) 
    CTRL+S 保存
    CTRL+ENTER 定位到单元文件
    Shitf+箭头 选择 
    如果同时按住Alt +Shitf+箭头, 再进行选择, 则是一种区域选择, 而不是行选择, 粘贴的
    时候也就是插入粘贴了. 
    F9 运行 
    CTRL+ F9编译
    F8 STEP OVER (步进式调试不进入子过程)
    F7 TRACE INTO (步进式调试同时追踪进入子过程)
    F11,F12 切换EDITOR,INSPECTOR,FORM DESIGNER. 
    CTRL+ALT+F11 弹出工程管理器 
    CTRL+F弹出查找对话框
    CTRL+R弹出替换对话框
    CTRL+ Shitf+C 类过程代码补全(只要在定义部分定义一过程或一函数头则自动帮你生成
    实现部分的套架;反之也成)
    象这些都是菜单中有的快捷方式, 其它的您可以自己去找, 就不无聊了, 下面是一些不是
    很容易找到 (或者比较容易忘记的快捷操作) 但很有用的快捷操作: 
    PB的SHITF+TAB好象很酷, 其实DELPHI也有. 
    另外就是在PB中, 如果你对选择的代码使用TAB键, 就是所有的选择向后跳格, 但是DELPHI
    中怎样跳格呢? 其实也是有办法的, 就是CTRL+K,I向后, CTRL+K,U向前. 
    如果你是在接口函数的实现部分, 那么 CTRL+SHIFT+上箭头 就可以到声明部分. 同样再
    CTRL+SHIFT+下箭头 又回到实现部分
    是不是觉得DELPHI好象没有标签功能, CTRL+SHIFT+数字 定义标签(当然因为数据键只有10
    个, 所以您也只能定义从0~9的10个标签), CTRL+数字 就是定位到相应的标签的位置. 
    有时候反复输入什么东西是不是很繁? CTRL+SHIFT+R录制键盘宏, 比如我经常做的就是: 
    下箭头-下箭头-HOME-回车-CTRL+V, 再键入一次CTRL+SHIFT+R录制完成, 之后您可以使用
    CTRL+SHIFT+P, 重复宏,还是省了一些事的. 
    另外在DELIPHI中有一个很有用的快键极其有用
    这就是CTRL+J;列如:在一过程中你输入ifb后再按CTRL+J你回去看看效果吧,可能你会大
    吃一惊。这就是Code Insight.
    另外还有一些快捷都是很少用到的, 我一时也想不起来, 您要是有兴趣就在帮助索引中输
    入 "Classic keystroke mapping", 自己查看吧. 

    >>

    取消书签: 在书签N处,再按一次 SHIFT + CTRL + N

    >>

    Ctrl+space 代码补全  


     

    ctrl+r  

    [blue][b]在Inspector,[/b][/blue]可以用Ctrl+Tab切换Properties页和Events页
    Ctrl+Enter可进入相应的设置,如在Preperties页的Font按Ctrl+Enter
    在Events中按Ctrl+Enter可进入相应代码编辑  

    .

    从Delphi爱好者网站载的一篇文章


    Delphi之快速设计(界面设计篇)
    西安      梁  明

    --------------------------------------------------------------------------------

    众所周知,Delphi已经是RAD之中的RAD了,但本人的目的是更加充分地挖掘出Delphi的优秀品质,哎,人的胃口呀......
    本人打算从两个方面来谈论这个话题:界面设计及程序设计.
    本文介绍界面的快速设计:
    如果你的手在键盘上,我想你不太会愿意再去伸手拿鼠标来移动组件吧,再说鼠标也不太精确(下面提到的均针对键盘操作,能用鼠标操作完成的不在此列),那好,以下快捷键及一些技巧请各位看官"收好".

    一、以下快捷键指的是对窗体表格上组件的操作:
    ●快捷键1:
    【Ctrl+UP】~向上移动当前组件(精确);
    【Ctrl+Left】~向左移动当前组件(精确);
    【Ctrl+Down】~向下移动当前组件(精确);
    【Ctrl+Right】~向右移动当前组件(精确);
    注:
    以上快接键中再加Shift进行组合(比如【Ctrl+Shift+Right】)即可实现粗略调整;
    ●快捷键2:
    【Shift+UP】~减小当前组件的高度;
    【Shift+Left】~减小当前组件的宽度;
    【Shift+Down】~增加当前组件的高度;
    【Shift+Right】~增加当前组件的宽度;
    注:
    以上Up,Left等指的是方向键;


    二、以下快捷键指的是在对象观察器上的操作:
    ●快捷键3:
    【F11】~切换到对象观察器(注:如果连续按F11则将实现在对象观察器、窗体表格、代码编辑器之间切换);
    【Ctrl+Down】~下拉当前窗体的组件列表;
    【Ctrl+Enter】~编辑带...的属性值(如组件的字体TFont);
    【Alt+Down】~下拉组件当前属性选单队列(如Align->alNone,alLeft,alRight等);
    【Ctrl+Tab】~在属性列表及事件列表中切换;


    三、菜单快捷键:
    ●快捷键4:
    【F12】,【Shift+F12】,【Ctrl+F12】等在Delphi的菜单中已有定义的在此不必罗嗦.

    技巧:
    如何选择被组件覆盖了的窗体(比如某组件的Align属性为alClient)?
    方法一、按ESC键,一层一层的往后选,直到窗体被选为当前组件为止;
    方法二、按Shift的同时单击鼠标左键,一步即可选定(推荐);
    方法三、按F11选定对象观察器,然后切换到属性列表,再用上面快捷键3中的【Ctrl+Down】.


    版主:梁明
    日期:1999-03-01
    E-mail:delphifan@990.net
     

    Ctrl + O + U     将选中的代码的大小写颠倒

    1.SHIFT+鼠标左键   先选中任一控,按键后可选中窗体
     2.Shift+F8         调试时弹出CPU窗口。
     3.Shift+F10        等于鼠标右键(Windows快捷键)。
     4.Shitf+箭头       选择 
     5.shift +F12       快速查找窗体并打开
     6.F7              (步进式调试同时追踪进入子过程)
     7.F8              (步进式调试不进入子过程)
     8.F9               运行
     9.F12              切换EDITOR,FORM 
     10.Alt+F4          关闭所有编辑框中打开的源程序文件,但不关闭项目。
     11.ALT+鼠标左键    可以块选代码,删除对齐的重复代码非常有用。
     12.Ctrl+F9         编译
     13.Ctrl+shift+N(n=1,2,3,4......)  定义书签
     14.Ctrl+n(n=1,2,3,4......)跳到书签n
     15.CTRL +SHIFT+N    在书签N处,再按一次 取消书签:
     16.Ctrl+PageUp      将光标移至本屏的第一行,屏幕不滚动。
     17.Ctrl+PageDown    将光标移至本屏的最后一行,屏幕不滚动。
     18.Ctrl+↓          向下滚动屏幕,光标跟随滚动不出本屏。
     19.Ctrl+↑          向上滚动屏幕,光标跟随滚动不出本屏。
     20.Ctrl+Home        将光标移至文件头。
     21.Ctrl+End         将光标移至文件尾。
     22.Ctrl+B           Buffer List窗口。
     23.Ctrl+I           同Tab键。
     24.CTRL+J (弹出Delphi语句提示窗口,选择所需语句将自动完成一条语句。)代码模板 
     25.Ctrl+M           同Enter键。
     26.Ctrl+N           同Enter键,但光标位置保持不变。
     27.Ctrl+T           删除光标右边的一个单词。
     28.Ctrl+Y           删除光标所在行。
     29.CTRL+C 复制 
     30.CTRL+V 粘贴 
     31.CTRL+X 剪切 
     32.CTRL+Z 还原(Undo) 
     33.CTRL+S 保存
     34.Ctrl+F 查找
     35.Ctrl+L 继续查找
     36.Ctrl+r  替换
     37.CTRL+ENTER       定位到单元文件
     38.Ctrl+F3          Call Stack窗口。
     39.Ctrl+F4          等于File菜单中的Close项。
     40.Ctrl+Backspace   后退删除一个词。好像是到 . 为止。
     41.Ctrl+鼠标转轮    加速滚屏。
     42.Ctrl+O+U         将选中的整块代码都转为小写或大写
     41.Ctrl+Shift+G     插入GUID。
     42.Ctrl+Shift+T     在光标行加入To-Do注释。
     43.Ctrl+Shift+Y     删除光标之后至本行末尾之间的文本。
     44.CTRL+SHIFT+C     编写申明或者补上函数.
     45.CTRL+SHIFT+E     显示 EXPLORER ,我觉的这个比较好
     46.CTRL+SHIFT+U     代码整块移动(左移)
     47.CTRL+SHIFT+I     代码整块移动(右移)
     48.CTRL+SHIFT+↑    在过程、函数、事件内部, 可跳跃到相应的过程、函数、事件的定义
     49.CTRL+SHIFT+↓    在过程、函数、事件的定义处, 可跳跃到具体过程、函数、事件内部
     50.Ctrl+Alt+c  注释块
     51.Ctrl+Alt+u  取消注释块
     52.Ctrl+Alt+h  生成头(更详细的设置在GExperts配置的Editor Experts属性页)
       


     

    呵呵,完全正式版出笼啦。
    欢迎大家批评指正。
    Enjoy:-)
                          From doxpix
                           2002.1.4

    ___________________________________________________________________________________________
    DELPHI中的快捷方式一览(完全正式版)

       ::::Created By RedBaby 2002.1.3::::
       ::::Modified By doxpix 2001.1.4::::
       ::::CopyRight DFW 2002::::


     1.SHIFT+鼠标左键    先选中任一控件,按键后可选中窗体(选中控件后按Esc效果一样)
     2.Shift+F8          调试时弹出CPU窗口。
     3.Shift+F10         等于鼠标右键(Windows快捷键)。
     4.Shitf+箭头        选择
     5.shift +F12        快速查找窗体并打开
     6.F7               (步进式调试同时追踪进入子过程)
     7.F8               (步进式调试不进入子过程)
     8.F9                运行
     9.F12               切换EDITOR,FORM
     10.Alt+F4           关闭所有编辑框中打开的源程序文件,但不关闭项目
     11.ALT+鼠标左键      可以块选代码,用来删除对齐的重复代码非常有用
     12.Ctrl+F9          编译
     13.Ctrl+shift+N(n=1,2,3,4......)  定义书签
     14.Ctrl+n(n=1,2,3,4......)跳到书签n
     15.CTRL +SHIFT+N    在书签N处,再按一次 取消书签
     16.Ctrl+PageUp      将光标移至本屏的第一行,屏幕不滚动
     17.Ctrl+PageDown    将光标移至本屏的最后一行,屏幕不滚动
     18.Ctrl+↓          向下滚动屏幕,光标跟随滚动不出本屏
     19.Ctrl+↑          向上滚动屏幕,光标跟随滚动不出本屏
     20.Ctrl+Home        将光标移至文件头
     21.Ctrl+End         将光标移至文件尾
     22.Ctrl+B           Buffer List窗口
     23.Ctrl+I           同Tab键
     24.CTRL+J           (弹出Delphi语句提示窗口,选择所需语句将自动完成一条语句)代码模板
     25.Ctrl+M           同Enter键。
     26.Ctrl+N           同Enter键,但光标位置保持不变
     27.Ctrl+T           删除光标右边的一个单词
     28.Ctrl+Y           删除光标所在行
     29.CTRL+C           复制
     30.CTRL+V           粘贴
     31.CTRL+X           剪切
     32.CTRL+Z           还原(Undo)
     33.CTRL+S           保存
     34.Ctrl+F           查找
     35.Ctrl+L           继续查找
     36.Ctrl+r           替换
     37.CTRL+ENTER       定位到单元文件
     38.Ctrl+F3          弹出Call Stack窗口
     39.Ctrl+F4          等于File菜单中的Close项
     40.Ctrl+Backspace   后退删除一个词,直到遇到一个分割符
     41.Ctrl+鼠标转轮    加速滚屏
     42.Ctrl+O+U         切换选择块的大小写(注意松开O后再按U,Ctrl保持按下)
     43.Ctrl+K+O         切换选择块为小写(注意松开K后再按O,Ctrl保持按下)
     44.Ctrl+K+N         切换选择块为大写(注意松开K后再按N,Ctrl保持按下)
     45.Ctrl+Shift+G     插入GUID
     46.Ctrl+Shift+T     在光标行加入To-Do注释
     47.Ctrl+Shift+Y     删除光标之后至本行末尾之间的文本
     48.CTRL+SHIFT+C     编写申明或者补上函数,绝好!!!
     49.CTRL+SHIFT+E     显示EXPLORER
     50.Ctrl+Tab         在Inspector中切换Properties页和Events页
     51.CTRL+SHIFT+U     代码整块左移2个空格位置
     52.CTRL+SHIFT+I     代码整块右移2个空格位置
     53.CTRL+SHIFT+↑    在过程、函数、事件内部, 可跳跃到相应的过程、函数、事
                         件的定义(在interface和implementation之间来回切换)
     54.CTRL+SHIFT+↓    在过程、函数、事件的定义处, 可跳跃到具体过程、函数、事件内部(同上)
     55.Tab              在object inspector窗口按tab键将光标移动到属性名区,然后键入属性名的开头
                         字母可快速定位到该属性
     56.Ctrl+Alt         按着Ctrl+Alt之后,可用鼠标选择一个矩形块中的代码,
                         并可比它进行复制,粘贴
     57.Shift+↓、↑、→、← 以1像素单位更改所选控件大小
     58.Ctrl+↓、↑、→、←以1像素单位更改所选控件位置
     59.Ctrl+E           快速选择(呵呵,试试吧,很好玩的)                                                            
    ---------GExperts中---------
     60.Ctrl+Alt+c       注释块
     61.Ctrl+Alt+u       取消注释块
     62.Ctrl+Alt+h       生成头(更详细的设置在GExperts配置的Editor Experts属性页)
     63.Ctrl+Alt+o       选择对应分隔符之间的语句
     64.Ctrl+Alt+v       在对应的分隔符之间来回跳转(与已有快捷键有冲突,请更改)
    ---------GExperts中---------
    ___________________________________________________________________________________________  


     

    还没结束啊!
    不用这么麻烦,DELPHI的HELP中把所有的快捷键都列出来了。
    而且各种配置的快捷键并不是完全一致的!
    在Help中查找keyboard shortcuts就可以了,列一部份如下:
    These editor keyboard shortcuts apply to the [red][b]Default[/b][/red] keystroke mapping scheme.

    Shortcut  Action or command

    F1  Help|Topic Search
    Ctrl+F1  Help|Topic Search
    F3  Search|Search Again

    Ctrl+E  Search|Incremental Search
    Ctrl+F  Search|Find
    Ctrl+I  Inserts a tab character
    Ctrl+j  Templates pop-up menu
    Ctrl+N  Inserts a new line
    Ctrl+P  Causes next character to be interpreted as an ASCII sequence
    Ctrl+R  Search|Replace
    Ctrl+S  File|Save
    Ctrl+T  Deletes a word

    Ctrl+Y  Deletes a line
    Ctrl+Z  Edit|Undo
    Ctrl+<space bar>  Code Completion pop-up window

    Ctrl+Shift+g  Inserts a new Globally Unique Identifier (GUID)
    Ctrl+Shift+I  Indents block
    Ctrl+Shift+U  Outdents block
    Ctrl+Shift+Y  Deletes to the end of a line
    Ctrl+Shift+Z  Edit|Redo
    Ctrl+Shift+<space bar>  Code Parameters pop-up window

    Alt+[  Finds the matching delimiter (forward)
    Alt+]  Finds the matching delimiter (backward)

    End  Moves to the end of a line
    Home  Moves to the start of a line

    Enter  Inserts a carriage return
    Ins  Turns insert mode on/off
    Del  Deletes the character to the right of the cursor
    Backspace  Deletes the character to the left of the cursor
    Tab  Inserts a tab
    Space  Inserts a blank space
    Left Arrow  Moves the cursor left one column, accounting for the autoindent setting
    Right Arrow  Moves the cursor right one column, accounting for the autoindent setting
    Up Arrow  Moves up one line

    Down Arrow  Moves down one line
    Page Up  Moves up one page
    Page Down  Moves down one page

    Ctrl+Left Arrow  Moves one word left
    Ctrl+Right Arrow  Moves one word right
    Ctrl+Tab  Moves to the next code page (or file)
    Ctrl+Shift+Tab  Moves to the previous code page (or file)
    Ctrl+Backspace  Deletes the word to the right of the cursor
    Ctrl+Home  Moves to the top of a file
    Ctrl+End  Moves to the end of a file

    Ctrl+Del  Deletes a currently selected block
    Ctrl+Space  Inserts a blank space
    Ctrl+PgDn  Moves to the bottom of a screen
    Ctrl+PgUp  Moves to the top of a screen
    Ctrl+Up Arrow  Scrolls up one line
    Ctrl+Down Arrow  Scrolls down one line
    Ctrl+Enter  Opens file at cursor

    Shift+Tab  Moves the cursor to the left one tab position
    Shift+Backspace  Deletes the character to the left of the cursor
    Shift+Left Arrow  Selects the character to the left of the cursor

    Shift+Right Arrow  Selects the character to the right of the cursor
    Shift+Up Arrow  Moves the cursor up one line and selects from the left of the starting cursor position
    Shift+Down Arrow  Moves the cursor down one line and selects from the right of the starting cursor position
    Shift+PgUp  Moves the cursor up one screen and selects from the left of the starting cursor position
    Shift+PgDn  Moves the cursor down one line and selects from the right of the starting cursor position

    Shift+End  Selects from the cursor position to the end of the current line
    Shift+Home  Selects from the cursor position to the start of the current line
    Shift+Space  Inserts a blank space
    Shift+Enter  Inserts a new line with a carriage return

    Ctrl+Shift+Left Arrow  Selects the word to the left of the cursor
    Ctrl+Shift+Right Arrow  Selects the word to the right of the cursor
    Ctrl+Shift+Home  Selects from the cursor position to the start of the current file

    Ctrl+Shift+End  Selects from the cursor position to the end of the current file
    Ctrl+Shift+PgDn  Selects from the cursor position to the bottom of the screen
    Ctrl+Shift+PgUp  Selects from the cursor position to the top of the screen
    Ctrl+Shift+Tab  Moves to the previous page
    Shift+Alt+arrow  Selects column-oriented blocks
    Click+Alt+mousemove  Selects column-oriented blocks
    Ctrl+O+C  Turns on column blocking
    Ctrl+O+K  Turns off column blocking

    Alt+Backspace  Edit|Undo
    Alt+Shift+Backspace  Edit|Redo
    Alt+Shift+Left Arrow  Selects the column to the left of the cursor
    Alt+Shift+Right Arrow  Selects the column to the right of the cursor
    Alt+Shift+Up Arrow  Moves the cursor up one line and selects the column from the left of the starting cursor position
    Alt+Shift+Down Arrow  Moves the cursor down one line and selects the column from the left of the starting cursor position

    Alt+Shift+Page Up  Moves the cursor up one screen and selects the column from the left of the starting cursor position
    Alt+Shift+Page Down  Moves the cursor down one line and selects the column from the right of the starting cursor position
    Alt+Shift+End  Selects the column from the cursor position to the end of the current line
    Alt+Shift+Home  Selects the column from the cursor position to the start of the current line

    Ctrl+Alt+Shift+Left Arrow  Selects the column to the left of the cursor

    Ctrl+Alt+Shift+Right Arrow  Selects the column to the right of the cursor
    Ctrl+Alt+Shift+Home  Selects the column from the cursor position to the start of the current file
    Ctrl+Alt+Shift+End  Selects the column from the cursor position to the end of the current file
    Ctrl+Alt+Shift+Page Up  Selects the column from the cursor position to the bottom of the screen
    Ctrl+Alt+Shift+Page Down  Selects the column from the cursor position to the top of the screen  

    找一下帮助,查找shortcuts,什么都有了。

    Ctrl+Ins  Edit|Copy
    Shift+Del  Edit|Cut
    Shift+Ins  Edit|Paste

    Ctrl+C  Edit|Copy
    Ctrl+V  Edit|Paste
    Ctrl+X  Edit|Cut

    Breakpoint view

    Ctrl+V  View Source
    Ctrl+S  Edit Source
    Ctrl+E  Edit Breakpoint
    Enter  Edit Breakpoint
    Ctrl+D  Delete Breakpoint
    Del  Delete Breakpoint
    Ctrl+A  Add Breakpoint
    Ins  Add Breakpoint
    Ctrl+N  Enable Breakpoint

    Call stack view

    Ctrl+V  View Source
    Ctrl+E  Edit Source (Delphi only)
    Space  View Source (Epsilon only)
    Ctrl+Enter  Edit Source (Epsilon only)

    Message view

    Ctrl+V  View Source
    Space  View Source
    Ctrl+S  Edit Source
    Ctrl+Enter  Edit Source

    Watch view

    Ctrl+E  Edit Watch
    Enter  Edit Watch
    Ctrl+A  Add Watch
    Ins  Add Watch
    Ctrl+D  Delete Watch
    Del  Delete Watch

    Shortcut  Action or command

    F5  Search|Find (forward from cursor position)
    F6  Search|Replace (forward from cursor position)

    Alt+F5  Search|Find (backward from cursor position)
    Alt+F6  Search|Replace (backward from cursor position)
    Alt+F9  Displays the local menu

    Shift+F4  Tiles windows horizontally
    Shift+F5  Search|Search Again
    Shift+F6  Repeats the last Search|Replace operation


    Esc  Cancels a command at the prompt 
    Del  Deletes a character or block at the cursor
    Asterisk (*)/keypad  Edit|Undo
    Backspace  Deletes the character to the left of the cursor
    Shift+Backspace  Deletes the character to the left of the cursor
    Tab  Inserts a tab character
    Enter  Inserts a new line with a carriage return

    Ctrl+B  Moves to the bottom of the window
    Ctrl+C  Centers line in window

    Ctrl+D  Moves down one screen
    Ctrl+E  Moves up one screen
    Ctrl+K  Deletes to the beginning of a line
    Ctrl+M  Inserts a new line with a carriage return
    Ctrl+S  Performs an incremental search
    Ctrl+T  Moves to the top of the window
    Ctrl+U  Edit|Redo
    Ctrl+Backspace  Deletes the word to the left of the cursor
    Ctrl+Enter  Inserts an empty new line
    Ctrl+- (dash)  Closes the current page

    Alt+A  Marks a non-inclusive block
    Alt+B  Displays a list of open files
    Alt+C  Mark the beginning of a column block
    Alt+D  Deletes a line
    Alt+G  Search|Go to line number
    Alt+I  Toggles insert mode
    Alt+K  Deletes of the end of a line
    Alt+L  Marks a line
    Alt+M  Marks an inclusive block
    Alt+N  Displays the contents of the next page
    Alt+P  Prints the selected block
    Alt+Q  Causes next character to be interpreted as an ASCII sequence

    Alt+R  Reads a block from a file
    Alt+S  Search|Find
    Alt+T  Search|Replace
    Alt+U  Edit|Undo

    Alt+Backspace  Deletes the word to the right of the cursor
    Alt+Hyphen  Jumps to the previous page
    Alt+Page Down  Goes to the next tab
    Alt+Page Up  Goes to the previous tab

    Ctrl+Q+[  Finds the matching delimiter (forward)
    Ctrl+Q+Ctrl+[  Finds the matching delimiter (forward)

    Ctrl+Q+]  Finds the matching delimiter (backward)
    Ctrl+Q+Ctrl+]  Finds the matching delimiter (backward)

    Ctrl+O+A  Open file at cursor

    Ctrl+O+B  Browse symbol at cursor

    Ctrl+O+O  Toggles the case of a selection

    Ctrl+F1  Help keyword search
    Ctrl+F5  Toggles case-sensitive searching
    Ctrl+F6  Toggles regular expression searching


    Ctrl+F9  只编译
    F9       先编译后运行程序
    F5       设置断点
    F8       断点调试
    Ctrl+z   撤消
    Ctrl + 空格(Space)  系统默认提示    注:可能与系统Ctrl+space文字切换冲突,你可以到输入法中将之禁掉
    Ctrl + Shift + Space   也是系统提示 如:Copy() ,将光标移动到()里,按三键就会出现提示
    Ctrl + Shift + C      将自己定义的函数或过程定义语句显示在下面
    Ctrl + S              保存文件
    Ctrl + F              查询某词
    Ctrl + Y              删除某行
    F12                   窗体与表单切换
    Ctrl + Shift + (箭头:向上或向下)  移动此行定义的过程或函数的定义或声明位置
    累,不想说了!!

  • 相关阅读:
    绕过验证码登陆的方法(适合只需登陆一次可以记住登陆台的网站)
    Throughput Controller(吞吐量控制器) 感觉就像个线程控制器来的
    时间戳 和 日期 转换的方法 (含获取当前时间戳的方法)
    pip使用笔记
    可以模拟多种浏览器的网站
    浏览器兼容性说明
    测试套件的使用
    python 时间对比大小 和 间隔多少天
    django数据库操作
    mysql连接工具记录
  • 原文地址:https://www.cnblogs.com/go-jzg/p/4186026.html
Copyright © 2011-2022 走看看