Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What is the tool used in the example where they select files and then delete them?

https://omar.website/tabfs/doc/delete.mp4

Ah, I see now. It is called "dired". I wonder if it can be used standalone, without emacs.



You might like Ranger[1]. It's not dired, but has similar rich set of features.

[1]: https://github.com/ranger/ranger


There is also `vidir` which is part of `moreutils`:

https://joeyh.name/code/moreutils/


You could always

     emacs --eval '(dired ".")'
to immediately start emacs-dired in this directory :-)


Also:

    $ cat ~/bin/dired
    #!/bin/bash

    # Launch Dired in a plain Emacs configuration.

    # Arguments are passed to Emacs, e.g. "-nw" works as expected.

    emacs -q "$@" \
          --eval "(dired default-directory)" \
          --eval "(defun kill-window-or-emacs () (interactive) (if (one-window-p) (kill-emacs) (delete-window)))" \
          --eval "(setq dired-dwim-target t delete-by-moving-to-trash t)" \
          --eval "(define-key dired-mode-map (kbd \"q\") #'kill-window-or-emacs)"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: