Open jamespharvey20 opened 5 years ago
It seems that this has been fixed in https://github.com/scrooloose/vim-colon-therapy/commit/700b1521ad95cfde26c01c3a4ad81fd10db12a7a. I tested this and if the filename with a colon is a real file, it will be opened.
Love it!
Just saw this, and was going to ask if it would be possible to make it work not only through
:e
, but also through specifying a file as an argument from the command line.I installed it to see, and found that it does. Wanted to mention this for 2 reasons: (primarily reason 1)
Could update the readme to say it works that way too.
If someone had this installed and had a file with a colon as part of the filename, and numbers after it, I'm not sure if they'd be able to edit it. i.e.:
In both runs of
vim
, it opens a new filestupidFileName
. The escaped colon doesn't help, being processed by bash into a colon.If the filename is a colon followed by letters, it properly opens the file.
Not sure there would be a way around this, besides temporarily disabling the addon. I doubt this would happen often. I don't make filenames with colons, and don't run across them often, but they happen.