refactor: finish moving ssh-* scripts to own installers
[webi-installers/.git] / vim-leader / README.md
1 ---
2 title: vim-leader
3 homepage: https://webinstall.dev/vim-leader
4 tagline: |
5   vim leader maps Space as Leader, keep Backslash and Comma as aliases
6 ---
7
8 To update (replacing the current version) run `webi vim-leader`.
9
10 ## Cheat Sheet
11
12 > `let mapleader = " "`
13
14 The `<Leader>` key is typically used for your own custom shortcuts.
15
16 By default it's mapped to `\` (backslash) - a legacy from a time when `\` was in
17 a more accessible place - but most people remap it to `,` or `` (space).
18
19 This vim-leader plugin makes Space the Leader key, but also remaps `\` and `,`
20 as aliases.
21
22 ### How to configure manually
23
24 The Leader key **_MUST_** be defined before any mappings that use it (probably
25 before any plugins) - pretty the first thing in your `~/.vimrc`.
26
27 ```vim
28 let mapleader = ' '
29 nmap <bslash> <space>
30 nmap , <space>
31 ```