Skip to content

Conversation

ZyX-I
Copy link
Contributor

@ZyX-I ZyX-I commented Nov 1, 2015

Fixes #3580.

Note that there is behaviour change compared to Vim: Vim does not store the direction, it always assumes “forward”.

Blocked by #3270 (new key support was added also to runtime files from #3270). Also bringing that PR to attention: I would really like to see it in before the release since it contains support code for one of the major features. Also because #3580 is only a minor inconvenience.

Feel free to cherry-pick last commit without changes to files from #3270 if latter is unacceptable for some reason.

@ZyX-I ZyX-I added the bug label Nov 1, 2015
@marvim marvim added the RFC label Nov 1, 2015
@fmoralesc
Copy link
Contributor

@ZyX-I can you rebase this? I just merged the ShaDa editing plugin

@ZyX-I
Copy link
Contributor Author

ZyX-I commented Nov 23, 2015

@fmoralesc Rebased.

Note: it looks like viminfo files do not store search direction intentionally.
After reading viminfo file search direction was considered to be “forward”.

Note 2: all files created on earlier Neovim version will automatically receive
“forward” direction.

Fixes neovim#3580
@fmoralesc
Copy link
Contributor

Thanks, @ZyX-I. LGTM, I'll mark as RDY and wait for someone else to comment, but I think we can merge this.

@fmoralesc fmoralesc changed the title [RFC] Store last search direction when writing ShaDa files [RDY] Store last search direction when writing ShaDa files Nov 23, 2015
@mhinz
Copy link
Member

mhinz commented Nov 23, 2015

👍

@fmoralesc
Copy link
Contributor

OK, merging.

fmoralesc added a commit that referenced this pull request Nov 23, 2015
Store last search direction when writing ShaDa files
@fmoralesc fmoralesc merged commit 80cf036 into neovim:master Nov 23, 2015
@jszakmeister jszakmeister removed the RFC label Nov 23, 2015
justinmk added a commit that referenced this pull request Dec 5, 2015
- shada/msgpack editor plugin #3270
- VimL Dict notifications #3603
    - Note: API for this feature may change.
- :profile dump, :profile stop #2427
- :oldfiles! #3611
- TermOpen, TermClose events #3653
- fix: shada/viminfo: Do not save unlisted and quickfix buffers #3581
@ZyX-I ZyX-I deleted the fix-shada branch December 20, 2015 00:20
sakhnik added a commit to sakhnik/neovim that referenced this pull request Dec 9, 2018
Problem:    Internal diff fails when diffing a context diff. (Hirohito Higashi)
Solution:   Only use callback calls with one line. (closes neovim#3581)

vim/vim@f080d70
sakhnik added a commit to sakhnik/neovim that referenced this pull request Dec 9, 2018
Problem:    Internal diff fails when diffing a context diff. (Hirohito Higashi)
Solution:   Only use callback calls with one line. (closes neovim#3581)

vim/vim@f080d70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants