How open dired mode from any buffer by ONE hotkey?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
windows 10, emacs 26.1
Suppose I open some file:
And now I want fast open dired mode.
The result must be like this:
I want to do this by ONE hotkey direct from buffer. E.g. C-x j
.
Is it possible?
dired
add a comment |Â
up vote
1
down vote
favorite
windows 10, emacs 26.1
Suppose I open some file:
And now I want fast open dired mode.
The result must be like this:
I want to do this by ONE hotkey direct from buffer. E.g. C-x j
.
Is it possible?
dired
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
windows 10, emacs 26.1
Suppose I open some file:
And now I want fast open dired mode.
The result must be like this:
I want to do this by ONE hotkey direct from buffer. E.g. C-x j
.
Is it possible?
dired
windows 10, emacs 26.1
Suppose I open some file:
And now I want fast open dired mode.
The result must be like this:
I want to do this by ONE hotkey direct from buffer. E.g. C-x j
.
Is it possible?
dired
dired
asked 1 hour ago
Alexei
37919
37919
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
You can use dired-jump
from the builtin dired-x.el
. I have it bound to C-x C-j, you can setup your own key binding.
C-x C-j
runs the commanddired-jump
(found in global-map), which is an
interactive autoloaded compiled Lisp function indired-x.el
.
It is bound to C-x C-j.
(dired-jump &optional OTHER-WINDOW FILE-NAME)
Jump to Dired buffer corresponding to current buffer. If in a file,
Dired the current directory and move to file's line. If in Dired
already, pop up a level and goto old directory's line. In case the
proper Dired file line cannot be found, refresh the dired buffer and
try again.
When OTHER-WINDOW is non-nil, jump to Dired buffer in other
window. When FILE-NAME is non-nil, jump to its line in Dired.
Interactively with prefix argument, read FILE-NAME.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
You can use dired-jump
from the builtin dired-x.el
. I have it bound to C-x C-j, you can setup your own key binding.
C-x C-j
runs the commanddired-jump
(found in global-map), which is an
interactive autoloaded compiled Lisp function indired-x.el
.
It is bound to C-x C-j.
(dired-jump &optional OTHER-WINDOW FILE-NAME)
Jump to Dired buffer corresponding to current buffer. If in a file,
Dired the current directory and move to file's line. If in Dired
already, pop up a level and goto old directory's line. In case the
proper Dired file line cannot be found, refresh the dired buffer and
try again.
When OTHER-WINDOW is non-nil, jump to Dired buffer in other
window. When FILE-NAME is non-nil, jump to its line in Dired.
Interactively with prefix argument, read FILE-NAME.
add a comment |Â
up vote
3
down vote
You can use dired-jump
from the builtin dired-x.el
. I have it bound to C-x C-j, you can setup your own key binding.
C-x C-j
runs the commanddired-jump
(found in global-map), which is an
interactive autoloaded compiled Lisp function indired-x.el
.
It is bound to C-x C-j.
(dired-jump &optional OTHER-WINDOW FILE-NAME)
Jump to Dired buffer corresponding to current buffer. If in a file,
Dired the current directory and move to file's line. If in Dired
already, pop up a level and goto old directory's line. In case the
proper Dired file line cannot be found, refresh the dired buffer and
try again.
When OTHER-WINDOW is non-nil, jump to Dired buffer in other
window. When FILE-NAME is non-nil, jump to its line in Dired.
Interactively with prefix argument, read FILE-NAME.
add a comment |Â
up vote
3
down vote
up vote
3
down vote
You can use dired-jump
from the builtin dired-x.el
. I have it bound to C-x C-j, you can setup your own key binding.
C-x C-j
runs the commanddired-jump
(found in global-map), which is an
interactive autoloaded compiled Lisp function indired-x.el
.
It is bound to C-x C-j.
(dired-jump &optional OTHER-WINDOW FILE-NAME)
Jump to Dired buffer corresponding to current buffer. If in a file,
Dired the current directory and move to file's line. If in Dired
already, pop up a level and goto old directory's line. In case the
proper Dired file line cannot be found, refresh the dired buffer and
try again.
When OTHER-WINDOW is non-nil, jump to Dired buffer in other
window. When FILE-NAME is non-nil, jump to its line in Dired.
Interactively with prefix argument, read FILE-NAME.
You can use dired-jump
from the builtin dired-x.el
. I have it bound to C-x C-j, you can setup your own key binding.
C-x C-j
runs the commanddired-jump
(found in global-map), which is an
interactive autoloaded compiled Lisp function indired-x.el
.
It is bound to C-x C-j.
(dired-jump &optional OTHER-WINDOW FILE-NAME)
Jump to Dired buffer corresponding to current buffer. If in a file,
Dired the current directory and move to file's line. If in Dired
already, pop up a level and goto old directory's line. In case the
proper Dired file line cannot be found, refresh the dired buffer and
try again.
When OTHER-WINDOW is non-nil, jump to Dired buffer in other
window. When FILE-NAME is non-nil, jump to its line in Dired.
Interactively with prefix argument, read FILE-NAME.
answered 1 hour ago
xuchunyang
7,4091823
7,4091823
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f44878%2fhow-open-dired-mode-from-any-buffer-by-one-hotkey%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password