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

Prevent redraw when leaving submode? #20

Open
kshenoy opened this issue Jul 2, 2014 · 1 comment
Open

Prevent redraw when leaving submode? #20

kshenoy opened this issue Jul 2, 2014 · 1 comment

Comments

@kshenoy
Copy link

kshenoy commented Jul 2, 2014

Hi, I have the following mappings:

call submode#enter_with( 'WinCycle'    , 'n', '', '<C-W><C-W>'  , '<C-W><C-W>'   )
call submode#map       ( 'WinCycle'    , 'n', '', '<C-W>'       , '<C-W><C-W>'   )

and it always redraws the screen when leaving the submode which is very distracting.
Is there a way to prevent it from doing that?

Also, are you planning on adding support for v:count?

Thanks. Love this plugin 👍

@ibrennan-handy
Copy link

I'm also running into some frustration with the redraws. My mappings:

for key in ['<C-J>', '<C-K>', '<C-H>', '<C-L>']
  call submode#enter_with('panes', 'n', '', '<C-W>'.key, '<C-W>'.key)
  call submode#map('panes', 'n', '', key, '<C-W>'.key)
endfor

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

No branches or pull requests

2 participants