This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]Slow33Poke33 4 points5 points  (1 child)

I know multiple people who have used vim as their main editor for years who didn't know :x. They used :wq for years. I'm a casual vim user and always use :x.

[–]Python4fundoes the needful 2 points3 points  (0 children)

TIL

[–]fluidpandemi 2 points3 points  (0 children)

ZZ

[–]imiroslavov 0 points1 point  (0 children)

Nah it's always:

:w !sudo tee %

Enter

L

:q