From d9f9ad02a614fff12429f59d76393479b8a89a3b Mon Sep 17 00:00:00 2001 From: Gabriele Bozzola Date: Sat, 3 Aug 2019 14:28:50 +0200 Subject: Improve punctiation, spacing and fix typos in README.md --- README.md | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 2746558..9ab5e0a 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ # Introduction -This emacs module implements a bridge to libvterm to display a terminal in a +This emacs module implements a bridge to libvterm to display a terminal in an emacs buffer. ## Warning -This is a **alpha-release**, so it will crash your emacs. If it does, please +This is an **alpha release**, so it will crash your emacs. If it does, please report a bug! # Installation @@ -18,11 +18,11 @@ Clone the repository: git clone https://github.com/akermu/emacs-libvterm.git ``` -Before install emacs-libvterm,you need make sure you have +Before installing emacs-libvterm, you need to make sure you have installed 1. cmake (>=3.11) - 2. libtool-bin related issues: [#66](https://github.com/akermu/emacs-libvterm/issues/66) [#85](https://github.com/akermu/emacs-libvterm/issues/85#issuecomment-491845136) - + 2. libtool-bin (related issues: [#66](https://github.com/akermu/emacs-libvterm/issues/66) [#85](https://github.com/akermu/emacs-libvterm/issues/85#issuecomment-491845136)) + Run the build: ``` @@ -34,15 +34,15 @@ make And add this to your `init.el`: -``` +``` elisp (add-to-list 'load-path "path/to/emacs-libvterm") (require 'vterm) ``` # Debugging and testing -If you have successfully build the module, you can test the module by executing -the following command in the `build` directory: +If you have successfully built the module, you can test it by executing the +following command in the `build` directory: ``` make run @@ -59,23 +59,24 @@ Open a terminal in the current window. Open a terminal in another window. ## `vterm-copy-mode` -When you enable `vterm-copy-mode`,the terminal buffer would behave like a normal -`read-only` text buffer. Then you can search in the output terminal, copy text, -etc. the default keybinding is `C-c C-t`. + +When you enable `vterm-copy-mode`, the terminal buffer behaves like a normal +`read-only` text buffer: you can search, copy text, etc. The default keybinding +is `C-c C-t`. # Customization ## `vterm-shell` -Shell to run in a new vterm. Defaults to `$SHELL`. +Shell to run in a new vterm. It defaults to `$SHELL`. ## Keybindings -If you want a key to be send to the terminal bind it to `vterm--self-insert`, -otherwise remove it from `vterm-mode-map`. By default vterm.el binds most of the +If you want a key to be sent to the terminal, bind it to `vterm--self-insert`, +or remove it from `vterm-mode-map`. By default, `vterm.el` binds most of the `C-` and `M-` keys, `` through `` and some special keys -like `` and ``. Sending a keyboard interrupt is by default -bound to `C-c C-c`. +like `` and ``. Sending a keyboard interrupt is bound to `C-c +C-c`. ## Colors -- cgit v1.0