In vim, I have a command mapped to a shortcut to select all lines in a file and I'm trying to port this functionality over to vifm. I can enter the commands manually (ggVG) successfully, but when I want to set up the shortcut "a" it doesn't seem to be working.
Here's what i've done to try to set this up.
map <Leader>a ggVG
What am I missing?
map < Leader>a :select *< cr>
There is no <leader> in vifm at the moment, so you can't use that. Insert character you use as a leader into the mapping. For , that would be:
nnoremap ,a ggVG
I used nnoremap instead of map to limit to normal mode and avoid remappings in the right-hand side.