<Leader>t in empty buffer, [No Name], does nothing

  1. anonymous

    When I start vim in a directory, my first inclination is to type <Leader>t to open a file. However, there is no response. Plugin like VCSCommand seems to work with <Leader>c. So, there is some logic that isn't getting triggered in command-t.

    To work around this, I invoke vim via a function which starts up with NERDTreeToggle. <Leader>t works whenever you have a directory or a file open. But, empty buffers, it doesn't work.

    I have v1.3.1 installed. Any help much appreciated.

  2. Greg Hurrell

    Not enough detail here to be sure of what problem you're seeing, but you may be referring to a known issue where dismissing the match listing (either by canceling or selecting a file) under the circumstances you describe leads Vim to emit:

    E90: Cannot unload last buffer
    Error detected while processing BufLeave Auto commands for "<buffer=5>":

    Bug #1778 is the relevant ticket.

Reply

This topic is now closed.