Emacs: Redistributed keybindings.
This commit is contained in:
parent
4fb8e51142
commit
563fcdc14e
|
@ -1,6 +1,6 @@
|
||||||
;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
;; * Setup scratch buffer.
|
;; * Setup scratch buffer.
|
||||||
|
@ -39,6 +39,11 @@
|
||||||
t))
|
t))
|
||||||
|
|
||||||
(set-frame-parameter nil 'buffer-predicate 'my/buffer-predicate)
|
(set-frame-parameter nil 'buffer-predicate 'my/buffer-predicate)
|
||||||
|
|
||||||
|
:bind
|
||||||
|
;; Switch buffers.
|
||||||
|
("M-<left>" . previous-buffer)
|
||||||
|
("M-<right>" . next-buffer)
|
||||||
)
|
)
|
||||||
|
|
||||||
;; Show and select buffers.
|
;; Show and select buffers.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
;;; input.el --- Configure behaviour of input devices. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
;; * Setup mouse & keyboard behaviour.
|
;; * Setup mouse & keyboard behaviour.
|
||||||
|
@ -61,11 +61,6 @@ With argument, do this that many times."
|
||||||
;; Delete words without storing them in the kill buffer.
|
;; Delete words without storing them in the kill buffer.
|
||||||
("C-<delete>" . my/delete-word)
|
("C-<delete>" . my/delete-word)
|
||||||
("C-<backspace>" . my/backward-delete-word)
|
("C-<backspace>" . my/backward-delete-word)
|
||||||
;; Switch buffers.
|
|
||||||
("M-<left>" . previous-buffer)
|
|
||||||
("M-<right>" . next-buffer)
|
|
||||||
;; Switch between header and implementation.
|
|
||||||
("C-:" . ff-find-other-file)
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
;;; common.el --- Common programming settings. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
|
|
||||||
|
@ -22,6 +22,10 @@
|
||||||
:hook
|
:hook
|
||||||
;; Wrap long lines in compilation output.
|
;; Wrap long lines in compilation output.
|
||||||
(compilation-mode . (lambda () (setq-local truncate-lines nil)))
|
(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.
|
;; Guess indentation and if spaces or tabs are to be used.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user