dired-k.el
highlights dired buffer like k.
(This may works only default dired setting)
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]
Highlight dired buffer by following parameters.
- File size
- Modified time
- Git status(if here is in git repository)
Same as dired-k
, except this command does not call revert-buffert
.
This command can set to a hook dired-after-readin-hook
.
View like k.zsh
if this value is nil
. View like git status --short
if
this value is 'git
.
Set non-nil if you add -h
or --human-readable
option to dired-listing-switches
.
Number of spaces around git status character.
(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)
(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)