killdash9/buffer-flip.el

<M-iso-lefttab> is undefined

pseudomyne opened this issue · 7 comments

Hi.
♥ your package. I just can't buffer-flip-backwardwith M-S-<tab>., getting <M-iso-lefttab> is undefined.
It isn't related to your package because another binding works.
Maybe you'd have an idea..
Rolling Archlinux here, with bspwm / sxhkd as WM with fr layout (may be related)

@pseudomyne have you been able to get this working?

Same here.
Ubuntu Bionic, i3wm, es-CA layout.

@pataquets what error do you see, and can you share your buffer-flip config?

Hi, yes. Added this to my config :

(define-key function-key-map [(meta shift iso-lefttab)] [(meta shift tab)])

That doesn't look like your buffer-flip config. I'm looking for something like this:

(setq buffer-flip-map
      (let ((map (make-sparse-keymap)))
        (define-key map (kbd "M-<tab>")   'buffer-flip-forward) 
        (define-key map (kbd "M-S-<tab>") 'buffer-flip-backward)
        (define-key map (kbd "M-ESC")     'buffer-flip-abort)
        map))

The line I gave you is what makes the binding work, just before my config, which is almost the same :

(use-package buffer-flip
  :ensure t
  :bind  (("M-<tab>" . buffer-flip)
          :map buffer-flip-map
          ( "M-<tab>" .   buffer-flip-forward) 
          ( "M-S-<tab>" . buffer-flip-backward)
	  ( "M-²" . buffer-flip-backward) 
          ( "M-ESC" .     buffer-flip-abort))
  :config
  (setq buffer-flip-skip-patterns
        '("^\\*helm\\b"
          "^\\*swiper\\*$")))

Glad to hear you got it working.