diff options
author | JSDurand <mmemmew@gmail.com> | 2021-08-17 11:04:27 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-08-17 11:04:27 +0800 |
commit | 280abe85bb2ecdbac5f427bd44871c2ad716a985 (patch) | |
tree | 4118743455b18614c3b001ed9d2ed13f8665ae84 /basic.el | |
parent | 594dc7eda49288282ee8c02fc0594fc3aeb97fad (diff) |
new function: durand-copy-line-dwim
* basic.el (global-map): Bind to "s-;".
* common.el (durand-copy-line-dwim): This meets my needs to copy or
duplicate lines.
Diffstat (limited to 'basic.el')
-rw-r--r-- | basic.el | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -209,6 +209,10 @@ This will maintain the frame's width and height as well." (display-buffer-in-tab durand-display-in-one-window) (tab-name . "man page")))) +;;; copy-duplicate dwim + +(define-key global-map (vector ?\s-\;) #'durand-copy-line-dwim) + ;;; Custom kill buffer function ;;;###autoload |