Skip to content

Add user choice to follow symlinks or keep them #1404

Open
@terminatorul

Description

@terminatorul

Add new option so users can choose to resolve symlinks or not.

Automatically resolving symlinks is not always the right choice, and is different from what Vim does, and can cause some issues for users when their directory changes unexpectedly.

Attached a (rather naive) patch that simply skips the call to Vim resolve() function if the option g:NERDTreeResolveSymLinks is disabled (v:false). The default option is v:true, to keep the original behavior of NERDTree, though I do not recommend it.

symlinks.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions