Is it possible to save the file which is being edited in vim into a definite directory?
2 Answers
you could also use the wq /path/to/directory/ to save the file. For example if you are editing a file named example.txt, after editing you press esc then shift + q, then this is what should follow; :wq /home/example.txt this also works but will live a copy of your file in in its current folder.