2015-12-02 14:23:39 +00:00
|
|
|
#+TITLE: Vinegar layer
|
2015-11-08 18:04:44 +00:00
|
|
|
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="../../../css/readtheorg.css" />
|
2015-06-08 10:07:50 +00:00
|
|
|
|
2015-10-30 11:20:58 +00:00
|
|
|
* Table of Contents :TOC_4_org:noexport:
|
|
|
|
- [[Description][Description]]
|
|
|
|
- [[Features][Features]]
|
|
|
|
- [[Mouse bindings][Mouse bindings]]
|
|
|
|
- [[Key bindings][Key bindings]]
|
2015-06-08 10:07:50 +00:00
|
|
|
|
2015-08-22 17:18:37 +00:00
|
|
|
* Description
|
2015-06-08 10:07:50 +00:00
|
|
|
This layer is a port contribution layer for vim-vinegar for emacs.
|
|
|
|
|
|
|
|
A port of tpope's vinegar.vim
|
|
|
|
[vinegar][https://github.com/tpope/vim-vinegar], simplifying =dired=
|
|
|
|
with a limited number of details and exposing the ~-~ command in all
|
|
|
|
buffers to enter dired.
|
|
|
|
|
|
|
|
** Features
|
|
|
|
- navigation up folders with ~-~ key
|
|
|
|
- simplify dired buffer to show only file names
|
|
|
|
- better evil/vim bindings for navigation within dired buffer
|
|
|
|
- keep only one active dired buffer
|
|
|
|
- Use dired-k extension to show time / vcs related information in
|
|
|
|
single bar
|
|
|
|
- right mouse click moves up directory if in blank space or shows context menu
|
|
|
|
|
|
|
|
** Mouse bindings
|
|
|
|
|
|
|
|
| Mouse Binding | Description |
|
|
|
|
|---------------+-----------------------------------------------|
|
|
|
|
| ~mouse-1~ | (Dired) Open selected file |
|
|
|
|
| ~mouse-2~ | (Dired) Open clicked file in other-window |
|
|
|
|
| ~mouse-3~ | (Dired) Open context popup or go up directory |
|
|
|
|
|
|
|
|
** Key bindings
|
|
|
|
|
|
|
|
| Key Binding | Description |
|
|
|
|
|-------------+----------------------------------------------------|
|
|
|
|
| ~-~ | Navigate to parent directory in dired |
|
|
|
|
| ~0~ | (Dired) Move to the beginning of the file in dired |
|
|
|
|
| ~=~ | (Dired) Diff between selected files |
|
|
|
|
| ~C-j~ | (Dired) Move to next subdirectory |
|
|
|
|
| ~C-k~ | (Dired) Move to previous sbdirectory |
|
|
|
|
| ~I~ | (Dired) Toggle showing dotfiles |
|
|
|
|
| ~~~ | (Dired) Navigate to home directory |
|
|
|
|
| ~f~ | (Dired) Helm find file |
|
2015-08-22 17:18:37 +00:00
|
|
|
| ~J~ | (Dired) Goto file |
|
2015-06-08 10:07:50 +00:00
|
|
|
| ~C-f~ | (Dired) dired-find |
|
|
|
|
| ~H~ | (Dired) Show dired history |
|
|
|
|
| ~T~ | (Dired) Move down in dired tree |
|
|
|
|
| ~K~ | (Dired) Kill marked lines (hide, do not delete) |
|
|
|
|
| ~r~ | (Dired) Redisplay buffer |
|
|
|
|
|