Browse Source

Simplify README.md

Fewer words, more explanation.
Weiyi Lou 10 years ago
parent
commit
4a91b4c581
1 changed files with 42 additions and 49 deletions
  1. 42 49
      README.md

+ 42 - 49
README.md

@@ -1,35 +1,31 @@
 # dotfiles
 
-These are configuration files for:
+Configuration files for:
 
-- Vim 7.4+ or NeoVim
+- Vim (7.4+) or NeoVim
 - Vimperator (3.8+)
 - Tmux
 - Zsh
 - Other bits and pieces
 
-The configs reflect a heavy preference for `vim`-like bindings.
+Heavy preference for `vim`-like bindings.
 
 ## Requirements
 
-- The configs only make sense with at least `zsh` and `vim` installed.
-- `zsh` has been used with 4.3.17 and up.
-- `vim` can work with 7.3, but is best with 7.4+ to have all the right patches.
+- `zsh` has been used with 4.3.17+.
+- `vim` can work with 7.3, but best with 7.4.
 
-## Optional
+## Recommended
 
-- The [Solarized][] dark colour palette makes the `zsh` prompt nicer.
-- The [Meslo][] font (Menlo, patched for powerline), makes `vim` and `tmux` look
-  better, and has [Rainbarf][] graph glyphs.
-- Vim with Python/Ruby support or NeoVim is needed for [Vim-Plug][] to perform
-  parallel downloads.
-- [The Silver Searcher][] should be installed where possible. If not available,
-  [Ack][] (part of this repo) will be used as a fallback (requires Perl 5.8.8).
-- Install [Pandoc][] for vim to generate documents from `.pandoc` files ([Pandoc
-  Markdown][]). Install [pandoc-citeproc][] for bibliographical assistance.
+- Colour palette: [Solarized][].
+- Font: [Meslo for Powerline][] (works well with [Rainbarf][]).
+- NeoVim or Vim+Python/Ruby support - for [Vim-Plug][] parallel downloads.
+- [The Silver Searcher][] - fast code search ([Ack][] included as fallback).
+- [Pandoc][] - Vim creates documents from `.pandoc` files ([Pandoc Markdown][]).
+- [pandoc-citeproc][] - bibliographical assistance when using Pandoc.
 
 [Solarized]: http://ethanschoonover.com/solarized
-[Meslo]: https://github.com/Lokaltog/powerline-fonts
+[Meslo for Powerline]: https://github.com/Lokaltog/powerline-fonts
 [Rainbarf]: https://github.com/creaktive/rainbarf
 [Vim-Plug]: https://github.com/junegunn/vim-plug
 [The Silver Searcher]: https://github.com/ggreer/the_silver_searcher
@@ -38,32 +34,26 @@ The configs reflect a heavy preference for `vim`-like bindings.
 [Pandoc Markdown]: http://pandoc.org/README.html#pandocs-markdown
 [pandoc-citeproc]: https://github.com/jgm/pandoc-citeproc
 
-## Set Up
-
-Clone this repository to the home folder, and run `setup.sh`:
+## Installation
 
+    $ cd ~
+    $ git clone https://code.parsleygardens.net/cinaeco/dotfiles.git
     $ ~/dotfiles/setup.sh
 
-Restart the shell after that.
-
-## Useful Things
+Make sure the default shell is ZSH. Restart the terminal session after that.
 
-Below are some examples of how this config is used. The list is not exhaustive.
-Users are encouraged to actually read the dotfiles. Comments within the configs
-hopefully help users to understand, modify and improve.
+## Usage
 
-And improve you should. Streamline your work flow. Introspect constantly. See
-what others do. Enjoy the amount of time wasted on tweaking a setup :D
+Below is a non-exhaustive list of how this config is used.
 
 ### Zsh
 
-- Git prompt status tries to reflect the actual work tree state, not just hint
-  at existence of change types like others.
-- Mostly-Mnemonic Git shortcuts. (Go learn Git.)
-- SSH agent forwarding persists through `tmux`/`sudo` when remotes also
-  use these dotfiles. (Please use agent forwarding with prudence.)
+- `z` folder jumping enabled, i.e. `z regex` = `cd /path/with/regex`.
+- Shell prompt displays Git repository info and work tree status.
+- Mostly-Mnemonic Git shortcuts, e.g. `gs` is `git status`, `gd` is `git diff`.
+- SSH agent use is encouraged. `ssh-add` is run at shell start if an identity is
+  not already loaded.
 - A `.zshlocal` file can contain machine-specific settings.
-- `z` folder jumping enabled, e.g. `z regex` = `cd /path/with/regex`.
 
 ### Vim
 
@@ -72,10 +62,11 @@ what others do. Enjoy the amount of time wasted on tweaking a setup :D
 - `<Leader>w` saves.
 - `<Leader>q` closes files.
 - `<Leader>l` lists loaded buffers and lets you jump to them by number.
-- `<Leader>p` fuzzy-finds files. Best in Git repositories.
+- `<Leader>p` fuzzy-finds files.
 - `<Leader>f` fuzzy-finds functions in the current file.
 - `<Leader>t` opens a function/variable list for the current file.
 - `<Leader>n` toggles line numbers.
+- `<Leader>c` finds VCS conflict markers.
 - Additional text objects exist (see `'Text Objects'` in [plugins.vim][]).
 - Saving `.pandoc` files also outputs `.docx` versions.
 - `:Goyo` for distraction-free writing.
@@ -85,26 +76,28 @@ what others do. Enjoy the amount of time wasted on tweaking a setup :D
 
 ### Tmux
 
-`Ctrl-a` is the `Prefix`. `PrefixHold` = Hold down `Ctrl` during that binding.
+`<C-a>` = `Ctrl-a` = the tmux prefix.
 
-- `Prefix + vi motion` moves around panes.
-- `PrefixHold + vi motion` moves around windows.
+- `<C-a> + [vi motion]` moves around panes.
+- `<C-a> + <C-[vi motion]>` moves around windows.
 - `Alt/Meta + number` moves to window number (1-10).
-- `Prefix + -` cuts a pane horizontally,
-- `Prefix + \` cuts a pane vertically (think `|`).
-- `Prefix + s` starts synchronized panes.
-- `PrefixHold + s` swaps between sessions.
-- Mouse support works to select/resize panes/windows.
+- `<C-a> + -` cuts a pane horizontally,
+- `<C-a> + \` cuts a pane vertically (think `|`).
+- `<C-a> + s` starts synchronized panes.
+- `<C-a><C-s>` swaps between sessions.
+- Mouse support works for selecting and resizing panes/windows.
 
 ### Vimperator
 
-Apart from all the default vimperator goodness e.g.
+Apart from the default Vimperator goodness e.g.
+
 - `/` searches like `vim`.
 - `f` and `F` follow links on this tab/in a new tab.
 - et cetera...
 
-This config provides the following:
-- `h` and `l` move left and right between tabs.
-- `j` and `k` half-pages down and up (`<C-d>`/`<C-u>` equivalents).
-- `H`, `J`, `K`, `L` are small motions (5 lines or chars) within a page.
-- `<C-h>` and `<C-l>` relocate a tab left and right.
+These dotfiles provide the following:
+
+- `h` and `l` - move left and right between tabs.
+- `j` and `k` - scroll the page down and up.
+- `H`, `J`, `K`, `L` - scroll the page slowly (left, down, up, right).
+- `<C-h>` and `<C-l>` - relocate a tab left and right.