≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #1761

Bug #1761: Alternate File lost when Escaping Command-T.

Kind bug
Product Command-T
When 2010-12-15T16:18:44Z
Status closed
Reporter joseph
Tags no tags

Description

To reproduce.

1. Open any file with Command-T (first_file). Then, on top of that file, open any other file (second_file).

2. Now open Command-T. Type in a few characters, and then click Escape. Do not open a new file.

3. You should still be looking at second_file. In command mode, <C-^> should take you to first_file, but instead the error E23: No alternate file appears. Ugh.

To make debugging easier, you may want to add this to your .vimrc:

"Carriage Return to toggle between files in window
nnoremap <CR> <C-^>                        

-Joseph joseph.huttner@gmail.com

Comments

  1. Greg Hurrell 2010-12-15T16:24:34Z

    This is a duplicate of ticket #1634, I think. I couldn't reproduce that one, and I can't reproduce following the instructions that you list here. It must depend in some way on either a plug-in you're using, or some specific setting(s) in your .vimrc.

    I'll close this one for now so as to keep all discussion about this issue in the one place. Please add any further comments you have to ticket #1634.

  2. Greg Hurrell 2010-12-15T16:25:54Z

    Status changed:

    • From: new
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets