Github messages for voidlinux
 help / Atom feed
* [ISSUE] vim: cannot recall command line history
@ 2019-07-27  9:49 voidlinux-github
  2019-07-28  9:06 ` [ISSUE] [CLOSED] " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-07-27  9:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]

New issue by blehel on void-packages repository

https://github.com/void-linux/void-packages/issues/13361
Description: ### System

* xuname:  
  Void 4.19.59_1 x86_64 AuthenticAMD uptodate rrFFF
* package:  
  vim-x11 8.1.1729_2

After upgrading from version 8.1.1635_1, I can no longer recall the command line history of previous sessions with the arrow keys.

### Expected behavior

Pressing `:` and up-arrow recalls the previously typed command lines, including from previous runs of vim, based on the viminfo file.

### Actual behavior

Only the current session's history can be recalled, seemingly because the relevant part of the viminfo file is not processed on startup. The fiIe itself is being read, because the registers and jump list are restored. These items, including the command line history are still being written into it at exit time. 

Interestingly, if I manually read the viminfo file with `:rviminfo! ~/.viminfo`, I get the history back as well.

P.S. I guess this is the commit that deals with this issue:
https://github.com/vim/vim/commit/26b654a5df9414e43734eb4c956b67c331d70a50


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ISSUE] [CLOSED] vim: cannot recall command line history
  2019-07-27  9:49 [ISSUE] vim: cannot recall command line history voidlinux-github
@ 2019-07-28  9:06 ` " voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-07-28  9:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]

Closed issue by blehel on void-packages repository

https://github.com/void-linux/void-packages/issues/13361
Description: ### System

* xuname:  
  Void 4.19.59_1 x86_64 AuthenticAMD uptodate rrFFF
* package:  
  vim-x11 8.1.1729_2

After upgrading from version 8.1.1635_1, I can no longer recall the command line history of previous sessions with the arrow keys.

### Expected behavior

Pressing `:` and up-arrow recalls the previously typed command lines, including from previous runs of vim, based on the viminfo file.

### Actual behavior

Only the current session's history can be recalled, seemingly because the relevant part of the viminfo file is not processed on startup. The fiIe itself is being read, because the registers and jump list are restored. These items, including the command line history are still being written into it at exit time. 

Interestingly, if I manually read the viminfo file with `:rviminfo! ~/.viminfo`, I get the history back as well.

P.S. I guess this is the commit that deals with this issue:
https://github.com/vim/vim/commit/26b654a5df9414e43734eb4c956b67c331d70a50


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-27  9:49 [ISSUE] vim: cannot recall command line history voidlinux-github
2019-07-28  9:06 ` [ISSUE] [CLOSED] " voidlinux-github

Github messages for voidlinux

Archives are clonable: git clone --mirror http://inbox.vuxu.org/voidlinux-github

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/ public-inbox