mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-06-14 04:11:18 +00:00
That's a bug, need to be both a slash and an @ beforehand
This commit is contained in:
parent
91d1d74c45
commit
7826be40d3
1 changed files with 11 additions and 1 deletions
|
|
@ -135,7 +135,17 @@
|
|||
:config
|
||||
(defun my/should-backwards-tramp ()
|
||||
(and (not (eq (char-before) ?:))
|
||||
(not (eq (char-before) ?@))))
|
||||
(not (eq (char-before) ?@))
|
||||
(save-excursion
|
||||
(re-search-backward "@" nil t))
|
||||
(save-excursion
|
||||
(re-search-backward "/" nil t))
|
||||
(< (save-excursion
|
||||
(re-search-backward "/" nil t)
|
||||
(point))
|
||||
(save-excursion
|
||||
(re-search-backward "@" nil t)
|
||||
(point)))))
|
||||
|
||||
(defun my/vertico-directory-up (&optional n)
|
||||
(interactive "p")
|
||||
|
|
|
|||
Loading…
Reference in a new issue