[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dired commands/vars i can't find
From: |
Samuel Wales |
Subject: |
Re: dired commands/vars i can't find |
Date: |
Tue, 10 Jan 2023 23:48:15 -0700 |
well it seems i found a function that does 2. i wrote it long ago.
idk if it works. or in all cases, but i have it.
(defun alpha-dired-up-alternate ()
(interactive)
(let* ((dir (dired-current-directory))
(up (file-name-directory (directory-file-name dir))))
(find-alternate-file up)))
and i had it bound, even. up to ' and alternate to shift-'.
so probably all i need is 1.
On 1/10/23, Samuel Wales <samologist@gmail.com> wrote:
> i can't seem to find a few things i want in dired that probably exist.
>
>
> 1. suppose you run dired fro a file. i beierve there is a setting
> that will put point on that file's line insted of at top. whatis it?
>
> 2. also, i i clutter buffer space with dired dirs. i thini you are
> supposed to use a instead of ret when you vist from dired.
> is there a dired-up-directory equivalent of this? that is, i want a
> version of dired-up-directory that reuse the current buffer.
>
> thank you. please to: me if you can. or perhaps cc: will work as
> well, idk. [of course it is ok to include the mailing list.]
>
--
The Kafka Pandemic
A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com