Author
Wolfgang Scherer
Quickstart
-
Load
vc-ign.el
to augment Emacs package vc with VC ignore facilities. -
The keyboard shortcuts are bound to prefix
z
in vc-dir-mode andC-x v z
in other modes. The prefix can be customized with vc-ign-prefix. -
Press
z i
in vc-dir-mode orC-x v z i
in dired-mode to ignore marked files. In other modes, a file is read from the minibuffer. With a prefix argument, the files are removed from the ignore file. -
Press
z p
in vc-dir-mode orC-x v z p
in dired-mode for a prompt with the current file as properly quoted pattern. In other modes, a pattern is read from the minibuffer. With a prefix argument, the pattern is removed from the ignore file -
Press
z c
in vc-dir-mode orC-x v z c
in other modes to push the current filename relatve to the repository root onto the kill-ring. With a prefix argument, escape and anchor the filename. -
Press
z w
in vc-dir-mode orC-x v z w
in other modes to push the marked filenames relatve to the repository root onto the kill-ring. With a prefix argument, escape and anchor the filenames. The filenames are concatenated with a newline. -
Several directory/filename copy commands are mapped as shortcuts:
Key sequence description z d d copy directory to kill-ring z d b copy basename of current file to kill-ring z d f copy filename of current file to kill-ring z o d copy directory of other window to kill-ring z o b copy basename of current file in other window to kill-ring z o f copy filename of current file in other window to kill-ring
Abstract
References
Copyright
Copyright (C) 2020, Wolfgang Scherer, <Wolfgang.Scherer at gmx.de>. See the document source for conditions of use under the GNU Free Documentation License.