Permalink
Commits on Jun 15, 2018
  1. Merge pull request #853 from bubba-h57/master

    PhilRunninger committed Jun 15, 2018
    Better OSX detection
  2. Better OSX detection

    bubba-h57 committed Jun 15, 2018
Commits on Jun 12, 2018
  1. Merge pull request #852 from mnussbaum/fix_maybe_missing_map

    PhilRunninger committed Jun 12, 2018
    Bugfix - ensure keymaps dictionary exists before using it
  2. Bugfix - ensure keymaps dictionary exists before using it

    mnussbaum committed Jun 12, 2018
    The s:KeyMap._all function isn't necessary if we initialize the
    s:keyMaps dictionary at file load time.
  3. Merge pull request #851 from mnussbaum/decrease_startup_time

    PhilRunninger committed Jun 12, 2018
    Decrease startup-time by avoiding linear-time iteration over key mappings
Commits on Jun 11, 2018
  1. Decrease startup-time by avoiding iteration over maps

    mnussbaum committed Jun 11, 2018
    This commit makes adding, removing and finding key maps an O(1)
    operation instead of O(n), where n is the number of pre-existing maps.
    
    In my testing, averaged over 100 iterations, this reduces the time spent
    initializing NERDTree at Vim startup from ~73ms to ~9.7ms. That's with
    only the default included key maps.
Commits on Jun 6, 2018
Commits on May 29, 2018
  1. Merge pull request #844 from lifecrisis/clearjumps

    lifecrisis committed May 29, 2018
    Use ":clearjumps" in new NERDTree windows.
Commits on May 26, 2018
  1. Add a call to ":clearjumps" to "_createTreeWin()"

    lifecrisis committed May 26, 2018
    Using the ":clearjumps" command wipes out the jump list for the
    current window.  This means that the user can't inadvertently jump
    out of the NERDTree buffer while using the NERDTree window (i.e., by
    using "<C-O>").
Commits on May 22, 2018
  1. Merge pull request #840 from scrooloose/create_parent_directories_on_m-m

    lifecrisis committed May 22, 2018
    Like m-c did before, create parent directories if needed on m-m.
Commits on May 16, 2018
Commits on May 7, 2018
  1. Merge pull request #837 from scrooloose/readonly-error-#831

    PhilRunninger committed May 7, 2018
    Make the NERDTree buffer writable when rendering it.
Commits on May 6, 2018
  1. Fix a bug with the 'u' mapping

    lifecrisis committed May 6, 2018
    This commit refactors the "nerdtree#ui_glue#UpDir()" function to fix
    a bug in the behavior of the 'u' mapping.  To reproduce the bug:
    
      1. Open a bookmarked directory with 'o'
      2. Press 'u' twice, observing normal behavior
      3. Open the same bookmark again with 'o'
      4. Press 'u' again, observe the new root is closed
    
    The reason for this bug is that the parent node already existed and
    was closed by the second 'u' press in step two above.
    
    This commit fixes this bug by being careful to always open the new
    root and transplant the child node properly.  Also, the internals of
    the function in question were refactored to make use of valuable
    NERDTree functions that ultimately help to reduce the amount of code
    needed for this operation.
Commits on Apr 30, 2018
  1. Merge pull request #835 from lifecrisis/cleanmaps

    lifecrisis committed Apr 30, 2018
    Remove unsupported bookmark table mappings.
Commits on Apr 28, 2018
  1. Remove unsupported bookmark table mappings

    lifecrisis committed Apr 28, 2018
    The definitions for certain bookmark mappings reference callbacks
    that don't actually support operation on bookmarks.  Furthermore,
    the mappings that are defined are not documented anywhere.  Removing
    them seems reasonable since they serve no real purpose.
Commits on Apr 26, 2018
  1. Merge pull request #834 from bravestarr/fix-multibyte-path

    PhilRunninger committed Apr 26, 2018
    Replace strcharpart() with substitute() for backward compatibility
Commits on Apr 25, 2018
  1. Merge pull request #833 from hav4ik/master

    PhilRunninger committed Apr 25, 2018
    Fixed error 'unknown function strcharpart' for older versions of Vim
Commits on Apr 24, 2018
  1. Merge pull request #830 from bravestarr/fix-multibyte-path

    PhilRunninger committed Apr 24, 2018
    Display a path with multi-byte characters correctly when it is truncated
Commits on Apr 23, 2018
  1. Merge pull request #832 from lifecrisis/menufix

    lifecrisis committed Apr 23, 2018
    Clear output when the NERDTree menu is aborted.
Commits on Apr 22, 2018
  1. Display a path with multi-byte characters correctly when it is truncated

    bravestarr committed Apr 22, 2018
    When a path is rendered in the Bookmarks area or as the header line of the
    tree, it is truncated if there is no enough space for it.  But if a path
    contains multi-byte characters, it should be truncated by characters, not
    bytes, otherwise the path may be truncated between the bytes of a
    multi-byte character.  To deal with multi-byte characters, use
    strdisplaywidth() instead of len() to get the number of display cells, and
    use strcharpart() instead of strpart() to truncate a path.
  2. Clear output when the NERDTree menu is aborted

    lifecrisis committed Apr 22, 2018
    Previously, exiting the NERDTree menu with "Ctrl-C" or "Esc" would
    leave the last line of the menu visible.  We can avoid this by
    redrawing the screen when the menu is aborted in this manner.
Commits on Apr 10, 2018
  1. Merge pull request #824 from ngnmhieu/master

    PhilRunninger committed Apr 10, 2018
    Support revealing file and executing file with xdg-open for Linux
Commits on Apr 9, 2018
Commits on Apr 2, 2018
  1. Merge pull request #822 from scrooloose/821-better_delete_confirmation

    PhilRunninger committed Apr 2, 2018
    If node isn't open, count children on disk before deleting.