• textmate 的快捷键


    自动补全 : esc
    查找项目文件:command+t
    查找文件内符号:shift+command+t
    跳到某行:command+l
    选择:shift+方向键
    向后缩进:option+tab
    向前缩进:shift+option+tab
    reformat 所选:option+command+[
    大写所选:control+u
    小写所选:control+shift+u
    查找:command+f
    查找下一个:command+g
    show TODO list :control+shift+t
    计算数学公式:control+shift+c
    统计字数:control+shift+n
    注释与取消:command+/

    mate file                    终端下mate打开文件
    commond + option + L    显示行号
    commond + F            页面搜索文字
    commond + shift + F        项目搜索文字
    commond + G            下一个搜索文字
    commond + shift + G    上一个搜索文字
    commond + option + F    替换一个
    commond + ctrl + F        全部替换

    ctrl + A                    光标回到行首
    ctrl + E                    光标回到行尾
    ctrl + L                    自动生成 =>
    ESC                        自动补全
    commond + S            保存
    commond + option + S    全部保存    
    commond + shift + S        另存为。。。。
    ctrl + w                    选取一个单词
    commond + shift + ->        选中光标右面的内容
    commond + shift + <-        选中光标左面的内容
    option|ctrl + shift + >        选中光标右面的单词
    option|ctrl + shift + <        选中光标左面的单词
    commond + shift + L        选取一行信息
    commond + L             定位到某一行
    commond + option + ->    textmate项目中右面的标签
    commond + option + <-    textmate项目中左面的标签
    commond + 数字        选择某个标签
    ctrl + tab                    在菜单栏和页面切换
    commond + ->            光标回到行尾
    commond + <-            光标回到行首
    commond + ^            光标回到页首
    commond + 下箭头        光标回到页尾
    option|ctrl + ->            光标向右移动一个单词
    option|ctrl + <-            光标向左移动一个单词
    ctrl + 上箭头                向上移动下拉菜单
    ctrl + 下箭头                向下移动下拉菜单
    ctrl + shift + K            删除一行
    commond + /                注释一行
    commond + z            返回前一个内容
    commond + shift + z        返回后一个内容
    commond + ]                增加缩进
    commond + [                减少缩进
    ctrl + commond + 上箭头    向上移动整行
    ctrl + commond + 下箭头    向下移动整行
    commond + option + [        格式化代码
    commond + shift + T        当前文件中所有方法的
    commond + T            打开项目下的文件
    commond + O            打开项目
    commond + N            新建文件
    ctrk + shift + A            鼠标指向目录,按快捷键,打开svn选项
    commond + W                 关闭标签
    commond + shift + W    关闭项目
    commond + option + L      显示行号
    commond + X            剪切
    commond + C            复制
    commond + V            粘帖
    ctrl + option + commond + V    从历史中选择内容粘帖
    commond + M            最小法

    commond + F2            标记
    F2                        在标记间切换

    标签间的切换,以及TextMate最梦幻的一个功能——智能查找( T 调出Go to File 窗口,如果你想找pitches_controller_test.rb,只需输入pct,回车,就是你了)。它还有个兄弟Go to Symbol (⇧⌘ T)  

    TextMate提供的文本操作也很简单,无非是移动、选中和智能变换。

    移动,记住上下左右就够了。不过,TextMate牛就牛在做移动,人家都能做出花来,比如,像CamelCaseWords这样连在一起,但是用大写字母分开的词,用^ ←/ ^ →居然可以一个词一个词的跳跃。

    以前在Windows的记事本里发现一个很贴心的设计:按住alt就可以列选。其实,TextMate也可以,按住⌥就行。

    接下来是TextMate的有一个卖点:自动补全(按,就是esc键啦)。

  • 相关阅读:
    vue Can't resolve 图片
    TP-LINK WR740N中继设置,AP设置,设置后不能上网,亲测有效
    vue VSCode 开发设置(html自动补全、eslint保存时格式化、vetur 格式化html)
    不再手写import
    vscode vuter的快捷键 关键字
    prototype是什么?
    真有效值与有效值概念
    现代文经典
    古文经典
    最后,我想对你说一句:我爱你
  • 原文地址:https://www.cnblogs.com/GnagWang/p/2184922.html
Copyright © 2020-2023  润新知