exit temporary modified file without saving and jump back to my previous viewing place in vim -


this question has answer here:

in vim, viewing file, , opened temporary file , did modification, want original file. typed ctrl-o, got e37: no write since last change (add ! override)

how can exit temporary modified file without saving , jump previous viewing place?

by turning on 'hidden' can jump between unsaved buffers without e37 error messages. don't worry vim stop exiting without saving changes unless use :q!.

set hidden 

see :h 'hidden' more information.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -