You are not logged in.
Pages: 1
Hey all archers!
I have a bit of an issue with VIM that has been annoying me for a long time.
Whenever I use :o to open another file, tab completion does not work;
when I press tab, VIM simply prints ^I into the prompt.
Any ideas as to what might cause this?
My .vimrc is as follows:
set autoindent
set cindent
set expandtab
set tabstop=4
set shiftwidth=4
set bg=dark
set wildmode=longest,list
autocmd BufRead,BufNewFile *.css setlocal nocindent
syntax on
Jon
Last edited by Jonhoo (2010-06-14 05:19:15)
Offline
Try :e to edit another file. Usually works fine with tab-completion, too.
If the only tool you have is a hammer, you tend to see every problem as a nail
Offline
Open mode in fact is not supported by vim. See ":help open":
Vim does not support open mode, since it's not really useful. For those situations where ":open" would start open mode Vim will leave Ex mode, which allows executing the same commands, but updates the whole screen instead of only one line.
Thus always use ":e(dit)" or ":view" to open an existing file.
To know or not to know ...
... the questions remain forever.
Offline
Something I'm using mostly is :tabnew .
It works with tab completion and opens the file in a new tab.
Website: andrwe.org
Repository: repo.andrwe.org/<archtiecture>
Offline
Ah, so I've been using the wrong command all along? Great, thanks
Offline
Pages: 1