Peter Nguyen wrote:
I need to disable YouCompleteMe when a file is opened remotely using netrw
through for example scp:// as it freezes my Vim. Is there a way to do this with
Vimscript in my .vimrc?
Hello: In order to support :Rexplore, netrw sets up a variable:
w:netrw_rexlocal (0 for remote, 1 for local). You could probably use
that (exists("w:netrw_rexlocal"), etc). That variable is not part of
the netrw documentation, so its possible that it might change, but I
doubt that I'll do so.
Regards,
Chip Campbell
--
--
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_mac+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.