textmate 中类似 emacs 的标记选择
在被说服改用 textmate 之前,我使用了 emacs 多年。我对这一举动非常满意,但真的非常怀念通过设置标记然后移动光标来选择文本的功能;使用 Shift + 箭头对我来说并不合适。我已经根据一些过时的博客文章尝试了一些绑定,但就是无法弄清楚!
有人知道可以帮助我获得此功能的捆绑包或绑定吗?
I used emacs for years before being convinced to switch over to textmate. I am mostly happy with the move but really, really miss the ability to select text by setting a mark and then moving the cursor; using shift + arrow just doesn't cut it for me. I have tried a couple bindings based on some out-dated blog posts out there but just can't figure it out!
Anybody know of a bundle or binding that will help me get this functionality?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道有什么方法可以在 TextMate 中做到这一点。它有书签,用于导航,但与您所描述的完全不同。
如果我没记错的话,将插入符号放在某处并使用 ⇧ + 箭头扩展选择是在 TextMate 中选择内容的唯一实用方法。
与所有 Mac OS X 应用程序一样,您可以通过点击 ⌘ 并逐字查看来加速该过程。
有 3 个特殊快捷键您可能会觉得有用,但我认为它们不能解决您的问题:
W
选择当前单词L
选择当前行B
在封闭对A bundle 之间进行选择,我已经使用过一些time(但我认为是用不同的名称)提出了面向范围的选择。我记得它有时非常有用,但也有一些问题。
I don't know of a way to do that in TextMate. It has bookmarks, used for navigation, but nothing like what you describe.
If I remember correctly, placing the caret somewhere and extending the selection with ⇧ + arrows is the only practical way to select stuff in TextMate.
Like in all Mac OS X applications you can accelerate the process by hitting ⌘ and go word by word.
There are 3 special shortcuts you might find useful but I don't think they will solve your problem:
W
to select the current WordL
to select the current LineB
to select between enclosing pairsA bundle I've used for some time (but under a different name, I think) proposes scope-oriented selection. I remember it being quite useful at times but also a bit buggy.