Friday, February 3, 2017

Re: path autoexpansion (autcompletion) when saving files or changing directories

Hi Victoria,

What you want to have a look at is:

:h cmdline-completion

I use:

set wildmode=list

in $MYVIMRC and that seems to do the same job as my shell. i.e I hit tab to
complete.

HTH.


Regards,



On 4 February 2017 at 00:25, Victoria Stuart
<victoria.a.stuart@gmail.com> wrote:
> Hello: please forgive me if this is a FAQ; I searched (a lot: Google ...) but Icould not find a solution. I am using neovim 0.1.7 (recent switch from Vim 8.0).
>
> Say I want to save a file (:sav) in a different path on my system (Arch Linux); e.g., I am in ~/projects/... , and I want to save it to ~/temp/... or even another mountpoint, such as /mnt/another_drive/...
>
> I find myself having to know/manually type the complete path; I don't have auto-completion, as in a bash terminal.
>
> Likewise, if in Vim (nvim) I want to :cd, again I have to manuallt type the path (no autocompletion).
>
> FYI, I have the NerdTREE and SuperTab plugins installed, if that helps. Thanks, appreciated!
>
> --
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.



--

Frank

--
--
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.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment