Skip to content

Commit

Permalink
Fixed 'kill buffer' shortcut to not overlap with 'copy'.
Browse files Browse the repository at this point in the history
  • Loading branch information
trunkmaster committed Jun 15, 2020
1 parent 919460e commit 776573e
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions System/etc/skel/.emacs.nextspace
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,16 @@
(global-set-key [f8] 'next-error)
(global-set-key "\M-b" 'Build-Project) ; make
(global-set-key "\M-B" 'Build-Install-Project) ; make install
(global-set-key "\M-w" 'Kill-Active-Buffer) ; Close buffer
(global-set-key [M-return] 'c-indent-new-comment-line)

;(global-set-key "\M-z" 'undo) ; Undo (C-x u, C-/)
(global-set-key [f10] 'Kill-Active-Buffer) ; Close buffer

; Cut
;;(global-set-key [S-delete])

;; Window resizing
(global-set-key (kbd "S-C-<left>") 'shrink-window-horizontally)
(global-set-key (kbd "S-C-<left>") 'shrink-window-horizontally)
(global-set-key (kbd "S-C-<right>") 'enlarge-window-horizontally)
(global-set-key (kbd "S-C-<down>") 'shrink-window)
(global-set-key (kbd "S-C-<up>") 'enlarge-window)
(global-set-key (kbd "S-C-<down>") 'shrink-window)
(global-set-key (kbd "S-C-<up>") 'enlarge-window)

;; Copy
(global-set-key [C-kp-insert] 'copy-region-as-kill)
Expand All @@ -109,8 +106,9 @@
(global-set-key "\M-v" 'yank)

;; Indent
(global-set-key [(control c) tab] 'indent-relative-maybe)
(global-set-key [S-iso-lefttab] 'indent-relative-maybe)
(global-set-key [M-return] 'c-indent-new-comment-line)
(global-set-key [(control c) tab] 'indent-relative-maybe)
(global-set-key [S-iso-lefttab] 'indent-relative-maybe)
;; (global-set-key [S-iso-lefttab] 'indent-relative)

;; ============================================================================
Expand Down

0 comments on commit 776573e

Please sign in to comment.