We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当光标所在位置,位于343行的大括号}位置时,按 vv 键盘正常应该选中为整个大括号中的内容, 但是扩展后的区域如下图所示:
可以复现: 项目为开源代码 git clone https://github.com/google/syzkaller emacs syzkaller/executor/executor.cc
emacs : GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0) of 2022-07-05, unofficial emacs-snapshot build: http://emacs.ganneff.de/, git commit 83f059793af0d7191529582ce674f0af349cd1b7 应该与emacs版本没有关系, 用其他版本时也会出现这个现象;
The text was updated successfully, but these errors were encountered:
It's not my setup. You need raise a ticket to https://github.com/magnars/expand-region.el
If you know evil text object, you could use vi{ to select region between {}. In my setup, you can also use vig
vi{
{}
vig
Sorry, something went wrong.
https://github.com/magnars/expand-region.el 这个项目好像只有pr没有issues, 学会elisp再提吧,不紧急:)
你可以在cc-mode-hook里改er/try-expand-list,只留下最基本的选项。
cc-mode-hook
er/try-expand-list
不过我主要用evil-mode,较大的region操作都用定制的evil text object, expand-region就是用来快速地选变量名。
No branches or pull requests
当光标所在位置,位于343行的大括号}位置时,按 vv 键盘正常应该选中为整个大括号中的内容,
但是扩展后的区域如下图所示:
可以复现:
项目为开源代码
git clone https://github.com/google/syzkaller
emacs syzkaller/executor/executor.cc
emacs :
GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0) of 2022-07-05, unofficial emacs-snapshot build: http://emacs.ganneff.de/, git commit 83f059793af0d7191529582ce674f0af349cd1b7
应该与emacs版本没有关系, 用其他版本时也会出现这个现象;
The text was updated successfully, but these errors were encountered: