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

Revise ./shell/mf to open both the .docs.md and the .md file upon entering. #7

Closed
rsyi opened this issue Jun 10, 2020 · 1 comment
Closed
Labels
enhancement New feature or request
Projects

Comments

@rsyi
Copy link
Owner

rsyi commented Jun 10, 2020

Currently, opening a table entry selected in mf will open the .docs.md file, but this means that for tables with many columns or for small screens, you may not be able to see all the basic metadata. This is an edge case, but in this case the current only workaround is to run mf --a. We might want to consider changing the default behavior to just open both files, but make the .md metadata stub read-only. Ideally, these would show up in a split pane setup.

In vim, you can run vim -o to open two splits, which we really ought to do (with the focus on the .docs.md split). But we need to add some case statements to ensure that, for users not using vim, the resulting behavior is reasonable.

@rsyi rsyi added this to To Do in v0.0.0 via automation Jun 10, 2020
@rsyi rsyi added the enhancement New feature or request label Jun 10, 2020
@rsyi
Copy link
Owner Author

rsyi commented Jun 16, 2020

Turns out fzf supports scrolling in the preview window, so I think there's no longer a real need for this. Closing.

@rsyi rsyi closed this as completed Jun 16, 2020
v0.0.0 automation moved this from To Do to Done Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
v0.0.0
  
Done
Development

No branches or pull requests

1 participant