Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Feature/add search icon commandline #1230

Merged
merged 36 commits into from
Jan 5, 2018

Conversation

akinsho
Copy link
Member

@akinsho akinsho commented Jan 4, 2018

@bryphe as per discussion in #1191 I've also added a config managed option to render an icon in place of the first character. It's off by default and under the experimental.commandline.icons. There's currently an icon for
:

screen shot 2018-01-04 at 21 28 22

?

screen shot 2018-01-04 at 21 28 35

and /.

screen shot 2018-01-04 at 21 28 43

also add icon - file icon atm ?alternatives
Components now render in the same layer and
can be positioned similarly if both present
or interchangeably if one options is disabled
Also only render overlay if both elements present
using whitespace: pre-wrap from one of see
facebook/react#4134
html auto removes trailing white space breaking
the cursor's position functionality
to ensure commandline and wild menu have
same width
@bryphe
Copy link
Member

bryphe commented Jan 5, 2018

Cool idea! Thanks for putting this together, @Akin909 !

Code change looks good to me - appreciate you putting it behind an experimental flag. I'm going to push out a new release next week, will be awesome to start getting feedback on these 👍

The search next and search previous icons look great. I'm not sure about the : icon (the code icon is a bit ambiguous), but I also don't have a better suggestion at the moment 🤔

@bryphe
Copy link
Member

bryphe commented Jan 5, 2018

Just checked the tests - passing locally again, so I'll go ahead and bring this in. Thanks for the contribution! 😄

I'm working on a change to get the console logs a different way (it seems in some cases we don't get any logs, so hopefully this change will fix that, and let us get to the next level of investigation). Sorry about all the test issues.

@bryphe bryphe merged commit 5fd6086 into onivim:master Jan 5, 2018
@akinsho akinsho deleted the feature/add-search-icon-commandline branch January 6, 2018 09:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants