Minor fixes

This commit is contained in:
Wojciech Kozlowski 2017-08-30 01:13:35 +01:00
parent 299b2eef9d
commit 0350f6b201
3 changed files with 14 additions and 9 deletions

View File

@ -96,13 +96,15 @@
;; Load modules. ;; Load modules.
;; -------------------------------------------------------------------------- ;; --------------------------------------------------------------------------
(init-packages/init '(editing (init-packages/init '(
editing
emacs emacs
helm helm
parentheses parentheses
programming programming
version-control version-control
workflow)) workflow
))
;; *********************************************************************** ;; ;; *********************************************************************** ;;

View File

@ -62,7 +62,7 @@
;; Key-bindings ------------------------------------------------------------- ;; Key-bindings -------------------------------------------------------------
;; Kill other window (cyclic order). ;; Kill other window (cyclic order).
(global-set-key (kbd "C-x C-q") 'quit-other-window) (global-set-key (kbd "C-z") 'quit-other-window)
;; Kill current buffer without prompting. ;; Kill current buffer without prompting.
(global-set-key (kbd "C-x k") 'kill-default-buffer) (global-set-key (kbd "C-x k") 'kill-default-buffer)
@ -116,7 +116,7 @@
" " " "
(mode 16 16 :left :elide) (mode 16 16 :left :elide)
" " " "
(vc-(setq )tatus 16 16 :left) (vc-status 16 16 :left)
" " " "
filename-and-process)))) filename-and-process))))

View File

@ -90,11 +90,14 @@
;; Key-bindings ------------------------------------------------------------- ;; Key-bindings -------------------------------------------------------------
;; This shadows new global key-binding for other-window. (use-package diff-mode
(define-key diff-mode-map (kbd "M-o") nil) :config
;; This copies behaviour from other modes where C-o displays the relevant ;; This shadows new global key-binding for other-window.
;; source in another window. (define-key diff-mode-map (kbd "M-o") nil)
(define-key diff-mode-map (kbd "C-o") 'x-diff-display-source)
;; This copies behaviour from other modes where C-o displays the relevant
;; (setq )ource in another window.
(define-key diff-mode-map (kbd "C-o") 'x-diff-display-source))
) )