Sponsored Content
Special Forums UNIX and Linux Applications Gvim doesn't suggest filenames with :e TAB, puts ^I instead Post 302752173 by chandleraz on Sunday 6th of January 2013 12:27:37 PM
Old 01-06-2013
Linux [Solved] Gvim doesn't suggest filenames with :e TAB, puts ^I instead

Hello all,

When I type :e in vim and then press TAB, vim suggests filenames in that directory. However, when I do the same in gvim, it instead shows ^I for every TAB press instead of suggesting filenames. Anyone know what's going on here ?

Thanks in advance.
ChandlerAZ

---------- Post updated 01-06-13 at 12:27 PM ---------- Previous update was 01-05-13 at 10:28 PM ----------

Found the solution on the below page:
babbus.com/index.php?option=com_content&view=article&id=22:tab-key-not-working-in-vim&catid=3:uncat&Itemid=2

Adding this line to .gvimrc did the trick:
set nocompatible

Moderator's Comments:
Mod Comment edit by bakunin: thanks for the follow-up- Changed the thread title accordingly

Last edited by bakunin; 01-07-2013 at 09:58 PM..
This User Gave Thanks to chandleraz For This Post:
 

10 More Discussions You Might Find Interesting

1. Red Hat

Need to get Gvim on Linux enterprise

I have a linux Enterprise Server Version 3 (ES) . It does not have Gvim on it. Can someone tell me how I can get Gvim on it please. I have spent a fair bit of time researching this and have not figured it out. I am probably missing something simple. Frank (1 Reply)
Discussion started by: frankkahle
1 Replies

2. Windows & DOS: Issues & Discussions

gVim on Windows

Have you used gVim editor on Windows (xp)? I am talking about the GUI version of vim that you can click the icon on desktop and the gVim editor pops-up and you can create/edit files. Here's my problem: When I use vim editor on cygwin to create/edit files the file creation mask is set to a... (3 Replies)
Discussion started by: milhan
3 Replies

3. Solaris

how to add gvim in solaris 5.8

Hi, can someone help me out how to load gvim? I am using solaris 5.8 . (1 Reply)
Discussion started by: adityam
1 Replies

4. Windows & DOS: Issues & Discussions

Unix format in gVim

I need to be very careful to keep ^M characters out of files. In gVim, I can change the file format to Unix easily enough, but is there any way to make Unix the default format? I can see "startup options" in the menu, but this takes me to some meaningless config file. I believe my config value... (1 Reply)
Discussion started by: 68ST0X20
1 Replies

5. Shell Programming and Scripting

GVIM keyboard shortcuts

Hi all, I am new to linux, can anybody send any link for "GVIM" keyboard shortcuts. (1 Reply)
Discussion started by: balaramaiah.t
1 Replies

6. UNIX and Linux Applications

Gvim doesn't work properly

Hello All, I am using gvim ( redhat linux machine). backspace doesnot work properly. can some boby suggest a solution ? i have checked with older version. backspace works in it. Thanks Shiv (1 Reply)
Discussion started by: shiv.emf
1 Replies

7. UNIX and Linux Applications

GVIM with tabs

Hi People, Does gvim latest versions support tabs. I would like to open different files in tabs rather than new windows or split windows. I would like to whether the current version supports it, if it doesn't then how to add such feature. Thanks, :) (2 Replies)
Discussion started by: rimser9
2 Replies

8. Shell Programming and Scripting

hp unix doesn't have tab completion

hi guys, i am new to HP unix , i am doing Solaris , i am just asking is there any thing like "bash" in hp unix including tab completion? (8 Replies)
Discussion started by: dagigg
8 Replies

9. Red Hat

TAB button doesn't work properly

Hi, I have list of files under a directory as shown below. /home/root -rw-r--r-- 1 user 0 Aug 27 06:08 rough.txt -rw-r--r-- 1 user 0 Aug 27 06:08 test.sh Now when i use to read the rough.txt, i did cat r and then pressed TAB button. Below is the resulting string after pressing TAB... (2 Replies)
Discussion started by: vel4ever
2 Replies

10. UNIX for Dummies Questions & Answers

Save and Exit Gvim

Hi, Dummy here! I have a file in my directory named "jest". I wonder why I couldn't save change by using Shift + z + z which I used to do. But it work fine with :wq! command. The second thing is, after several time of accessing the file, I notice my directory appears many files named jest~,... (1 Reply)
Discussion started by: Xierian
1 Replies
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/share/vim/vim80/tutor/tutor[.language] The Vimtutor text file(s). /usr/share/vim/vim80/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)
All times are GMT -4. The time now is 09:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy