Don't handle command and :open history different.
authorDaniel Carl <danielcarl@gmx.de>
Mon, 22 Jul 2013 15:23:17 +0000 (17:23 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 22 Jul 2013 15:23:17 +0000 (17:23 +0200)
commitc54566a54522c932887d7ebb29a78bdf477f219d
treea7087547e7a55612240881f2582a053800d15a64
parentfa2e672a9d308ffb5b3d2af51db7b2c388d4be16
Don't handle command and :open history different.

The stepping through history via <up> and <down> keys generated different
items for ':open<up>' and ':open <up>'. The reason for this was that we looked
up the history file to get the item, ':open<up>' entries where collected from
command history file where also none url entries are available (like call with
shortcuts).

Now the history lookup does not distinguish between commands and urls and
follows the inspiring example of vim, where ':e <up>' also lists none
processed values like ':e %'.
src/history.c