j emacs: bind F5 to kill actual buffer
This commit is contained in:
parent
9f08df4b15
commit
9c10dcf51c
jeschli/2configs
|
@ -28,7 +28,6 @@ let
|
|||
|
||||
;; Custom Key Bindings
|
||||
(global-set-key (kbd "<f12>") 'org-agenda)
|
||||
(global-set-key (kbd "<f5>") 'bh/org-todo)
|
||||
(global-set-key (kbd "<S-f5>") 'bh/widen)
|
||||
(global-set-key (kbd "<f7>") 'bh/set-truncate-lines)
|
||||
(global-set-key (kbd "<f8>") 'org-cycle-agenda-files)
|
||||
|
@ -1321,8 +1320,6 @@ Skip project and sub-project tasks, habits, and loose non-project tasks."
|
|||
|
||||
(define-abbrev org-mode-abbrev-table "selisp" "" 'skel-org-block-elisp)
|
||||
|
||||
(global-set-key (kbd "<f5>") 'bh/org-todo)
|
||||
|
||||
(defun bh/org-todo (arg)
|
||||
(interactive "p")
|
||||
(if (equal arg 4)
|
||||
|
|
|
@ -127,6 +127,12 @@ let
|
|||
(global-set-key "\C-x\ \C-r" 'recentf-open-files)
|
||||
'';
|
||||
|
||||
killActualBuffer = ''
|
||||
(fset 'kill-actual-buffer
|
||||
[?\C-x ?k return])
|
||||
(global-set-key (kbd "<f5>") 'kill-actual-buffer)
|
||||
'';
|
||||
|
||||
dotEmacs = pkgs.writeText "dot-emacs" ''
|
||||
${packageRepos}
|
||||
|
||||
|
|
Loading…
Reference in a new issue