mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
946 B
946 B
title, homepage, tagline
| title | homepage | tagline |
|---|---|---|
| vim-leader | https://webinstall.dev/vim-leader | vim leader maps Space as Leader, keep Backslash and Comma as aliases |
To update (replacing the current version) run webi vim-leader.
Files
These are the files / directories that are created and/or modified with this install:
~/.vimrc
Cheat Sheet
let mapleader = " "
The <Leader> key is typically used for your own custom shortcuts.
By default it's mapped to \ (backslash) - a legacy from a time when \ was in
a more accessible place - but most people remap it to , or `` (space).
This vim-leader plugin makes Space the Leader key, but also remaps \ and ,
as aliases.
How to configure manually
The Leader key MUST be defined before any mappings that use it (probably
before any plugins) - pretty much the first thing in your ~/.vimrc.
let mapleader = ' '
nmap <bslash> <space>
nmap , <space>