diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2018-06-20 15:34:28 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2018-06-20 15:34:28 +0200 |
| commit | 257908c25366ef5d59c4b3b7976f9baa4e025015 (patch) | |
| tree | b51d0a59b686eb8cddf4812542c5f590ca9fcc3d /.emacs-custom.el | |
| parent | cababb5e10d7036d3f5161c177528716ca182d68 (diff) | |
| download | dotfiles-257908c25366ef5d59c4b3b7976f9baa4e025015.tar.xz | |
Add ways to run shell commands in the minibuffer
I sometimes need to create a file named $(date +%F).md. This commit
introduces two ways to do this:
1. with recursive minibuffers:
C-x C-f M-! date +%F RET
2. with a new function to add shell command outputs to the kill ring:
C-x C-f C-c k ! date +%F RET C-y
Diffstat (limited to '.emacs-custom.el')
| -rw-r--r-- | .emacs-custom.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.emacs-custom.el b/.emacs-custom.el index 8458d25..2a8c353 100644 --- a/.emacs-custom.el +++ b/.emacs-custom.el @@ -15,6 +15,7 @@ '(ediff-merge-split-window-function (quote split-window-vertically)) '(ediff-split-window-function (quote split-window-horizontally)) '(electric-pair-mode t) + '(enable-recursive-minibuffers t) '(erc-log-channels-directory "~/.irc-logs") '(erc-log-write-after-insert t) '(erc-log-write-after-send t) @@ -39,6 +40,7 @@ '(markdown-enable-math t) '(markdown-header-scaling t) '(menu-bar-mode nil) + '(minibuffer-depth-indicate-mode t) '(package-archives (quote (("melpa" . "https://melpa.org/packages/") |
