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

Error detected after moving a file #435

Closed
c10b10 opened this issue Apr 20, 2015 · 2 comments
Closed

Error detected after moving a file #435

c10b10 opened this issue Apr 20, 2015 · 2 comments
Assignees
Labels

Comments

@c10b10
Copy link

c10b10 commented Apr 20, 2015

I always get a similiar error:

screenshot 2015-04-20 15 02 21

after I rename a file (even when the file isn't open in any buffer). These are my NT vimrc settings:

    augroup ps_nerdtree
        au!

        au Filetype nerdtree setlocal nolist
        " au Filetype nerdtree nnoremap <buffer> K :q<cr>
    augroup END

    let NERDTreeHighlightCursorline = 1
    let NERDTreeIgnore = ['\~$', '.git$[[dir]]', '.DS_Store', '.*\.pyc$',
                        \ 'pip-log\.txt$', 'whoosh_index', 'xapian_index', '.*.pid',
                        \ 'monitor.py', '.*-fixtures-.*.json', '.*\.o$', 'db.db',
                        \ 'tags.bak']
    let NERDTreeShowHidden = 1
    let NERDTreeMinimalUI = 1
    let NERDTreeDirArrows = 1
    let NERDChristmasTree = 1
    let NERDTreeChDirMode = 1
    let NERDTreeMapJumpFirstChild = 'gK'
    let NERDTreeBookmarksFile = expand('~/some/path')
    let NERDTreeShowLineNumbers=1
    let g:NERDTreeWinPos = "left"
    let g:NERDTreeWinSize = 35

Is this a bug?

@jyc
Copy link

jyc commented Oct 4, 2017

I actually ran into this as well just today.

@PhilRunninger
Copy link
Member

This seems to be caused by the fact that the folder specified to hold the bookmarks file is not present. In @c10b10 's screenshot, it is /Users/c10b10/bin/dotfiles/vim/nt that doesn't exist. I can only assume that the vimrc text was edited to be ~/some/path after the screenshot was taken. If you create the folder first, then this error goes away, but it is a workaround, and we can consider this to be a bug.

@PhilRunninger PhilRunninger self-assigned this Aug 13, 2018
@PhilRunninger PhilRunninger added unstarted Assigned, but not started yet. PR Under Review Coding is finished, and a pull request has been created and is being reviewed. and removed unstarted Assigned, but not started yet. labels Aug 13, 2018
@PhilRunninger PhilRunninger removed the PR Under Review Coding is finished, and a pull request has been created and is being reviewed. label Sep 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants