diff --git a/init.d/basics/buffers.el b/init.d/basics/buffers.el index 9cacf47..1940d0c 100644 --- a/init.d/basics/buffers.el +++ b/init.d/basics/buffers.el @@ -1,6 +1,6 @@ ;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-01-27T08:37:15+0100> +;; Time-stamp: <2020-01-27T09:13:13+0100> ;;; Commentary: ;; * Setup scratch buffer. @@ -39,6 +39,11 @@ t)) (set-frame-parameter nil 'buffer-predicate 'my/buffer-predicate) + + :bind + ;; Switch buffers. + ("M-" . previous-buffer) + ("M-" . next-buffer) ) ;; Show and select buffers. diff --git a/init.d/basics/input.el b/init.d/basics/input.el index c4040ba..88b54cc 100644 --- a/init.d/basics/input.el +++ b/init.d/basics/input.el @@ -1,6 +1,6 @@ ;;; input.el --- Configure behaviour of input devices. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-01-23T03:39:19+0100> +;; Time-stamp: <2020-01-27T09:11:43+0100> ;;; Commentary: ;; * Setup mouse & keyboard behaviour. @@ -61,11 +61,6 @@ With argument, do this that many times." ;; Delete words without storing them in the kill buffer. ("C-" . my/delete-word) ("C-" . my/backward-delete-word) - ;; Switch buffers. - ("M-" . previous-buffer) - ("M-" . next-buffer) - ;; Switch between header and implementation. - ("C-:" . ff-find-other-file) ) ) diff --git a/init.d/programming/common.el b/init.d/programming/common.el index 84df7eb..bf30494 100644 --- a/init.d/programming/common.el +++ b/init.d/programming/common.el @@ -1,6 +1,6 @@ ;;; common.el --- Common programming settings. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-01-27T04:17:52+0100> +;; Time-stamp: <2020-01-27T09:13:20+0100> ;;; Commentary: @@ -22,6 +22,10 @@ :hook ;; Wrap long lines in compilation output. (compilation-mode . (lambda () (setq-local truncate-lines nil))) + + :bind + ;; Switch between header and implementation. + ("C-:" . ff-find-other-file) ) ;; Guess indentation and if spaces or tabs are to be used.