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

Navigate between view #1504

Merged
merged 2 commits into from
May 2, 2017
Merged

Navigate between view #1504

merged 2 commits into from
May 2, 2017

Conversation

lyup
Copy link
Contributor

@lyup lyup commented Apr 13, 2017

Ref #1375. Leverage new Code api to navigate between viewlets, panels, editors by -.

This is contributed by rebornix/Peng's personal account on his personal machine in personal time.

package.json Outdated
@@ -187,6 +187,31 @@
"when": "editorTextFocus && vim.use<C-[> && !inDebugRepl"
},
{
"key": "ctrl+w h",
"command": "extension.vim_navigateLeft",
"when": "vim.use<C-w>"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are all for when !editorTextFocus right? we should add !editorTextFocus

Because then the actions.ts ones cover when we are focused?

@johnfn
Copy link
Member

johnfn commented Apr 16, 2017

This is awesome. Would love to see it land.

@xconverge
Copy link
Member

I didn't even read/see who you were :)

@mightyiam
Copy link

This will save my life.

@rebornix rebornix changed the title [WIP] navigate between view Navigate between view May 2, 2017
@rebornix rebornix merged commit f45d6aa into VSCodeVim:master May 2, 2017
@johnfn
Copy link
Member

johnfn commented May 2, 2017

I am not a huge fan of defining keybindings purely in package.json because then we can't remap them. :/

@rebornix
Copy link
Member

rebornix commented May 2, 2017

@johnfn I see your points. Let's see if vim.remap command help in this case, if not, I'll tweak the code accordingly :)

@Chillee
Copy link
Member

Chillee commented May 4, 2017

I don't think this handles ctrl+w j and ctrl+w k right?

@ghost
Copy link

ghost commented May 5, 2017

@rebornix Any reason why only ctrl+w h/l is supported?
ctrl+w j/k would be super useful when move focus between terminal and editor pane

@charliesbot
Copy link

ctrl-w w should be part of this enhancement too

This pull request was closed.
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

Successfully merging this pull request may close these issues.

7 participants