tabnew is not working in Gvim

572 Views Asked by At

I have opened a file in gvim. When I want to open another file in gvim , I use following command.

:tabnew `pwd`

and then press tab button. But tab is not expanding pwd instead it is adding `^I

:tabnew `pwd`^I^I^I

Earlier it was working.

`pwd` is nor expanding in gvim whether I use it with tabnew or sp.

1

There are 1 best solutions below

0
On BEST ANSWER

Check the compatible option in your vim session by typing in command line :set compatible?

If the result is:

  • compatible : you need to type ctrl+e

  • nocompatible : you need to type tab or ctrl+i

in order to get the expansion in command line.


For more about that: :help cmdline-completion