You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PredictionViewStyle allow combined List and Inline or keybinding to adhoc turn use the List view #1933
Although the Listview is awesome, I've already become very accustomed to the Inline style and I'm missing the ctrl+f option to accept next words in the initial predicted text. Also missing in my flow now is the right arrow accept full first completion.
The list view could be used as a supplement to the inline view, especially when you know what you want is in the history but not the most recent item in history. In that case, the list view can be very helpful as it shows more candidates.
In the Windows edit more, we introduced F2 as the hotkey to switch between the InlineView and the ListView. You may find it very handy.
Reacted by Luka Gelashvili FreeUni, Mahmudur Rahman, Norman Dankert, omprakashbhakar and NILLHISON
Thanks Dongbo Wang (@daxian-dbw) f2 was not registered for me (using emacs mode). I registered it manually and the function works fine. This is a nice middleground and has the desired effect. One caveat however is this. I have the following keybinding in case of inlineview:
Unfortunately, not workaround yet. Thanks for bringing this up! I guess it would be reasonably common for people to re-bind UpArrow and DownArrow to HistorySearchBackward and HistorySearchForward. We will need to improve those 2 functions to make them behave similarly to PreviousHistory and NextHistory -- able to sense a list view is present and navigate in the list instead of history in that case.
Activity
daxian-dbw commentedon Nov 5, 2020
The list view could be used as a supplement to the inline view, especially when you know what you want is in the history but not the most recent item in history. In that case, the list view can be very helpful as it shows more candidates.
In the
Windowsedit more, we introduced F2 as the hotkey to switch between theInlineViewand theListView. You may find it very handy.bgelens commentedon Nov 5, 2020
Thanks Dongbo Wang (@daxian-dbw) f2 was not registered for me (using emacs mode). I registered it manually and the function works fine. This is a nice middleground and has the desired effect. One caveat however is this. I have the following keybinding in case of inlineview:
Setting these will brick the list view (can not navigate the list). Is there a workaround for this as well?
daxian-dbw commentedon Nov 5, 2020
Unfortunately, not workaround yet. Thanks for bringing this up! I guess it would be reasonably common for people to re-bind UpArrow and DownArrow to
HistorySearchBackwardandHistorySearchForward. We will need to improve those 2 functions to make them behave similarly toPreviousHistoryandNextHistory-- able to sense a list view is present and navigate in the list instead of history in that case.bgelens commentedon Nov 5, 2020
I'll close this issue. Thanks for adding this to the improvement list!