Skip to content

In Terminal Emulators <F2> Toggle Inserts Text #9

@ViViDboarder

Description

@ViViDboarder

In my .vimrc I have the following

nnoremap <silent> <F2> :Bufferlist<CR>

When I hit F2 to toggle the buffer list, it shows the list just fine, but when I toggle out it ends up inserting some text.

It ends up adding a new line with Q

Before

i am foo bar

Press F2 twice

Q
i am foo bar

When I bind to other keys I get different results.

Bound to F5 it changes toggles case of words.

Before:

abcdefghijklmnop

After:

ABCDEfghijklmnop

One more time:

abcdefghijklmnop

Now the weird part is that in MacVim with the GUI (I haven't checked gvim on Linux) it works perfectly... and if I run the same binary /Applications/MacPorts/MacVim.app/Contents/MacOS/Vim I get the weird behavior again.

Oddly enough I use the same toggles for other plugins with no issues either.

Example:

nnoremap <silent> <F3> :TMToggle<CR>

works just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions