Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vim-leader-guide maps for visual and normal mode not done. #4

Open
EvanQuan opened this issue Nov 14, 2018 · 1 comment
Open

vim-leader-guide maps for visual and normal mode not done. #4

EvanQuan opened this issue Nov 14, 2018 · 1 comment
Assignees
Labels

Comments

@EvanQuan
Copy link
Owner

vmath has different leader commands for normal and visual mode.

" vmath {{{

" Calculates sum, average, min, and max of a selection of numbers.
"
vnoremap <leader>m y:call VMATH_Analyse()<CR>
nnoremap <leader>m vipy:call VMATH_Analyse()<CR>

" }}}

Haven't figured out how to map differently for normal and visual mode for vim-leader-guide

" TODO Figure out how to have it work for both normal and visual mode
" let g:lmap.m = ['visual' : 'Sum/Average/Min/Max']
@EvanQuan EvanQuan self-assigned this Nov 14, 2018
@EvanQuan EvanQuan added the bug label Nov 14, 2018
@EvanQuan
Copy link
Owner Author

Partially fixed as of v2.1.0. With vim-leader-guide prompt, label is added and command works in normal mode. Outside of vim-leader-guide, both leader commands work in their respective modes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant