include removed function tmm-get-keybind to settings
This commit is contained in:
@@ -109,7 +109,18 @@
|
||||
;; ivy-done completion for file, but opens dird mode for directories
|
||||
;; ivy-alt-done complete dir or open file, but without entering any character it opens dird mode
|
||||
;; ivy-immediate-done no completion
|
||||
))
|
||||
)
|
||||
|
||||
;; previously defined in tmm.el (removed by commit on Oct 24, 2020)
|
||||
;; counsel-tmm uses `tmm-get-keybind'
|
||||
(defun tmm-get-keybind (keyseq)
|
||||
"Return the current binding of KEYSEQ, merging prefix definitions.
|
||||
If KEYSEQ is a prefix key that has local and global bindings,
|
||||
we merge them into a single keymap which shows the proper order of the menu.
|
||||
However, for the menu bar itself, the value does not take account
|
||||
of `menu-bar-final-items'."
|
||||
(lookup-key (cons 'keymap (nreverse (current-active-maps))) keyseq))
|
||||
)
|
||||
|
||||
;;(setq tab-always-indent 'complete) ;; use 'complete when auto-complete is disabled
|
||||
|
||||
|
||||
Reference in New Issue
Block a user