Default editor
Vinson Carrethers
imlaidbac at gmail.com
Sat Sep 13 22:19:01 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Smoot Carl-Mitchell wrote:
> On Sat, 2008-09-13 at 15:38 -0600, Vinson Carrethers wrote:
>> downloaded vim 1:7.1-138+1ubuntu3 and now when I
>> type sudo /etc/X11, I am not required to press 'Tab' any number of times. The
>> X11 directory/file list comes up as default. I like that!
>>
>> I tried it on other directories with the same results. Sweet.
>
> I am a little confused here. The file name completion is part of the
> shell and has nothing to do with vim. Did you mean:
>
> sudo vim /etc/X11
>
> In that case vim gives you a directory listing of the file argument, if
> it is a directory. Interesting feature. I did not realize this feature
> was a part of vim. The filename completion and the vim directory listing
> are two separate systems, however. Both appear to be useful.
>
> I have gotten so used to the filename completion feature of the shell,
> it is second nature to me. When I use cd, I find myself typing <tab> a
> lot to let the shell complete the directory path, especially if it is
> fairly deep and I do not remember the exact pathname.
I get this in vim.
../
./
.java/
ConsoleKit/
NetworkManager/
ODBCDataSources/
PolicyKit/
X11/
acpi/
alternatives/
apache2/
apm/
apparmor.d/
apparmor/
apport/
apt/
Type :quit<Enter> to exit Vim 8,1 Top
and use the arrow keys to arrive at a directory/file and <CR> gives action.
Am I communicating my results incorrectly?
Thanks,
vince
- --
Linux User# 371000
Sincerity, Fidelity, Integrity
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIzDxVflXwRacM1dwRAlTeAKDH9jk2NimKMHMHOH3NkiZ6rUibZACgkve+
O2L3QVBF0SY0aJqpNEyPaLU=
=bSJJ
-----END PGP SIGNATURE-----
More information about the ubuntu-users
mailing list