]> git.lizzy.rs Git - micro.git/commitdiff
Add documentation for splits
authorZachary Yedidia <zyedidia@gmail.com>
Sat, 9 Jul 2016 15:40:46 +0000 (11:40 -0400)
committerZachary Yedidia <zyedidia@gmail.com>
Sat, 9 Jul 2016 15:40:46 +0000 (11:40 -0400)
runtime/help/help.md

index 031382b892faaefc40b88af7727c10c67a54f876..446e1713aba1b6c7faf2cfb9bd299c852aa07858 100644 (file)
@@ -78,6 +78,7 @@ you can rebind them to your liking.
        "CtrlB":          "ShellMode",
        "CtrlQ":          "Quit",
        "CtrlE":          "CommandMode",
+       "CtrlW":          "NextSplit",
        
        // Emacs-style keybindings
        "Alt-f": "WordRight",
@@ -114,6 +115,7 @@ You can execute an editor command by pressing `Ctrl-e` followed by the command.
 Here are the possible commands that you can use.
 
 * `quit`: Quits micro.
+
 * `save`: Saves the current buffer.
 
 * `replace "search" "value" flags`: This will replace `search` with `value`. 
@@ -133,6 +135,12 @@ Here are the possible commands that you can use.
 * `bind key action`: creates a keybinding from key to action. See the sections on
    keybindings above for more info about what keys and actions are available.
 
+* `vsplit filename`: opens a vertical split with `filename`. If no filename is
+   provided, a vertical split is opened with an empty buffer
+
+* `hsplit filename`: same as `vsplit` but opens a horizontal split instead of
+   a vertical split
+
 ### Options
 
 Micro stores all of the user configuration in its configuration directory.