Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.

how to use <space> as map leader

0 votes
asked Oct 12 in vifm by Peter

Hi fellow Vim users,

I been using vim a few years now and I just recently discover vifm. I mapped my leader key in vim to space and would like to do the same in vifm.

I tried the below but it doesn't seem to be working. Any suggestions is appreciated.

Peter

nnoremap <Space> <nop> 
let mapleader=" "

nnoremap <leader>q :quit<CR> " doesn't work 
nnoremap ,q :quit<CR> " work around

1 Answer

0 votes
answered Oct 12 by xaizek

Hi Peter,

<leader> and variables like mapleader aren't supported. Use <space> explicitly.

commented Oct 12 by Peter

Hi xaizek,

Thanks for the response. <space> worked for what I wanted to do.

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.
...