Tagged Questions
2
votes
2answers
83 views
Bash-like code completion in vim?
I'm currently using superTab for completions in Vim. However, I'd like the completions to be more like bash. For example, if I'm typing
st
and the possible completions are
struct, string
I'd ...
1
vote
2answers
1k views
How to setup VIM for php development?
I have been trying a lot (but not smartly) to figure out setting up VIM, ctags, omnicomple for PHP development.
On Googling I found this file. But have no clue how to use it.
What have I done until ...
3
votes
2answers
396 views
VIM: Tab as omnicomplete, but not at beginning of line
I have configured Tab as Omnicompetion in VIM 7.3:
inoremap <Tab> <C-n>
This is convenient, but I would really like to have regular tab back at the beginning of a line! Is there any way ...
2
votes
1answer
173 views
can I make zsh filename completion work like Vim?
I use setopt menu_complete so that I can hit TAB repeatedly to get different filename completions in zsh. However, I would also like to be able to type:
ls ~/*.txt<TAB>
and then use TAB to ...
3
votes
2answers
293 views
Auto-insert left bracket in Vim
I'm trying to code some Objective-C in Vim and one thing I'm missing from Xcode is the ability to auto insert the left matching bracket.
Say if I have the following text:
NSString *string = ...
0
votes
2answers
350 views
Gvim Tab Completion
How can you make gvim do tab completion like the terminal-based vim?
The terminal-based vim displays suggestions instead of auto-completing with the first result in the folder and cycling through ...
2
votes
4answers
2k views
Are there any autocompletion plugins for vim?
Is there an autocompletion plugin for vim? What are my options here?
At the moment I'm using AutoComplPop, but it has bad integration with snipMate that I use and dead slow on Ruby files (even < ...
1
vote
2answers
475 views
Vim: How to create autocomplete/chooser from entries in buffer?
Found out today that if you press Ctrl-Opt-Cmd-V in Textmate, it produces a cute little "chooser" dialogue in-place that allows you to page through your recent clipboard entries. It looks very similar ...
5
votes
1answer
718 views
Vim completion - always suppress the newline after I select a suggestion with the Enter key
Sometimes, after I select a suggestion (from the completion pop-up that appears when pressing Ctrl-N) using the Enter key, Vim will insert a newline and the cursor will be moved to the following line. ...
0
votes
2answers
437 views
VIM script for auto-completing Python identifier names
I'm used to working with the nifty "code-intelligence" auto-completion of identifiers in Komodo IDE. In the non-graphic work environments that I still have, I'm craving for a similar capability inside ...
2
votes
2answers
1k views
Auto completion on gvim
Can we make gvim to only show autocomplete options without completing the word so that we can discard it if the expected completion option is not present?
The completeopt setting only seems to have ...
5
votes
1answer
861 views
Can I add a set of words to the Vim autocomplete vocabulary?
In Vim, I'm aware of using CTRL-n and CTRL-p to autocomplete words found in the document. This is great for promoting the use of descriptive method and variable names.
I would like to add a set of ...
5
votes
2answers
2k views
how to make vim's auto-complete behave like bash's default auto-complete?
When you type :e some/path/file<Tab> if there are several matches, vim just picks the first one and you have to cycle through the rest of them with the Tab key. (pretty much like the behavior of ...