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

Is it possible to only use one mode? #25

Open
nyngwang opened this issue Jan 3, 2022 · 2 comments
Open

Is it possible to only use one mode? #25

nyngwang opened this issue Jan 3, 2022 · 2 comments

Comments

@nyngwang
Copy link

nyngwang commented Jan 3, 2022

As title. Is there a shortcut to use move mode only, for example? So I don't have to cycle through all the other modes to find it.

@fresh2dev
Copy link

Also curious about this. I enable auto-window resizing, and also use camspiers/lens.vim to manage window size automatically.

The only thing I am interested in is the ability to move windows with h/j/k/l. I'd like to make this the default mode.

@KSR-Yasuda
Copy link

How's setting key mapping in your .vimrc?

The key mapping is set below:
https://github.com/simeji/winresizer/blob/master/plugin/winresizer.vim#L119

So, to set move mode, add below:

exe 'nnoremap ' . g:winresizer_start_key .' :WinResizerStartMove<CR>'

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

3 participants