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

e21: cannot make changes, 'modifiable' is off #332

Closed
ucarbehlul opened this issue Apr 24, 2018 · 11 comments
Closed

e21: cannot make changes, 'modifiable' is off #332

ucarbehlul opened this issue Apr 24, 2018 · 11 comments

Comments

@ucarbehlul
Copy link

When the prompt is opened and a text is tried to pasted by Command + V, e21: cannot make changes, 'modifiable' is off error happens and text doesn't get pasted.

OS: MacOs
Terminal: Terminal Version 2.7 (377)

@wincent
Copy link
Owner

wincent commented Apr 24, 2018

I suspect this might happen if you don't have bracketed paste mode enabled in the terminal. It's been years since I used the Apple Terminal though, so I don't recall whether it supports bracketed paste.

@ucarbehlul
Copy link
Author

I just tried on iTerm2 too. I got the same error. Here is the vim version:

➜  ipsy vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar 11 2018 22:23:28)
macOS version
Included patches: 1-1522
Compiled by MacPorts
Huge version without GUI.  Features included (+) or not (-):
+acl               +farsi             +mouse_sgr         -tag_any_white
+arabic            +file_in_path      -mouse_sysmouse    -tcl
+autocmd           +find_in_path      +mouse_urxvt       +termguicolors
-autoservername    +float             +mouse_xterm       +terminal
-balloon_eval      +folding           +multi_byte        +terminfo
+balloon_eval_term -footer            +multi_lang        +termresponse
-browse            +fork()            -mzscheme          +textobjects
++builtin_terms    +gettext           +netbeans_intg     +timers
+byte_offset       -hangul_input      +num64             +title
+channel           +iconv             +packages          -toolbar
+cindent           +insert_expand     +path_extra        +user_commands
-clientserver      +job               -perl              +vertsplit
+clipboard         +jumplist          +persistent_undo   +virtualedit
+cmdline_compl     +keymap            +postscript        +visual
+cmdline_hist      +lambda            +printer           +visualextra
+cmdline_info      +langmap           +profile           +viminfo
+comments          +libcall           +python            +vreplace
+conceal           +linebreak         -python3           +wildignore
+cryptv            +lispindent        +quickfix          +wildmenu
-cscope            +listcmds          +reltime           +windows
+cursorbind        +localmap          +rightleft         +writebackup
+cursorshape       -lua               +ruby              -X11
+dialog_con        +menu              +scrollbind        -xfontset
+diff              +mksession         +signs             -xim
+digraphs          +modify_fname      +smartindent       -xpm
-dnd               +mouse             +startuptime       -xsmp
-ebcdic            -mouseshape        +statusline        -xterm_clipboard
+emacs_tags        +mouse_dec         -sun_workshop      -xterm_save
+eval              -mouse_gpm         +syntax            
+ex_extra          -mouse_jsbterm     +tag_binary        
+extra_search      +mouse_netterm     +tag_old_static    
   system vimrc file: "/opt/local/etc/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/opt/local/share/vim"
Compilation: /usr/bin/clang -c -I. -Iproto -DHAVE_CONFIG_H   -I/opt/local/include -DMACOS_X -DMACOS_X_DARWIN  -pipe -Os -arch x86_64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       
Linking: /usr/bin/clang   -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -fstack-protector -L/opt/local/lib  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o vim        -lm  -lncurses -liconv -lintl -framework AppKit    -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -lpython2.7 -framework CoreFoundation -L/opt/local/Library/Frameworks/Py /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python   -lruby.2.2.0 -lobjc -L/opt/local/lib   

@wincent
Copy link
Owner

wincent commented Apr 25, 2018

What's your $TERM?

@ucarbehlul
Copy link
Author

ucarbehlul commented Apr 26, 2018 via email

@yueyihui
Copy link

yueyihui commented Nov 17, 2018

I've found this issue in ubuntu 16.4, my term is xterm-256color. my vim is vim.gtk

@jesselumarie
Copy link

I'm also running into this issue (using iTerm2), with a $TERM of xterm-256color

@wincent
Copy link
Owner

wincent commented Dec 24, 2018

This is kind of expected in GUI modes (like MacVim) — see #217 — but not really sure what could cause it in the terminal (and much less iTerm2, which I use all the time).

@yueyihui
Copy link

After my consider, it seems like will change list which is used to show files, instead of input position, thus 'cannot make changes, 'modifiable' is off' was notified

@wincent
Copy link
Owner

wincent commented Jan 1, 2019

If we solve #217, this one probably gets fixed "for free".

@yueyihui
Copy link

yueyihui commented Feb 2, 2019

'cannot make changes, 'modifiable' is off' happend on vim8.1, the older version vim can not reproduce this issue. have any configurations about compile vim8.1 is must?

@wincent
Copy link
Owner

wincent commented Aug 26, 2022

Given the big rewrite for v6.0.x, I'm closing all older issues as there is unlikely to be anything significant happening on the 5-x-devel branch from here on1. Feedback issue for 6.0.x is here:

Footnotes

  1. Patches and PRs would be welcome, but my personal efforts are going to be directed towards main.

@wincent wincent closed this as not planned Won't fix, can't repro, duplicate, stale Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants