≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #2088

Bug #2088: Opening a buffer with `view` (readonly) makes Command-T show a warning about changing a readonly file

Kind bug
Product Command-T
When Created 2013-05-10T03:26:23Z, updated 2015-04-13T22:50:43Z
Status closed
Reporter anonymous
Tags no tags

Description

If I open view, and then run :CommandT, I get:

Error detected while processing function <SNR>70_CommandTShowFileFinder:
line    2:W10: Warning: Changing a readonly file

before the prompt comes up.

Not sure why CommandT is modifying the buffer here?

I can't reproduce if I start with vim and then :set readonly, but I haven't delved into this at all yet.

Comments

  1. Greg Hurrell 2013-05-10T03:28:32Z

    There must be some interaction here with some other setting in your ~/.vimrc. Are you able to pare it down to a minimal repro case?

  2. anonymous 2013-05-10T03:33:43Z

    Ah, OK, sorry. Didn't try with -u NONE first. I'll bisect and update the ticket with what did it.

  3. anonymous 2013-05-10T03:51:30Z

    It doesn't appear to be an interaction with my .vimrc.

    view -u rc does it, where all rc contains is:

       set nocompatible
       set runtimepath+=~/.vim/bundle/command-t/
       source ~/.vim/bundle/command-t/plugin/command-t.vim
  4. Greg Hurrell 2015-04-13T22:50:39Z

    This is fixed on the next branch, so I'm closing this.

  5. Greg Hurrell 2015-04-13T22:50:43Z

    Status changed:

    • From: new
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets