Thursday, June 18, 2020

editing over ssh

Just tried to start to use vim over ssh and has several questions:

1. When I open a new file vim opens an additional NetrwMessage buffer,
(while for existent files it show only one as expected)

What is it for? How to make vim not to open NetrwMessage buffer for new
files?


2. Vim creates a swap file in ~/.vim (my ~ is readonly) and shows it
with vim -r, but don't use it when I open the remote file next time
after killing vim.

How to make vim to recover it automatically?


3. When I do vim -r ~/.vim/test.swp for unexistent file it recovers into
NetrwMessage buffer.

Why so? How to make vim to recover into file buffer?


vim -r shows:
test.swp
owned by: sergio dated: Tue Jun 16 08:47:29 2020
file name: scp://e/test
modified: YES
user name: sergio host name: t
process ID: <PID>


--
sergio.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/08b29ec0-148e-f9df-97fc-1dd7ff9c561f%40outerface.net.

No comments: