Skip to content

lu-fennell/dired-dtach

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

dired-dtach

Utilities to spawn commands for opening files from dired. They require the dtach tool. Currently two features are supported:

  1. Opening a terminal from directory the directory of the current dired buffer (dired-dtach-open-terminal).
  2. Choose an application to open the file under point (dired-dtach-find-file). In contrast to Dired’s own & command, the spawned applications are completely detached and do not do things like exit when emacs exists, etc.

Usage:

(require 'dired-dtach)
(add-hook 'dired-mode-hook
          (lambda ()
            (define-key dired-mode-map "\C-m" 'dired-dtach-find-file)
            (define-key dired-mode-map (kbd "C-c t")  'dired-dtach-open-terminal)

Customization:

dired-dtach-default-launcher
default program to open files with
dired-dtach-terminal-command
the terminal emulator to use when opening terminals

About

Utilities to spawn commands with dtach from dired

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published