https://github.com/syohex/emacs-dired-k.git
git clone 'git://github.com/syohex/emacs-dired-k.git'
dired-k.el
highlights dired buffer like k.
(This may works only default dired setting)
You can install dired-k
from MELPA with package.el.
dired-k
Highlight dired buffer by following parameters.
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
.
(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)
(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)