Comments (2)
Hey @kaznovac. 👋
I totally agree with you on the insert-tab false
. Having the TAB inserted is annoying and has little to no purpose.
I don't think I like the export LISTMAX=-1
(or the list-prompt ''
) for a minimal configuration. See zimfw/zimfw#248. Maybe for users annoyed by this, setting up fzf to do a fuzzy find of the completion options seems like a better choice, using Aloxaf/fzf-tab for example. There's also the super carefully done marlonrichert/zsh-autocomplete.
I'm not sure about the completion of filenames on the empty buffer (I'm curious to see if there's a simpler implementation that uses the _files
bindable command directly though, as my main hobby with Zim is figuring our simpler implementations with Zsh code... 😄). On the other hand, leaving the insert-tab false
alone and allowing a completion on everying when the buffer is empty might be too much, yeah.
from completion.
Hi @ericbn
Thanks for looking into this :)
As a user I find TAB behavior surprising (inconsistent), one would expect that the TAB
should traverse menu in similar manner on the empty BUFFER
as the Shift+TAB
but in reverse order. I've tried the approach above, but I'm not experienced with the ZLE widgets.
Thanks for alternatives, I've tried the fzf
(and it's alternative skim
- off-topic: rust is amazing language) before but it didn't stick; as I prefer my shell enhancement utilities written in the shell. The zsh-autocomplete
is new to me, nicely written for sure, but I find the zimfw/completion
&& zsh-users/zsh-history-substring-search
do a better job (less visual clutter as I type)
List prompt/pager is just minor annoyance unrelated to this, and probably should be left to the user to configure.
I'm not sure about the completion of filenames on the empty buffer (I'm curious to see if there's a simpler implementation that uses the _files bindable command directly though, as my main hobby with Zim is figuring our simpler implementations with Zsh code... 😄).
Looking forward to this, even better if I can help :D
On the other hand, leaving the insert-tab false alone and allowing a completion on everying when the buffer is empty might be too much, yeah.
Maybe something like zimfw/magic-enter
from completion.
Related Issues (8)
- Autocomplete issue HOT 8
- locale change causes .zcomdump* being deleted HOT 12
- Slow startup due to completion call HOT 4
- Completions for zimfw/zmodule HOT 3
- zdumpfile not updating with changes to completion functions
- Add ypcat as dependency HOT 4
- completion was already initialized message coming from /completion/init.zsh HOT 4
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 completion.