Replies: 6 comments 21 replies
-
Currently, there are:
I think you are not asking about
I am open of doing both but ultimately we have to wait what @joelim-work thinks and perhaps also gather more user feedback regarding visual mode. As a quick workaround, add the following to the function case "visual-unselect":
if !app.nav.init {
return
}
dir := app.nav.currDir()
for _, path := range dir.visualSelections() {
if _, ok := app.nav.selections[path]; ok {
delete(app.nav.selections, path)
app.nav.selectionInd--
}
}
dir.visualAnchor = -1
normal(app) and map it to something like |
Beta Was this translation helpful? Give feedback.
-
@CatsDeservePets Your workaround is exactly what I need! I found it counterintuitive that in Visual mode you could only add items to the normal selection list, but not remove them. |
Beta Was this translation helpful? Give feedback.
-
As a user who’s gotten pretty used to I like the idea of having the visual list exposed, as I could possibly perform actions on batches of files while building a large selection list. For example, I could have dozens of files selected, come across a file I want to tag, and without affecting the entire |
Beta Was this translation helpful? Give feedback.
-
@DusanLesan, @veltza
|
Beta Was this translation helpful? Give feedback.
-
The main reason I was initially against during the implementation of #2021 was because I felt it was unnecessary - you can use Visual mode to select a large block of files, then quickly use I guess we can consider adding
|
Beta Was this translation helpful? Give feedback.
-
I created a pull request to add @DusanLesan, @veltza, @0x7375 you can test it if you want using this branch: Note: This branch is called visual-mode and is different to the one I previously shared, just called visual. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In Visual mode, there is a command called
visual-accept
that adds the visual selection to the selection list, but I would like to do the opposite and remove the selection from the selection list. So should there bevisual-unselect
or something similar that would work like this and then exit Visual mode?Beta Was this translation helpful? Give feedback.
All reactions