Weiyi Lou 10 лет назад
Родитель
Сommit
fc4df95126
2 измененных файлов с 34 добавлено и 34 удалено
  1. 33 33
      README.md
  2. 1 1
      zsh/custom/zshlocal.zsh

+ 33 - 33
README.md

@@ -55,29 +55,29 @@ Enjoy the amount of time wasted on tweaking a setup :D
 
 ### Zsh
 
- - Git prompt tries to reflect the actual file state, not just hint at change
-   types.
- - Mostly-Mnemonic Git shortcuts. Go learn Git.
- - SSH agent forwarding persists through `tmux`/`sudo` when remotes also
-   use these dotfiles. (Be a one-private-key kind of person.)
- - A `.zshlocal` file can contain machine-specific settings.
- - `z` folder jumping enabled, e.g. `z regex` = `cd /path/with/regex`.
+- Git prompt tries to reflect the actual file state, not just hint at change
+  types.
+- Mostly-Mnemonic Git shortcuts. Go learn Git.
+- SSH agent forwarding persists through `tmux`/`sudo` when remotes also
+  use these dotfiles. (Be a one-private-key kind of person.)
+- A `.zshlocal` file can contain machine-specific settings.
+- `z` folder jumping enabled, e.g. `z regex` = `cd /path/with/regex`.
 
 ### Vim
 
 `Space` is the `<leader>`.
 
- - `<leader>d` is the filebrowser (netrw).
- - `<leader>p` fuzzy-finds files. Best in Git repositories.
- - `<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>w` saves.
- - `<leader>q` closes files.
- - Additional text objects exist (see `'Text Objects'` in [plugins.vim][]).
- - Saving `.pandoc` files also outputs `.docx` versions.
- - Activate `:Goyo` for distraction-free writing.
- - Don't forget to invoke `:call UltraPower()`.
+- `<leader>d` is the filebrowser (netrw).
+- `<leader>p` fuzzy-finds files. Best in Git repositories.
+- `<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>w` saves.
+- `<leader>q` closes files.
+- Additional text objects exist (see `'Text Objects'` in [plugins.vim][]).
+- Saving `.pandoc` files also outputs `.docx` versions.
+- Activate `:Goyo` for distraction-free writing.
+- Don't forget to invoke `:call UltraPower()`.
 
 [plugins.vim]: vim/plugins.vim
 
@@ -85,27 +85,27 @@ Enjoy the amount of time wasted on tweaking a setup :D
 
 `Ctrl-a` is the `Prefix`. `PrefixHold` = Hold down `Ctrl` during that binding.
 
- - `Prefix + vi motion` moves around panes.
- - `PrefixHold + 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.
+- `Prefix + vi motion` moves around panes.
+- `PrefixHold + 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.
 
 ### Vimperator
 
 Apart from all the default vimperator goodness e.g.
- - `/` searches like `vim`.
- - `f` and `F` follow links on this tab/in a new tab.
- - et cetera...
+- `/` 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.
+- `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.
 
 ## Issues
 

+ 1 - 1
zsh/custom/zshlocal.zsh

@@ -3,5 +3,5 @@
 # Some settings are specific to machines and should not be in a general dotfiles
 # repository. Read a local file that stores such settings.
 if [[ -r ~/.zshlocal ]]; then
-    source ~/.zshlocal
+  source ~/.zshlocal
 fi