T
T
The_frog2021-01-12 17:03:58
vim
The_frog, 2021-01-12 17:03:58

What is the difference between the :w! file and :w newfie in the VIM editor?

What is the difference between the :w! file and :w newfie in the VIM editor? Do they all create a separate file? How do they generally work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Chernykh, 2021-01-12
@The_frog

:w!
forced write (! sign in command) of an open file if the owner does not have write permissions. (e.g. file permissions r-xr-xrx)
:w newfie
a la Save as

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question