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

V3 #21

Merged
merged 10 commits into from
Jan 10, 2018
Merged

V3 #21

merged 10 commits into from
Jan 10, 2018

Conversation

sum01
Copy link
Collaborator

@sum01 sum01 commented Dec 28, 2017

So I completely understand if you don't want to merge this, as I basically rewrote the whole thing.

Note that while this PR requires Micro >= v1.3.5, I kept the old version in the repo.json so that people not on v1.3.5 can still use the previous version.


Anyways, this PR brings:

Fixes

Adds

  • Directory minimizing/maximizing, without moving into them, by nesting the content below the dir.
  • File/directory renaming, creation, & deletion.
  • An editorconfig file of my own preference, since no one responded to Formatting contributions #15
  • Safe functions for all actions so any/all actions can be rebound by the end-user.

Changes

  • To read-only, so you can't mess with the tree.
  • Some keybindings to work safely with the tree view (read-only doesn't magically fix everything).
  • The Enter keybind was changed to Tab because read-only disables the enter key.
  • The example picture, so that it shows the new dir content nesting feature.
  • The README, so that the user can glean everything the plugin offers easily.

Removed

  • Most keybindings that normally cause issues.
  • The pointless gitignore.

I'm aware there's some dead code, and other little general weirdness, but I figure that for the most part my branch is finished. Sure things could be more clean and whatnot, but something > nothing.

Fixes #13, fixes #14, fixes #19

Adds directory minimizing/maximizing, without moving into them, by putting the content below it.
Adds file/directory renaming, creation, & deletion.

Changes to read-only so you can't mess with the tree.
Changes some keybindings to work safely with the tree view.

Disable most keybindings that normally cause issues.
Removed the png, will replace it with a gif in the future
I think it works without them, but it's better to be verbose.
@tommyshem
Copy link

Looks good but there is a problem with the left mouse clicking on long lists. (does not open or opens the wrong filename.) Needs looking in to.
@NicolaiSoeborg A lot of good features added, I have no problems with the pull request when mouse bug is fixed.

@sum01
Copy link
Collaborator Author

sum01 commented Jan 7, 2018

@tommyshem The exact issue is here https://github.com/sum01/filemanager-plugin/issues/8
I don't know of a fix for it, and zyedidia didn't respond when I pinged him on Gitter about it.

Uses a new function in micro-1.3.5-dev.67
@sum01
Copy link
Collaborator Author

sum01 commented Jan 9, 2018

The mouseclick issue is fixed.

@tommyshem
Copy link

@NicolaiSoeborg Can be pulled in if you are happy with it.

@NicolaiSoeborg NicolaiSoeborg merged commit d3b550c into NicolaiSoeborg:master Jan 10, 2018
@sum01 sum01 deleted the v3 branch January 10, 2018 17:25
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.

3 participants