sponsor Vim development Vim logo Vim Book Ad

complete_filename_keepenv : complete filename without expanding envrionment variables

 script karma  Rating 12/3, Downloaded by 22  Comments, bugs, improvements  Vim wiki

created by
jinhu lu
 
script type
utility
 
description
Complete filename without expanding envrionment variables,

Usually  in insert mode ,  filename-completion will auto expand  env variables, like this
        $HOME/<C-X><C-F>   --->     /home/user/abc

This script let you  do not touch the env  vars  while  completion .  
        $HOME/<C-F>     ---> $HOME/abc

Support env format :  $ENV,  ${ENV} ,  $(ENV),   $env(VAR) (tcl only)
Support searching system env with prefix, e.g.: $H<C-F>

Usage:  
        1) Insert mode: <C-F>
        2) Insert mode: <C-X><C-U>

 
install details
Drag this file into vim plugin directory. ( ~/.vim/plugin/ )
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
complete_file_keepenv.vim 0.1 2020-11-22 7.0 jinhu lu Initial upload
ip used for rating: 34.200.252.156

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
OSDN