Project

General

Profile

Actions

Bug #530

closed

Edit file using :e ~/.....

Added by Arnaud Tanguy over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
libyzis
Target version:
Start date:
02/13/2009
Due date:
% Done:

100%

Estimated time:

Description

It's impossible to use the "~" character to open files. This character represent /home/username on unix systems.
When you try to open a file, it tries to open a file in the current directory begining with "~"

For example, you are in the directory /home/arnaud/programmation.
If you do :e /test, it will open a file /home/arnaud/programmation//test instead of /home/arnaud/test.


Files

fix.patch (1.02 KB) fix.patch Arnaud Tanguy, 02/14/2009 10:12 AM
Actions #1

Updated by Arnaud Tanguy over 13 years ago

Oops, formatting problem...
The example was :

:e ~/test, it will open a file /home/arnaud/programmation/~/test instead of /home/arnaud/test

Actions #2

Updated by Arnaud Tanguy over 13 years ago

Here is a possible fix. It seems it was just due to an oversight. Indeed, the function tildeExpand was created, but not called.

Actions #3

Updated by Thomas Capricelli over 13 years ago

  • Category set to libyzis
  • Target version set to 1.0-alpha2

indeed, i integrate it, thanks for the fix.

Actions #4

Updated by Thomas Capricelli over 13 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applicata nel changeset r4246.

Actions

Also available in: Atom PDF