Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Switch line number and tag in finder rows #231

Merged
merged 1 commit into from
Feb 4, 2020

Conversation

110y
Copy link
Contributor

@110y 110y commented Feb 4, 2020

Switch positions of line number and tag in finder rows like below:

Before

image

After

image

In the normal vista window, tags place before line numbers like below. I think finder's columns order should be same as the window. Furthermore, tags which I think we might be most interested in will be aligned by this change like After image.

image

Does this make sense?

@110y 110y requested a review from liuchengxu February 4, 2020 13:38
@liuchengxu liuchengxu merged commit 5a4efb0 into liuchengxu:master Feb 4, 2020
@110y 110y deleted the finder-rows-order branch February 4, 2020 13:45
@liuchengxu
Copy link
Owner

Make some sense, thanks!

@dkarter
Copy link
Contributor

dkarter commented Mar 6, 2020

image

Unfortunately this broke FZF preview...

preview.sh expects the arguments in reverse order:

CleanShot 2020-03-06 at 16 05 20

But now it gets:

image

Which causes an error. I've tested this on multiple machines.

dkarter added a commit to dkarter/vista.vim that referenced this pull request Mar 7, 2020
This was broken since liuchengxu#231 when the object name and line number were
reversed. This PR uses grep to grab the line number only and pass it to
fzf preview.sh in the format it expects
This was referenced Mar 7, 2020
liuchengxu pushed a commit that referenced this pull request Mar 12, 2020
* Fix FZF Preview

This was broken since #231 when the object name and line number were
reversed. This PR uses grep to grab the line number only and pass it to
fzf preview.sh in the format it expects

* Exclude fix from win32

Close #248
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants