Apparently vim forgets that "~" was quoted.
i keep a directory named "" that contains old or original versions of files i've edited." and open files in "~", vim gets confused.
When i invoke vim from the directory that contains "
less is not confused by this, and i can workaround vim's confusion by trying to remember to invoke vim from anywhere except the directory that contains "~".
To Reproduce
Detailed steps to reproduce the behavior:
Expected behavior
The last command above should return to the first file.
For example, less doesn't get confused:
$ less ~/a b
:n
:e#
Less returns to the first file as expected.
Environment (please complete the following information):
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Feb 17 2021 08:57:13)
Included patches: 1-2526
Compiled by g@g163
Huge version without GUI. Features included (+) or not (-):
+acl -clientserver +diff +folding +langmap +mouse_dec +num64 +reltime +tag_binary -toolbar +writebackup
+arabic -clipboard +digraphs -footer +libcall -mouse_gpm +packages +rightleft -tag_old_static +user_commands -X11
+autocmd +cmdline_compl -dnd +fork() +linebreak -mouse_jsbterm +path_extra -ruby -tag_any_white +vartabs -xfontset
+autochdir +cmdline_hist -ebcdic +gettext +lispindent +mouse_netterm -perl +scrollbind -tcl +vertsplit -xim
-autoservername +cmdline_info +emacs_tags -hangul_input +listcmds +mouse_sgr +persistent_undo +signs +termguicolors +virtualedit -xpm
-balloon_eval +comments +eval +iconv +localmap -mouse_sysmouse +popupwin +smartindent +terminal +visual -xsmp
+balloon_eval_term +conceal +ex_extra +insert_expand -lua +mouse_urxvt +postscript -sound +terminfo +visualextra -xterm_clipboard
-browse +cryptv +extra_search +ipv6 +menu +mouse_xterm +printer +spell +termresponse +viminfo -xterm_save
++builtin_terms +cscope -farsi +job +mksession +multi_byte +profile +startuptime +textobjects +vreplace
+byte_offset +cursorbind +file_in_path +jumplist +modify_fname +multi_lang -python +statusline +textprop +wildignore
+channel +cursorshape +find_in_path +keymap +mouse -mzscheme -python3 -sun_workshop +timers +wildmenu
+cindent +dialog_con +float +lambda -mouseshape +netbeans_intg +quickfix +syntax +title +windows
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall -Wno-deprecated-declarations -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vim -lm -ltinfo -ldl
--- Directories and Files ---
$VIM = "/usr/local/share/vim"
directory "/usr/local/share/vim" exists
$VIMRUNTIME = "/usr/local/share/vim"
directory "/usr/local/share/vim" exists
"/usr/local/share/vim/doc/help.txt" is readable
"/usr/local/share/vim/doc/tags" is readable
"/usr/local/share/vim/menu.vim" is readable
"/usr/local/share/vim/filetype.vim" is readable
"/usr/local/share/vim/syntax/synload.vim" is readable
--- Scripts sourced ---
1: /usr/local/share/vim/syntax/nosyntax.vim
2: /usr/local/share/vim/plugin/getscriptPlugin.vim
3: /usr/local/share/vim/plugin/gzip.vim
4: /usr/local/share/vim/plugin/logiPat.vim
5: /usr/local/share/vim/plugin/manpager.vim
6: /usr/local/share/vim/plugin/matchparen.vim
7: /usr/local/share/vim/plugin/netrwPlugin.vim
8: /usr/local/share/vim/plugin/rrhelper.vim
9: /usr/local/share/vim/plugin/spellfile.vim
10: /usr/local/share/vim/plugin/tarPlugin.vim
11: /usr/local/share/vim/plugin/tohtml.vim
12: /usr/local/share/vim/plugin/vimballPlugin.vim
13: /usr/local/share/vim/plugin/zipPlugin.vim
14: /usr/local/share/vim/bugreport.vim
--- Options ---
aleph=224 cdpath=,, debug= foldexpr=0 imstatusfunc= makeprg=make nopreviewwindow selectmode= spellsuggest=best textauto viminfofile=
noarabic cedit=^F nodelcombine foldignore=# includeexpr= matchtime=5 printdevice= shell=/bin/bash nosplitbelow notextmode virtualedit=
arabicshape charconvert= dictionary= foldlevel=0 incsearch maxcombine=2 printencoding= shellcmdflag=-c nosplitright textwidth=0 visualbell
noallowrevins nocindent diff foldlevelstart=-1 indentexpr= maxfuncdepth=100 printfont=courier shellquote= nostartofline thesaurus= warn
ambiwidth=single cinoptions= diffexpr= foldmethod=diff noinfercase maxmapdepth=1000 printmbcharset= shelltemp statusline= notildeop noweirdinvert
noautochdir cmdheight=1 nodigraph foldminlines=1 noinsertmode maxmem=4065208 printmbfont= shellxquote= suffixesadd= timeout whichwrap=b,s
autoindent cmdwinheight=7 display= foldnestmax=20 isprint=@,161-255 maxmemtot=4065208 printoptions= shellxescape= swapfile timeoutlen=1000 wildchar=
noautoread colorcolumn= eadirection=both formatexpr= joinspaces menuitems=25 prompt noshiftround swapsync=fsync notitle wildcharm=0
noautowrite columns=226 noedcompatible formatoptions=qn1 key= nomodeline pumheight=0 shiftwidth=1 switchbuf= titlelen=85 wildignore=
noautowriteall nocompatible emoji formatprg= keymap= nomodelineexpr pumwidth=15 noshortname synmaxcol=3000 titlestring= wildignorecase
background=dark concealcursor= encoding=utf-8 fsync keymodel= modelines=5 quickfixtextfunc= showbreak= syntax= nottimeout nowildmenu
backspace= conceallevel=0 endofline nogdefault keywordprg=man modifiable quoteescape=\ noshowcmd tabline= ttimeoutlen=-1 wildoptions=
nobackup completefunc= equalalways helpheight=20 langmap= nomodified noreadonly noshowfulltag tabpagemax=10 ttybuiltin wincolor=
backupcopy=auto completepopup= equalprg= helplang=en langmenu= nomore redrawtime=2000 showmatch tabstop=8 ttyfast window=56
backupext=~ noconfirm noerrorbells hidden nolangnoremap mouse=h regexpengine=0 showmode tagbsearch ttymouse=xterm winheight=1
backupskip=/tmp/* nocopyindent esckeys history=50 langremap mousetime=500 norelativenumber showtabline=1 tagcase=followic ttyscroll=999 nowinfixheight
balloondelay=600 cpoptions=aABceF$ eventignore= nohkmap laststatus=1 nonumber remap sidescroll=1 tagfunc= ttytype=screen nowinfixwidth
noballoonevalterm cscopepathcomp=0 noexpandtab nohkmapp nolazyredraw numberwidth=4 report=3 sidescrolloff=3 taglength=0 undodir=. winminheight=1
balloonexpr= cscopeprg=cscope noexrc hlsearch nolinebreak omnifunc= norevins signcolumn=auto tagrelative noundofile winminwidth=1
belloff= cscopequickfix= fileencoding= noicon lines=57 operatorfunc= norightleft smartcase tagstack undolevels=1000 winwidth=20
nobinary nocscoperelative fileformat=unix iconstring= nolisp nopaste ruler nosmartindent term=screen undoreload=10000 nowrap
nobomb nocscopetag nofileignorecase ignorecase nolist pastetoggle= rulerformat= nosmarttab notermbidi updatecount=200 wrapmargin=0
nobreakindent cscopetagorder=0 filetype= imactivatefunc= listchars=eol:$ patchexpr= scroll=13 softtabstop=0 termencoding= updatetime=4000 nowrapscan
breakindentopt= nocscopeverbose fixendofline noimcmdline loadplugins patchmode= scrollbind nospell notermguicolors varsofttabstop= write
bufhidden= cursorbind foldclose= noimdisable magic nopreserveindent scrolljump=1 spellfile= termwinkey= vartabstop= nowriteany
buflisted nocursorcolumn foldcolumn=2 iminsert=0 makeef= previewheight=12 scrolloff=0 spelllang=en termwinsize= verbose=0 writebackup
buftype= nocursorline foldenable imsearch=-1 makeencoding= previewpopup= nosecure spelloptions= noterse verbosefile= writedelay=0
backupdir=.,/tmp,/
breakat= ^I!@-+;:,./?
casemap=internal,keepascii
cinkeys=0{,0},0),0],:,0#,!^F,o,O,e
cinwords=if,else,while,do,for,switch
comments=s1:/,mb:,ex:/,://,b:#,:%,:XCOMM,n:>,fb:-
commentstring=/%s/
complete=.,w,b,u,t,i
completeopt=menu,preview
cryptmethod=blowfish2
cursorlineopt=both
define=^\s*#\sdefine
diffopt=filler,iwhite
directory=.,~/tmp,/var/tmp,/tmp
errorfile=errors.err
errorformat=%[^"]"%f"%\D%l: %m,"%f"%\D%l: %m,%-G%f:%l: (Each undeclared identifier is reported only once,%-G%f:%l: for each function it appears in.),%-GIn file included from %f:%l:%c:,%-GIn file included from %f:%l:%c,,%-GIn file included from %f:%l:%c,%-GIn file included from %f:%l,%-G%[ ]from %f:%l:%c,%-G%[ ]from %f:%l:,%-G%[ ]from %f:%l,,%-G%[ ]from %f:%l,%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,"%f", line %l%\D%c%[^ ] %m,%D%\a[%\d]: Entering directory %[']%f',%X%*\a[%*\d]: Leaving directory %*[']%f',%D%\a: Entering directory %[']%f',%X%*\a: Leaving directory %*[']%f',%DMaking %\a in %f,%f|%l| %m
fileencodings=ucs-bom,utf-8,default,latin1
fileformats=unix,dos
fillchars=vert:|,fold:-,eob:~
foldmarker={{{,}}}
foldopen=block,hor,mark,percent,quickfix,search,tag,undo
foldtext=foldtext()
formatlistpat=^\s*\d+[]:.)}\t ]\s*
grepformat=%f:%l:%m,%f:%l%m,%f %l%m
grepprg=grep -n $* /dev/null
guicursor=n-v-c:block,o:hor50,i-ci:hor15,r-cr:hor30,sm:block
helpfile=/usr/local/share/vim/doc/help.txt
highlight=8:SpecialKey,:EndOfBuffer,@:NonText,d:Directory,e:ErrorMsg,i:IncSearch,l:Search,m:MoreMsg,M:ModeMsg,n:LineNr,a:LineNrAbove,b:LineNrBelow,N:CursorLineNr,r:Question,s:StatusLine,S:StatusLineNC,c:VertSplit,t:Title,v:Visual,V:VisualNOS,w:WarningMsg,W:WildMenu,f:Folded,F:FoldColumn,A:DiffAdd,C:DiffChange,D:DiffDelete,T:DiffText,>:SignColumn,-:Conceal,B:SpellBad,P:SpellCap,R:SpellRare,L:SpellLocal,+:Pmenu,=:PmenuSel,x:PmenuSbar,X:PmenuThumb,:TabLine,#:TabLineSel,_:TabLineFill,!:CursorColumn,.:CursorLine,o:ColorColumn,q:QuickFixLine,z:StatusLineTerm,Z:StatusLineTermNC,=
include=^\s#\s*include
indentkeys=0{,0},0),0],:,0#,!^F,o,O,e
isfname=@,48-57,/,.,-,_,+,,,#,$,%,
isident=@,48-57,,192-255
iskeyword=@,48-57,,192-255
lispwords=defun,define,defmacro,set!,lambda,if,case,let,flet,let*,letrec,do,do*,define-syntax,let-syntax,letrec-syntax,destructuring-bind,defpackage,defparameter,defstruct,deftype,defvar,do-all-symbols,do-external-symbols,do-symbols,dolist,dotimes,ecase,etypecase,eval-when,labels,macrolet,multiple-value-bind,multiple-value-call,multiple-value-prog1,multiple-value-setq,prog1,progv,typecase,unless,unwind-protect,when,with-input-from-string,with-open-file,with-open-stream,with-output-to-string,with-package-iterator,define-condition,handler-bind,handler-case,restart-bind,restart-case,with-simple-restart,store-value,use-value,muffle-warning,abort,continue,with-slots,with-slots*,with-accessors,with-accessors*,defclass,defmethod,print-unreadable-object
matchpairs=(:),{:},[:]
maxmempattern=1000
mkspellmem=460000,2000,500
mousemodel=popup_setpos
nrformats=bin,octal,hex
packpath=/.vim,/usr/local/share/vim/vimfiles,/usr/local/share/vim,/usr/local/share/vim/vimfiles/after,/.vim/after
paragraphs=IPLPPPQPP TPHPLIPpLpItpplpipbp
path=.,/usr/include,,
printexpr=system('lpr' . (&printdevice == '' ? '' : ' -P' . &printdevice) . ' ' . v:fname_in) . delete(v:fname_in) + v:shell_error
printheader=%<%f%h%m%=Page %N
rightleftcmd=search
runtimepath=/.vim,/usr/local/share/vim/vimfiles,/usr/local/share/vim,/usr/local/share/vim/vimfiles/after,/.vim/after
scrollopt=ver,jump,hor
sections=SHNHH HUnhsh
selection=inclusive
sessionoptions=blank,buffers,curdir,folds,help,options,tabpages,winsize,terminal
shellpipe=2>&1| tee
shellredir=>%s 2>&1
shortmess=filnxtToOS
spellcapcheck=[.?!]_[])'"^I ]+
suffixes=.bak,,.o,.h,.info,.swp,.obj/.vim/view
tags=./tags,./TAGS,tags,TAGS
termwinscroll=10000
titleold=Thanks for flying Vim
viewdir=
viewoptions=folds,options,cursor,curdir
viminfo='100,<50,s10,h
wildmode=longest:list
--- Terminal codes ---
t_AB=^[[4%p1%dm t_cd=^[[J t_da= t_fe= t_md=^[[1m t_RC= t_se=^[[23m t_ST= t_u7= t_WP= t_8u=
t_AF=^[[3%p1%dm t_ce=^[[K t_db= t_GP= t_me=^[[0m t_RI=^[[%p1%dC t_Sf= t_Te= t_ue=^[[24m t_WS=
t_AU= t_cl=^[[H^[[J t_DL=^[[%p1%dM t_IE= t_mr=^[[7m t_Ri= t_SH= t_te=^[[?1049l t_us=^[[4m t_xn=y
t_AL=^[[%p1%dL t_Ce= t_dl=^[[M t_IS= t_ms=y t_RS= t_SI= t_TE= t_ut= t_xs=
t_al=^[[L t_Co=8 t_EC= t_ke=^[[?1l^[> t_nd=^[[C t_RT= t_Si= t_ti=^[[?1049h t_vb=^[g t_ZH=^[[7m
t_bc= t_CS= t_EI= t_ks=^[[?1h^[= t_op=^[[39;49m t_RV= t_so=^[[3m t_TI= t_vi=^[[?25l t_ZR=^[[0m
t_BE= t_Cs= t_fs= t_le=^H t_RF= t_Sb= t_SR= t_Ts= t_VS= t_8f=
t_BD= t_CV= t_fd= t_mb=^[[5m t_RB= t_SC= t_sr=^[M t_ts= t_vs=^[[34l t_8b=
t_cm=^[[%i%p1%d;%p2%dH
t_cs=^[[%i%p1%d;%p2%dr
t_ve=^[[34h^[[?25h
--- Terminal keys ---
t_@7 ^[[4~ t_k2 ^[OQ t_k6 ^[[17~ t_k; ^[[21~ t_kN ^[[6~ t_kh ^[[1~ ^[[M
t_F1 ^[[23~ t_k3 ^[OR t_k7 ^[[18~ t_kB ^[[Z t_kP ^[[5~ t_kl ^[OD ^[[I
t_F2 ^[[24~ t_k4 ^[OS t_k8 ^[[19~ t_kD ^[[3~ t_kb ^? t_kr ^[OC ^[[O
t_k1 ^[OP t_k5 ^[[15~ t_k9 ^[[20~ t_kI ^[[2~ t_kd ^[OB t_ku ^[OA
--- Autocommands ---
FileExplorer BufEnter
* sil call s:LocalBrowse(expand(""))
Vimball BufEnter
.vba setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff != 'unix'|setlocal ma ff=unix noma|endif|if line('$') > 1|call vimball#ShowMesg(0,"Source this file to extract it! (:so %)")|endif
.vba.gz setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff != 'unix'|setlocal ma ff=unix noma|endif|if line('$') > 1|call vimball#ShowMesg(0,"Source this file to extract it! (:so %)")|endif
.vba.bz2 setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff != 'unix'|setlocal ma ff=unix noma|endif|if line('$') > 1|call vimball#ShowMesg(0,"Source this file to extract it! (:so %)")|endif
.vba.zip setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff != 'unix'|setlocal ma ff=unix noma|endif|if line('$') > 1|call vimball#ShowMesg(0,"Source this file to extract it! (:so %)")|endif
.vba.xz setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff != 'unix'|setlocal ma ff=unix noma|endif|if line('$') > 1|call vimball#ShowMesg(0,"Source this file to extract it! (:so %)")|endif
.vmb setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff != 'unix'|setlocal ma ff=unix noma|endif|if line('$') > 1|call vimball#ShowMesg(0,"Source this file to extract it! (:so %)")|endif
.vmb.gz setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff != 'unix'|setlocal ma ff=unix noma|endif|if line('$') > 1|call vimball#ShowMesg(0,"Source this file to extract it! (:so %)")|endif
.vmb.bz2 setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff != 'unix'|setlocal ma ff=unix noma|endif|if line('$') > 1|call vimball#ShowMesg(0,"Source this file to extract it! (:so %)")|endif
.vmb.zip setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff != 'unix'|setlocal ma ff=unix noma|endif|if line('$') > 1|call vimball#ShowMesg(0,"Source this file to extract it! (:so %)")|endif
.vmb.xz setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff != 'unix'|setlocal ma ff=unix noma|endif|if line('$') > 1|call vimball#ShowMesg(0,"Source this file to extract it! (:so %)")|endif
FileExplorer BufLeave
* if &ft != "netrw"|let w:netrw_prvfile= expand("%:p")|endif
Network BufReadCmd
file:// call netrw#FileUrlEdit(expand(""))
ftp:// exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
rcp:// exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
scp:// exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
http:// exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
https:// exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
dav:// exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
davs:// exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
rsync:// exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
sftp:// exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
tar BufReadCmd
tarfile::*
call tar#Read(expand(""), 1)
tarfile::/
call tar#Read(expand(""), 1)
*.tar.gz call tar#Browse(expand(""))
*.tar call tar#Browse(expand(""))
*.lrp call tar#Browse(expand(""))
*.tar.bz2 call tar#Browse(expand(""))
*.tar.Z call tar#Browse(expand(""))
*.tbz call tar#Browse(expand(""))
*.tgz call tar#Browse(expand(""))
*.tar.lzma
call tar#Browse(expand(""))
*.tar.xz call tar#Browse(expand(""))
.txz call tar#Browse(expand(""))
.tar.zst call tar#Browse(expand(""))
.tzs call tar#Browse(expand(""))
zip BufReadCmd
zipfile: call zip#Read(expand(""), 1)
zipfile:/
call zip#Read(expand(""), 1)
*.aar call zip#Browse(expand(""))
*.apk call zip#Browse(expand(""))
*.celzip call zip#Browse(expand(""))
*.crtx call zip#Browse(expand(""))
*.docm call zip#Browse(expand(""))
*.docx call zip#Browse(expand(""))
*.dotm call zip#Browse(expand(""))
*.dotx call zip#Browse(expand(""))
*.ear call zip#Browse(expand(""))
*.epub call zip#Browse(expand(""))
*.gcsx call zip#Browse(expand(""))
*.glox call zip#Browse(expand(""))
*.gqsx call zip#Browse(expand(""))
*.ja call zip#Browse(expand(""))
*.jar call zip#Browse(expand(""))
*.kmz call zip#Browse(expand(""))
*.odb call zip#Browse(expand(""))
*.odc call zip#Browse(expand(""))
*.odf call zip#Browse(expand(""))
*.odg call zip#Browse(expand(""))
*.odi call zip#Browse(expand(""))
*.odm call zip#Browse(expand(""))
*.odp call zip#Browse(expand(""))
*.ods call zip#Browse(expand(""))
*.odt call zip#Browse(expand(""))
*.otc call zip#Browse(expand(""))
*.otf call zip#Browse(expand(""))
*.otg call zip#Browse(expand(""))
*.oth call zip#Browse(expand(""))
*.oti call zip#Browse(expand(""))
*.otp call zip#Browse(expand(""))
*.ots call zip#Browse(expand(""))
*.ott call zip#Browse(expand(""))
*.oxt call zip#Browse(expand(""))
*.potm call zip#Browse(expand(""))
*.potx call zip#Browse(expand(""))
*.ppam call zip#Browse(expand(""))
*.ppsm call zip#Browse(expand(""))
*.ppsx call zip#Browse(expand(""))
*.pptm call zip#Browse(expand(""))
*.pptx call zip#Browse(expand(""))
*.sldx call zip#Browse(expand(""))
*.thmx call zip#Browse(expand(""))
*.vdw call zip#Browse(expand(""))
*.war call zip#Browse(expand(""))
*.wsz call zip#Browse(expand(""))
*.xap call zip#Browse(expand(""))
*.xlam call zip#Browse(expand(""))
call zip#Browse(expand(""))
*.xlsb call zip#Browse(expand(""))
*.xlsm call zip#Browse(expand(""))
*.xlsx call zip#Browse(expand(""))
*.xltm call zip#Browse(expand(""))
*.xltx call zip#Browse(expand(""))
*.xpi call zip#Browse(expand(""))
*.zip call zip#Browse(expand(""))
gzip BufRead
*.gz call gzip#read("gzip -dn")
*.bz2 call gzip#read("bzip2 -d")
*.Z call gzip#read("uncompress")
.lzma call gzip#read("lzma -d")
.xz call gzip#read("xz -d")
.lz call gzip#read("lzip -d")
.zst call gzip#read("zstd -d --rm")
.br call gzip#read("brotli -d --rm")
.lzo call gzip#read("lzop -d -U")
gzip BufReadPre
.gz setlocal bin
.bz2 setlocal bin
.Z setlocal bin
.lzma setlocal bin
.xz setlocal bin
.lz setlocal bin
.zst setlocal bin
.br setlocal bin
.lzo setlocal bin
Network BufWriteCmd
ftp:// exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
rcp:// exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
scp:// exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
http:// exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
file:// exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
dav:// exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
davs:// exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
rsync:// exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
sftp:// exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
tar BufWriteCmd
tarfile::
call tar#Write(expand(""))
tarfile::/
call tar#Write(expand(""))
zip BufWriteCmd
zipfile: call zip#Write(expand(""))
zipfile:/
call zip#Write(expand(""))
gzip BufWritePost
*.gz call gzip#write("gzip")
*.bz2 call gzip#write("bzip2")
*.Z call gzip#write("compress -f")
*.lzma call gzip#write("lzma -z")
*.xz call gzip#write("xz -z")
*.lz call gzip#write("lzip")
*.zst call gzip#write("zstd --rm")
*.br call gzip#write("brotli --rm")
*.lzo call gzip#write("lzop -U")
matchparen CursorMoved
* call s:Highlight_Matching_Pair()
matchparen CursorMovedI
* call s:Highlight_Matching_Pair()
gzip FileAppendPost
*.gz call gzip#write("gzip")
*.bz2 call gzip#write("bzip2")
.Z call gzip#write("compress -f")
.lzma call gzip#write("lzma -z")
.xz call gzip#write("xz -z")
.lz call gzip#write("lzip")
.zst call gzip#write("zstd --rm")
.br call gzip#write("brotli --rm")
.lzo call gzip#write("lzop -U")
gzip FileAppendPre
.gz call gzip#appre("gzip -dn")
.bz2 call gzip#appre("bzip2 -d")
.Z call gzip#appre("uncompress")
.lzma call gzip#appre("lzma -d")
.xz call gzip#appre("xz -d")
.lz call gzip#appre("lzip -d")
.zst call gzip#appre("zstd -d --rm")
.br call gzip#appre("brotli -d --rm")
.lzo call gzip#appre("lzop -d -U")
Network FileReadCmd
ftp:// exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
rcp:// exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
scp:// exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
http:// exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
file:// exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
https:// exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
dav:// exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
davs:// exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
rsync:// exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
sftp:// exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
tar FileReadCmd
tarfile::
call tar#Read(expand(""), 0)
tarfile::/
call tar#Read(expand(""), 0)
zip FileReadCmd
zipfile: call zip#Read(expand(""), 0)
zipfile:/
call zip#Read(expand(""), 0)
gzip FileReadPost
*.gz call gzip#read("gzip -dn")
*.bz2 call gzip#read("bzip2 -d")
.Z call gzip#read("uncompress")
.lzma call gzip#read("lzma -d")
.xz call gzip#read("xz -d")
.lz call gzip#read("lzip -d")
.zst call gzip#read("zstd -d --rm")
.br call gzip#read("brotli -d --rm")
.lzo call gzip#read("lzop -d -U")
gzip FileReadPre
.gz setlocal bin
.bz2 setlocal bin
.Z setlocal bin
.lzma setlocal bin
.xz setlocal bin
.lz setlocal bin
.zst setlocal bin
.br setlocal bin
.lzo setlocal bin
Network FileWriteCmd
ftp:// exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
rcp:// exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
scp:// exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
http:// exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
file:// exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
dav:// exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
davs:// exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
rsync:// exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
sftp:// exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
tar FileWriteCmd
tarfile::
call tar#Write(expand(""))
tarfile::/
call tar#Write(expand(""))
zip FileWriteCmd
zipfile: call zip#Write(expand(""))
zipfile:/
call zip#Write(expand(""))
gzip FileWritePost
.gz call gzip#write("gzip")
.bz2 call gzip#write("bzip2")
.Z call gzip#write("compress -f")
.lzma call gzip#write("lzma -z")
.xz call gzip#write("xz -z")
.lz call gzip#write("lzip")
.zst call gzip#write("zstd --rm")
.br call gzip#write("brotli --rm")
.lzo call gzip#write("lzop -U")
Network SourceCmd
ftp:// exe 'Nsource '.fnameescape(expand(""))
rcp:// exe 'Nsource '.fnameescape(expand(""))
scp:// exe 'Nsource '.fnameescape(expand(""))
http:// exe 'Nsource '.fnameescape(expand(""))
file:// exe 'Nsource '.fnameescape(expand(""))
https:// exe 'Nsource '.fnameescape(expand(""))
dav:// exe 'Nsource '.fnameescape(expand("
ā
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
Why did you use this directory name? It's easy to use another name.
to avoid confusion, you should not use a literal directory ~, because this means $HOME by many shells. Also trying to remove such a directory may cause harm.
I am not saying, there is nothing to fix here, but I would recommend such an ambiguous name.