shell layer: move some doc in DOCUMENTATION to shell layer README

This commit is contained in:
syl20bnr 2015-05-20 22:48:03 -04:00
parent d681234a71
commit c75a09c981
2 changed files with 3 additions and 21 deletions

View file

@ -89,6 +89,9 @@ Key Binding | Description
<kbd>SPC a s e</kbd> | Open, close or go to an `eshell`
<kbd>SPC a s i</kbd> | Open, close or go to a `shell`
<kbd>SPC a s t</kbd> | Open, close or go to a `term`
<kbd>SPC m h</kbd> | browse history with `helm` (works in `eshell` and `shell`)
<kbd>C-j</kbd> | next item in history
<kbd>C-k</kbd> | previous item in history
**Note** You can open multiple shells using a numerical prefix argument,
for instance pressing <kbd>2 SPC ;</kbd> will a second default shell, the

View file

@ -99,9 +99,6 @@
- [Opening files with NeoTree](#opening-files-with-neotree)
- [Other NeoTree key bindings](#other-neotree-key-bindings)
- [NeoTree mode-line](#neotree-mode-line)
- [Shells](#shells)
- [Key bindings](#key-bindings)
- [Staying in insert state](#staying-in-insert-state)
- [Bookmarks](#bookmarks)
- [DocView mode](#docview-mode)
- [Searching](#searching)
@ -1629,24 +1626,6 @@ The mode-line has the following format `[x/y] d (D:a, F:b)` where:
- `a` the number of directories in the current directory
- `b` the number of files in the current directory
### Shells
#### Key bindings
Key Binding | Description
--------------------|----------------------------------------------------------------
<kbd>C-j</kbd> | next item in history
<kbd>C-k</kbd> | previous item in history
<kbd>SPC m h</kbd> | browse history with `helm` (works in `eshell` and `shell`)
#### Staying in insert state
Navigating in shell buffers can be tricky because it is not possible to use the
leader in `insert state`. Switching back and forth between normal and insert
states can be tedious. The solution to this is to use <kbd>C-o</kbd> then use
the leader key. <kbd>C-o</kbd> set the next key to be evaluated in
`normal state`.
### Bookmarks
Bookmarks can be set anywhere in a file. Bookmarks are persistent. They are very