Like, when you type $va you should expect it to complete the $var_name as it reduces lot of keyings. So if that is the thing which you can do with CTRL+X CTRL+N, and other CTRL+X completions.
How do you use CTRL+X to automatically add a $ before a word?
---------- Post updated at 09:42 PM ---------- Previous update was at 09:33 PM ----------
Quote:
Originally Posted by bartus11
Put this line in your ~/.vimrc:
And restart vim.
Thank, next time I will search the man page of vim.
Hi all
I have installed Red Hat Linux Advanced Server 2.1 onto a Proliant DL580 (dual XEON 2.8GHz processors).
The bash shell is not autocompleting filenames/directorynames when I hit escape twice. History (via Ctrl+r works). Is there a setting somewhere to enable this?
Thanks. (2 Replies)
Hi,
I enabled the Autocomplete of filename by the command set -o emacs
But i couldn't enjoy the benifits of vi anymore. i.e I couldn't get the command history by pressing Esc and k.
How to enjoy both of this features at a time.?
Regards
Karthik (3 Replies)
I'm coming from a c-shell environment where I was spoiled with the tab completion on the command line, only to find that using korn-shell I don't have this capability. The only thing I can find by googling is to use 'set filec' - but that doesn't work (and I think is only for c-shell anyway).
... (0 Replies)
Hello All,
I'm using the Solaris 8 and I'd like to know how to configure my KSH to use the double ESC to complete the command automatically.
Do you know how do it??
thanks.
rgs,
Paulo (1 Reply)
Suppose there exists a file, "/home/andrew/product/test". And suppose I set $FOO to "/home/andrew/product/"? I can't seem to type "$FOO/t" and then Escape (csh) in order to autocomplete.
Is this possible in other shells? If not, then why? If so, then why can't csh do it, and how can I make... (1 Reply)
I downloaded vim.7.2 and compiled the vim source .
Added the vim binary path to PATH (Because iam not the root of the box)
when i load the file using vim it throws me an error
Error detected while processing /home2/e3003091/.vimrc:
line 2:
E185: Cannot find color scheme darkblue
line... (0 Replies)
Hi, i need autocmplete file_name/dir_name by TAB key. I work on UNIX (TRU64) and I just tried to type on .profile this setting:
set autolist
but it doesn't work. I think it is because this command doesn't belong to this UNIX version (sure it works for example on HP-UX).
I need to set it... (0 Replies)
I have a file that has the words I want to find in other files (but lets say I just want to find my words in a single file). Those words are IDs, so if my word is ZZZ4, outputs like aaZZZ4, ZZZ4bb, aaZZZ4bb, ZZ4, ZZZ, ZyZ4, ZZZ4.8 (or anything like that) WON'T BE USEFUL.
I need the whole word... (6 Replies)
I cant figure out how the complete function works in tcsh.
1. I whould like it to complete after writing my_program.py with either start or stop.
I have tried to do something like this in .cshrc.user:
complete my_program.py \
'c/start/' \
'c/stop/'
However i cant get it to... (1 Reply)
Hi
I'm still new around bash and Ubuntu, but I was expecting for the "cp" command to have an autocomplete feature like the ls command. Should it, or I'm assuming too much?
In case it doesn't have by default, is there a way to enable it?
Cheers (2 Replies)
Discussion started by: blackfox2015
2 Replies
LEARN ABOUT OSX
vimtutor
VIMTUTOR(1) General Commands Manual VIMTUTOR(1)NAME
vimtutor - the Vim tutor
SYNOPSIS
vimtutor [-g] [language]
DESCRIPTION
Vimtutor starts the Vim tutor. It copies the tutor file first, so that it can be modified without changing the original file.
The Vimtutor is useful for people that want to learn their first Vim commands.
The optional argument -g starts vimtutor with gvim rather than vim, if the GUI version of vim is available, or falls back to Vim if gvim is
not found.
The optional [language] argument is the two-letter name of a language, like "it" or "es". If the [language] argument is missing, the lan-
guage of the current locale will be used. If a tutor in this language is available, it will be used. Otherwise the English version will
be used.
Vim is always started in Vi compatible mode.
FILES
/usr/local/lib/vim/tutor/tutor[.language]
The Vimtutor text file(s).
/usr/local/lib/vim/tutor/tutor.vim
The Vim script used to copy the Vimtutor text file.
AUTHOR
The Vimtutor was originally written for Vi by Michael C. Pierce and Robert K. Ware, Colorado School of Mines using ideas supplied by
Charles Smith, Colorado State University. E-mail: bware@mines.colorado.edu.
It was modified for Vim by Bram Moolenaar. For the names of the translators see the tutor files.
SEE ALSO vim(1)
2001 April 2 VIMTUTOR(1)