

GitHub - syohex/emacs-dired-k: Highlighting dired buffer like k
source link: https://github.com/syohex/emacs-dired-k
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

dired-k.el
dired-k.el
highlights dired buffer like k.
(This may works only default dired setting)
screenshot
k.zsh style
git status --short style
direx version
Installation
dired-k
is available on MELPA and MELPA stable
You can install dired-k
with the following command.
M-x package-install [RET] dired-k [RET]
Commands
dired-k
Highlight dired buffer by following parameters.
- File size
- Modified time
- Git status(if here is in git repository)
dired-k-no-revert
Same as dired-k
, except this command does not call revert-buffert
.
This command can set to a hook dired-after-readin-hook
.
Customization
dired-k-style
(Default nil
)
View like k.zsh
if this value is nil
. View like git status --short
if
this value is 'git
.
dired-k-human-readable
(Default nil
)
Set non-nil if you add -h
or --human-readable
option to dired-listing-switches
.
dired-k-padding
(Default 0)
Number of spaces around git status character.
Sample Configuration
dired-k
(require 'dired-k)
(define-key dired-mode-map (kbd "K") 'dired-k)
;; You can use dired-k alternative to revert-buffer
(define-key dired-mode-map (kbd "g") 'dired-k)
;; always execute dired-k when dired buffer is opened
(add-hook 'dired-initial-position-hook 'dired-k)
(add-hook 'dired-after-readin-hook #'dired-k-no-revert)
direx-k
(require 'direx-k)
(global-set-key (kbd "C-\\") 'direx-project:jump-to-project-root-other-window)
(define-key direx:direx-mode-map (kbd "K") 'direx-k)
</article
Recommend
-
163
emamux.el Interact with tmux from Emacs. Screenshot Introduction emamux.el let emacs interact with tmux. emamux.el is inspired by
-
181
This package is no longer maintained. If you have an issue or pull request, please send it to https://github.com/FelipeLema/emacs-counsel-gtags counsel-gtags.e...
-
57
Using Emacs 38 - dired The 38th installment of Using Emacs is about dired, Emacs' built in mode for navigating and working with directories.
-
158
helm-ag.el Introduction helm-ag.el provides interfaces of The Silver Searcher with helm. Features Support multiple sea...
-
76
README.md go-eldoc.el
-
72
README.md anzu.el
-
41
Álvaro Ramírez 05 October 2019 Show/hide Emacs dired details in style Emacs
-
34
Description This Emacs packages provides a minor mode which shows git information inside the dired buffer: Installation GNU ELPA This package is available on GNU ELPA. Yo...
-
9
Emacs文件管理神器--dired常用操作说明 进入Dired 有几种方式都能够进入Dired: 直接运行 M-x dired, 然后输入要定位到的哪个目录的路径就行了. 默认情况下,Emacs会将当前buffer的
-
16
[Emacs Tips] 使用 Dired 快速移动文件关注 EmacsTalk 收获更多 Emac...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK