Comments (8)
I edited wiki page. Please check this.
http://wiki.github.com/Shougo/neocomplcache/neocomplcache-tips
- switch between options with <Tab>
- choose option using <CR>
What kind of meaning is it?
from neocomplcache.vim.
by 'options' i mean alternative available variants in popup. So you hit 'tab' and popup appears. if you hit 'tab' when popup is open next line is active. if you hit 'enter' the current variant is completed, popup is closed.
thanks
from neocomplcache.vim.
Please use this setting.
inoremap pumvisible() ? “” : check_back_space() ? “” : “”
inoremap neocomplcache#smart_close_popup() . “”
from neocomplcache.vim.
Have put all your tips to my .vimrc, using version from head.
doesn't work as expected.
closes popup, but ignores selected variant - it substitues the text that you typed before you pressed 'Tab'
If there is nothing to complete - if you type 'aaabbb' and hit the cursor is moved to next line.
from neocomplcache.vim.
I do not understand it well. Please explain it in detail.
Probably you want to complete it like a shell.
from neocomplcache.vim.
Yes, it works good. Thank you very much for your time and effort.
I've found that this mapping
inoremap neocomplcache#smart_close_popup() . “\”
causes problems in my case.
The only issue i see now, but it's not connected with this setup probably.
if you type some rubbish - that is not in your file and it can't be completed, for example you type 'asdfkjasfljakajdf' and hit after it, popup shows the list of all words in file, may be because of #complete_common_string(). If next thing you do is select one of them and press 'Enter' then selected variant is appended to what you typed, but doesn't replace it.
But it's not a big deal.
Thanks once again. I would never be able to tune it this way.
from neocomplcache.vim.
Please update neocomplcache and set this settings.
inoremap <expr><TAB> pumvisible() ? "\<Down>" : <SID>check_back_space() ? "\<TAB>" : "\<C-x>\<C-u>\<C-p>\<Down>" inoremap <expr><CR> neocomplcache#smart_close_popup() . “\<CR>” let g:neocomplcache_enable_auto_select = 1 let g:neocomplcache_disable_auto_complete = 1 setlocal completeopt+=longest
from neocomplcache.vim.
I like prev variant with common string. Thank you. It does everything i'd want.
Need to test it a little bit
from neocomplcache.vim.
Related Issues (20)
- Special character completion ruby methods HOT 2
- Autocomplete paths relative to currently open file HOT 5
- Python executable on a remote server HOT 1
- Non-english completions HOT 19
- "key not present in dictionary" errors when gvim is launched with windows 8.3 path HOT 2
- grammar error in user guide HOT 3
- Only map <c-p> and <c-n> while the neocomplcache menu is active HOT 1
- neocomplcache with coffeescript HOT 1
- Method to collect results from omnifunc without selecting first result HOT 2
- obsolete note on readme HOT 2
- filename_include source not working in Neovim HOT 4
- Can remove completefunc in neocomplcache? HOT 2
- C++ HOT 1
- NeoComplCache HOT 1
- how do I use tab to navigate like super tab? HOT 1
- suggestions are not displaying beyond the cursorline HOT 16
- When use this plugin in neovim, I get some error. HOT 1
- Undefined function pythoncomplete#Complete HOT 4
- "key not present in dictionary" errors when i use brew install macvim, version is Vim 9.0.1276 (MacVim r176) HOT 6
- Does not complete HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neocomplcache.vim.