From: Andreas Gerler Date: Tue, 24 Nov 2015 16:18:17 +0000 (+0100) Subject: magit-file-delete deserves a key binding. X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=59a965bcdc75c254613a7f1c7dbd11050424309f;p=emacsconfig.git magit-file-delete deserves a key binding. - M-gD for magit-file-delete - some cleanup --- diff --git a/bba.org b/bba.org index f94dcd59..11d9721e 100644 --- a/bba.org +++ b/bba.org @@ -165,6 +165,7 @@ Keep track of your important stuff! ) ) #+END_SRC + * [[http://www.emacswiki.org/emacs/ELPA][ELPA]] #+BEGIN_SRC emacs-lisp @@ -210,6 +211,7 @@ For annotated tags prepare message with commit messages since last tag. ) #+END_SRC + * fullframe open ibuffer and magit-status in fullframe mode. #+BEGIN_SRC emacs-lisp @@ -288,6 +290,7 @@ But we use it only in graphical mode as text mode lacks color depth. #+END_SRC + * [[https://github.com/hrs/engine-mode][engine-mode]] search the web on your fingertips. C-c /. @@ -377,6 +380,7 @@ search the web on your fingertips. C-c /. )) #+END_SRC + * yasnippet My first thought: Nice. But do I have a use case? After half a year I @@ -391,6 +395,7 @@ snippets. Some help for Perl and even for org-mode. (yas-global-mode 1) (define-key global-map "\C-cy" 'yas/insert-snippet) #+END_SRC + * [[https://github.com/flycheck/flycheck][flycheck]] modified puppet-lint definition to include no-80chars-check and fixed @@ -442,6 +447,7 @@ Probably the best help to keep track of the not every day used keybindings. ) ) #+END_SRC + * latex #+BEGIN_SRC emacs-lisp @@ -544,7 +550,6 @@ I still like ido-find-file. #+END_SRC - * visual-regexp #+BEGIN_SRC emacs-lisp @@ -1339,6 +1344,7 @@ necessary. (elfeed-org) (setq rmh-elfeed-org-files (list "~/org/elfeed.org")))) #+END_SRC + * [[http://www.emacswiki.org/emacs/MalyonMode][Mylon]] #+BEGIN_SRC emacs-lisp @@ -1514,7 +1520,6 @@ like these: #+END_SRC - * rpm spec buildrpm [2015-07-23 Thu 13:22] @@ -1813,6 +1818,7 @@ safe files with #! in first line as user executable. (global-set-key (kbd "M-n") 'bba/move-line-down) #+END_SRC + * ggtags Configure [[https://github.com/leoliu/ggtags][ggtags]] and [[https://github.com/syohex/emacs-helm-gtags][helm-gtags]] to use [[https://www.gnu.org/software/global/][GNU Global]]. @@ -2028,6 +2034,7 @@ function to convert groups of spaces to hard tabs. (define-key global-map "\C-c\C-w" 'fixup-whitespace) (define-key global-map "\M-g\M-d" 'magit-diff-unstaged) + (define-key global-map "\M-g\S-d" 'magit-file-delete) (define-key global-map "\M-g\M-b" 'magit-branch-manager) (define-key global-map "\M-gb" 'magit-blame-popup) (define-key global-map "\C-cm" 'magit-status) @@ -2184,7 +2191,6 @@ Some nice functions ;;(paren-activate) #+END_SRC - * other stuff #+BEGIN_SRC emacs-lisp @@ -2297,8 +2303,6 @@ You have to work hard to be lazy. (set-default-font "Monaco 14")) #+END_SRC - - * dns-mode If you edit zone files via TRAMP you might want to activate them via @@ -2323,6 +2327,7 @@ If you edit zone files via TRAMP you might want to activate them via )) #+END_SRC + * save history [2015-04-05 Sun 12:57] @@ -2384,6 +2389,7 @@ Some private settings outside this repository are loaded after this configuratio (if (file-exists-p "~/.emacs_post.el") (load-file "~/.emacs_post.el")) #+END_SRC + * done Display greetings: