-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
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
Hide the cursor for evil-mode
#43
Comments
现在应该好了。 |
貌似和光标一样,通过 bookmark 打开目录会看不到标题,之前都没注意 |
你能简单发个重现步骤吗? 谢谢。我没怎么用过自带的bookmark, 简单试了下 bookmark-set 和 bookmark-jump 没发现这个问题。 |
喔,ivy 的问题。等我写个补丁。consult-bookmark 没这毛病。 |
counsel-bookmark 应该好了, 你试试吧。 |
还是一样的原因,我完全不理解 ivy 要在这里调用 一个临时的解决办法 (defadvice! counsel-bookmark-in-place ()
"Forward to `bookmark-jump' or `bookmark-set' if bookmark doesn't exist."
:override #'counsel-bookmark
(require 'bookmark)
(ivy-read "Create or jump to bookmark: "
(bookmark-all-names)
:history 'bookmark-history
:action (lambda (x)
(cond ((and counsel-bookmark-avoid-dired
(member x (bookmark-all-names))
(file-directory-p (bookmark-location x)))
(let ((default-directory (bookmark-location x)))
(counsel-find-file)))
((member x (bookmark-all-names))
(bookmark-jump x))
(t
(bookmark-set x))))
:caller 'counsel-bookmark)) 我后续看看有没有更好的办法解决。但我其实也并不能保证 ivy 里面会不会有其他地方导致什么问题。我的建议是从 ivy 全家桶换成 vertico + consult (+ 其他) 这一套 (这也是doom 现在默认的选择)。ivy/counsel/swiper 里的很多问题在 vertico 这里根本不存在。 |
了解,谢谢大佬 |
Former-commit-id: c57f80d
通过
find-file
或者 bookmark 打开目录时光标没有隐藏,需要切换一次目录才会隐藏光标The text was updated successfully, but these errors were encountered: