[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How to put default-directory into kill-ring?
From: |
Drew Adams |
Subject: |
RE: How to put default-directory into kill-ring? |
Date: |
Tue, 4 Feb 2014 06:01:14 -0800 (PST) |
> is there any function to do this?
M-x cd RET C-x DEL C-g
`cd' changes directory, and the default is `default-directory'.
`C-x DEL' is `backward-kill-sentence', which kills the dir
in the minibuffer. You can alternatively use `C-a C-k' to do
this. (DEL is Backspace.)
If you have `insert-default-directory' = nil then do `M-n'
after `M-x cd RET', to get the default dir in the minibuffer.
And yes, if you do this often, you could simply define a
command and key for it.
- How to put default-directory into kill-ring?, Marcin Borkowski, 2014/02/04
- Re: How to put default-directory into kill-ring?, Barry OReilly, 2014/02/12
- Re: How to put default-directory into kill-ring?, Stefan Monnier, 2014/02/12
- Re: How to put default-directory into kill-ring?, Marcin Borkowski, 2014/02/14
- Re: How to put default-directory into kill-ring?, Stefan Monnier, 2014/02/14
- Re: How to put default-directory into kill-ring?, Nicolas Richard, 2014/02/14
- Re: How to put default-directory into kill-ring?, Stefan Monnier, 2014/02/14
- Re: How to put default-directory into kill-ring?, Marcin Borkowski, 2014/02/14
- Re: How to put default-directory into kill-ring?, Nicolas Richard, 2014/02/14