4 years ago
My left hand, arm and wrist get pretty beat up with sustained Vim usage—and my Vim usage is sustained almost every since day. I decided that hitting keys in sequence was easier than holding one down while pressing another, so it was better to use a leader key than to hold down CTRL. I codified this in a configurable plugin (https://github.com/Kazark/vim-leading-not-control), but if you want a flattened out version you can cut and paste, here's an example (replace
<Space> with whatever you want).
nmap <Space>d <C-d> nmap <Space>e <C-e> nmap <Space>g <C-g> nmap <Space>l <C-l> nmap <Space>t <C-t> nmap <Space>u <C-u> nmap <Space>v <C-v> nmap <Space>w <C-w> nmap <Space>y <C-y> nmap <Space>] <C-]> nmap g<Space>g g<C-g>
Phil Pirozhkov 4 years ago
You may replace with <leader>
Kazark 4 years ago
Yeah, my plugin allows you to set it to whatever you want. Personally, I use
, for leader, and
<Space> for this, because I have other things I want to map these keys to with
<leader>... but that's totally a personal preference thing!