Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

EricCrosson/switch-to-previous-buffer-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

switch-to-previous-buffer-mode Build Status Version

Alt-Tab for Buffers

Install

With Quelpa

  (use-package switch-to-previous-buffer-mode
    :after (evil-leader)
    :quelpa (switch-to-previous-buffer-mode
             :fetcher github
             :repo "EricCrosson/switch-to-previous-buffer-mode")
    :config
    (defun user-switch-to-previous-buffer-mode-hook ()
      "Personal hook to bind/unbind keys for `switch-to-previous-buffer-mode'."
      (if switch-to-previous-buffer-mode
          (evil-leader/set-key "C-i" 'switch-to-previous-buffer)  ; binds to SPC Tab
        (evil-leader/set-key "C-i" nil)))                         ; un-binds SPC Tab
    (add-hook 'switch-to-previous-buffer-mode-hook 'user-switch-to-previous-buffer-mode-hook))

Note: this project is not destined for MELPA

Or manually, after downloading into your load-path

(require 'switch-to-previous-buffer-mode)
(bind-key "C-c C-i" 'switch-to-previous-buffer switch-to-previous-buffer-mode-map)

Example

Example

Acknowledgments

This package is a modular implementation of a Prelude feature.

License

GPL 2 (or higher) © Free Software Foundation, Inc.