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

Leader for windows #82

Closed
benknoble opened this issue Jul 28, 2017 · 0 comments
Closed

Leader for windows #82

benknoble opened this issue Jul 28, 2017 · 0 comments
Assignees
Milestone

Comments

@benknoble
Copy link
Owner

benknoble commented Jul 28, 2017

Expected Behavior

I would like to be able to use <Leader>w as a prefix for all my window commands.

Current Behavior

Switching/closing/newing windows: <C-w><some key from wnsvhjklc>
Editing size: <C-e> (also includes swapping windows)
Using window swap: <Leader>ww

Possible Solution

nnoremap <Leader>w<all those window keys> <C-w><all those window keys>
let g:winresizer_start_key=<Leader>we
let g:windowswap_map_keys=0
nnoremap <Leader>wm :call WindowSwap#EasyWindowSwap()<CR>

Of course, since winresizer now supports moving windows (really moving buffers, as the window layout doesn't change), I might get rid of windowswap. See #57 for details on windowsizing.

Context

Speed me up a little! I'm tired of chords!

Your Environment

  • Version used (e.g. Dotfiles 1.0 or commit 7c102b6): Dotfiles commit 5db4ddf
  • Operating System and version (e.g. OS X 10.11.6): OS X 10.11.6
  • CLI used (e.g. Terminal): Terminal
  • Version info of relevant software (e.g. Vim): brew Vim
@benknoble benknoble added this to the Version 1.1 milestone Jul 28, 2017
@benknoble benknoble self-assigned this Jul 28, 2017
@benknoble benknoble modified the milestones: Version 1.1, Version 1.2 Jul 30, 2017
benknoble added a commit that referenced this issue Aug 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant