Skip to content

E21: Cannot make changes, 'modifiable' is off when refreshing tree view #600

@kdelchev

Description

@kdelchev

I got this

Error detected while processing function repeat#wrap:
line    2:
E21: Cannot make changes, 'modifiable' is off
Press ENTER or type command to continue

when trying to refresh NERDTree tree view with C-r. Here is my .vimrc file symlinked to home directory .vimrc

I can easily avoid this with :set modifiable but I want to be able to refresh tree view without it.

I also run :verbose set modifiable? and get the below result, but I dont know what to do with it

nomodifiable
        Last set from ~/.vim/plugged/nerdtree/lib/nerdtree/ui.vim

Is there a configuration to always set modifiable for NERDTree?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions