carlhuda/janus — Issue #304: command-T issue - experimental branch
Author: secoif
Created: 2011-11-29 03:50:15+00:00
State: open

Something has just happened to my command-T, not sure if it's an issue with janus or command-t itself, but since the command-T guys don't seem to have issue tracking enabled on the github mirror and I can't find it on their site, i'll log it here, hoping it's something fixable in the janus department.

Basically, the command-T split takes up 95% of my screen and i can't seem to figure out a way to get it to go back to it's original ~25% size. It never used to be so massive.

Also, when vim boots now, it doesn't open a blank buffer by default.... and if I use command-T, but before selecting a buffer, I click into the space above the command-T buffer, I get this:

```
Error detected while processing BufLeave Auto commands for "":
E90: Cannot unload last buffer
```

Afterwhich the command-T window gets line numbers, strange formatting, won't close properly, and throws the same error each time I use it. Requires vim restart.

Similar issue if I hit `` before selecting a file on initial boot, except it gives a

```
Error detected while processing function CommandTCancel
E90: Cannot unload last buffer
```
and has the awesome behaviour of adding a new, broken Command-T split that now opens along with the 'regular' command-T. Currently I have 5 command-T splits on top of each other, at once. :D

Update: I managed to fix the height of command-T by adding this to my `gvimrc.after`:

````
let CommandTMaxHeight=10
```