Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

add new open-selected-entry-without-activate command #905

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

t9md
Copy link

@t9md t9md commented Aug 4, 2016

Add new command:

Name: tree-view:open-selected-entry-without-activate
Scope: .tree-view
defaultKeymap: o

What's difference from normal open-selected-entry?

  • tree-view:open-selected-entry-without-activate don't change focus to newly opened item, focus remains on treeView so that I can continue to open next item by o for quick previewing.
  • Item is opened with pending mode.

Motivation

I want to quickly preview multiple file, so don't want to loose focus of treeView after opening item.
I can do this by single clicking item with mouse, but I want to do this with keyboard navigation.
With this new feature and keybinding, user can do jojojo to quickly preview three files sequentially.

open-selected-item-without-activate

Name of command

Which is better? not sure
tree-view:open-selected-entry-without-activate vs tree-view:preview

Focus remain on treeView, entry spend with pending state.
@calebmeyer
Copy link

calebmeyer commented Aug 4, 2016

I would vote for tree-view:preview or tree-view:open-selected-entry-keep-focus

Also +1

@t9md
Copy link
Author

t9md commented Aug 6, 2016

I noticed there was similar issue in the past #413.
In spite of this comment.
It hasn't implemented yet.
The 'right' key activate newly opened pane original request of #413 is to set false for activatePane arg.
So this issue is duplicate request but with updated version.

Please take a look, this is long lived and common feature request which is not resolved yet.

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

Successfully merging this pull request may close these issues.

3 participants