diff options
author | Adrian Kummerlaender | 2020-06-16 22:01:26 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2020-06-16 22:01:26 +0200 |
commit | bb3993e18156b3c8b3077f36f3962bcbdbf84995 (patch) | |
tree | bc115b40e5f7088abd3b3109b7d125cd8b9bccef /gui | |
parent | 3c9e22827d6a993d2d2b489b8afbe16ca9892b9f (diff) | |
download | nixos_home-bb3993e18156b3c8b3077f36f3962bcbdbf84995.tar nixos_home-bb3993e18156b3c8b3077f36f3962bcbdbf84995.tar.gz nixos_home-bb3993e18156b3c8b3077f36f3962bcbdbf84995.tar.bz2 nixos_home-bb3993e18156b3c8b3077f36f3962bcbdbf84995.tar.lz nixos_home-bb3993e18156b3c8b3077f36f3962bcbdbf84995.tar.xz nixos_home-bb3993e18156b3c8b3077f36f3962bcbdbf84995.tar.zst nixos_home-bb3993e18156b3c8b3077f36f3962bcbdbf84995.zip |
Add more convenient window / buffer keybinds to Emacs
Diffstat (limited to 'gui')
-rw-r--r-- | gui/conf/init.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el index dbf8056..3209653 100644 --- a/gui/conf/init.el +++ b/gui/conf/init.el @@ -33,6 +33,10 @@ (add-hook 'prog-mode-hook 'display-line-numbers-mode) +(global-set-key (kbd "<M-tab>") 'next-buffer) +(global-set-key (kbd "<M-iso-lefttab>") 'previous-buffer) +(global-set-key (kbd "<C-tab>") 'other-window) + (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/")) (package-initialize) @@ -205,8 +209,7 @@ (kbd "C-r") 'counsel-recentf (kbd "C-p") 'counsel-git - (kbd "C-n") 'go-to-deft - (kbd "M-<tab>") 'next-buffer) + (kbd "C-n") 'go-to-deft) (defun switch-to-last-buffer () (interactive) |