Re: [vim] netrw suppress '@' when editing a file (from ssh) (#684)
Le lundi 14 mars 2016 14:30:39 UTC+1, DrChip a écrit : > pLesur wrote: > > > > When SSHing to a directory using vim: > > > > |scp://user@host//dir/| > > > > and you want to edit a file, the command will read as: > > > > |scp://userhost//dir/file #<- '@' is missing !| > > > > An empty file is then opened, and if saved, will override the real, > > potentially non empty, remote file. > > It makes the whole ssh functionality almost useless in my opinion > > (unless you connect without specifying a username) > > > > > I've tried this and was unable to duplicate your problem. Please try > the attached file: > > vim -u netrw.vimrc > > and see if the problem occurs. Also use the latest netrw (v156b) which > you can get from my website: > > http://www.drchip.org/astronaut/vim/index.html#NETRW > > Thank you for your feedback, > Chip Campbell Updating netrw fixed the problem. Thanks ! -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [vim] netrw suppress '@' when editing a file (from ssh) (#684)
pLesur wrote: > > When SSHing to a directory using vim: > > |scp://user@host//dir/| > > and you want to edit a file, the command will read as: > > |scp://userhost//dir/file #<- '@' is missing !| > > An empty file is then opened, and if saved, will override the real, > potentially non empty, remote file. > It makes the whole ssh functionality almost useless in my opinion > (unless you connect without specifying a username) > > I've tried this and was unable to duplicate your problem. Please try the attached file: vim -u netrw.vimrc and see if the problem occurs. Also use the latest netrw (v156b) which you can get from my website: http://www.drchip.org/astronaut/vim/index.html#NETRW Thank you for your feedback, Chip Campbell -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. " start vim with: vim -u netrw.vimrc --noplugins set nocp let g:netrw_browse_split= 3 set sol syn on runtime plugin/netrwPlugin.vim