Questions tagged [dired]
Dired is a major mode that allows users to edit files and directories on a file system. It is essentially a file browser, with a wide range of features and an appearance similar to the `ls` command.
513
questions
0
votes
0
answers
8
views
Keeping dired minor modes on/off across buffers
I frequently toggle the two minor modes dired-omit-mode and dired-hide-details-mode in dired buffers. If I move into a new directory, dired creates a new buffer, and so these minor modes will (since I ...
1
vote
1
answer
61
views
Dired: Changing compression algorithm
In dired, if I press Z on a file it compresses it using gzip.
Is there a value I can change/key I can press so that it uses a different compression algorithm? Such as lzma for instance?
0
votes
1
answer
54
views
what does "drwxrwxrwx" mean in dired
I'm pretty new to Emacs and haven't used Linux much in the past. So I'm not sure what these strings of text means in Emacs. It's clear that any directory starts with the letter d and a document starts ...
0
votes
0
answers
36
views
Change escape characters of substitutions in dired-do-shell-command
I've recently found nushell and made it my default shell, and in many ways it's great, but the syntax does differ a bit from bash, and that causes substitutions to be wrong when I use dired-do-shell-...
0
votes
0
answers
16
views
projectile not showing files under a .git directory
I had a directory structure like this:
.projectile
lots of folders
onefolder/nested/.git
onefolder/bunch of other stuff
when locked into the top-level project, none of the files under the .git ...
0
votes
0
answers
57
views
Add a shell command to dired mode
I want to add a command to dired-mode, which executes a shell command on the highlighted file. For example, from Bash, I can run qvm-copy {FILENAME}. I would like to replicate this behavior, but from ...
0
votes
1
answer
28
views
How can I jump to a file in dired after M-x locate?
If I M-x locate a file, then want to open it in dired, there's no function to jump directly to the file.
I can only hit V, which opens the directory, but it does not highlight the file.
1
vote
1
answer
39
views
Can `dired-do-compress` unzip to a different directory by default?
If I try to unzip a file, it will put the unzipped file in the same directory as the zip file. Is there any way to make it uncompress to a particular directory all the time?
0
votes
1
answer
92
views
"Aliasing" `ls` to `gls`
gls not ls:
My system has two forms of ls, the standard "old school" version of ls, and GNU ls which is available as gls. In my shell, I simply created an alias to use gls, but I have not ...
0
votes
0
answers
56
views
Opening any 2mb jpg image in dired freezes emacs
Viewing any .jpg image > 1MB makes emacs unresponsive for over a minute. <200KB .jpg work instantly. Any ideas where to start investigating?
Hitting RET on this 2.8MB.jpg. Profiler (cpu+mem) ...
0
votes
0
answers
14
views
Setting `scroll-conservatively` to 101 causes `dired` buffer can not be recentered when revert
When I set scroll-conservatively to 101 as recommended from many scrolling packages. But I find that in a dired buffer containing many files, revert-buffer (g) will not recenter the point to center ...
0
votes
1
answer
52
views
How can I directly org-attach from M-x locate results?
What I'm trying to do is use org-attach-dired-to-subtree when I find something I'm looking for with M-x locate.
That doesn't work, cause M-x locate results is not a dired buffer.
0
votes
0
answers
42
views
dired-do-rename and last path in minibuffer
When attempting to move a file in Dired using dired-do-rename, the prompt in the minibuffer currently defaults to the directory from which the files are being moved. It would be beneficial if Dired ...
1
vote
1
answer
399
views
How do I customize the icons used in nerd-icons package
I'm new to emacs and installed the nerd-icons.el package along with the package
nerd-icons dired. The problem is I don't like the icons set as default.
Even though i've read the nerd-icons GitHub page,...
0
votes
1
answer
137
views
How do I hide dotfiles only in the home directory in dired buffers?
I would like to hide dotfiles only in the home directory in dired buffers, but I do not know how to achieve this. I have been trying with the following:
(use-package dired
:ensure nil
:commands (...