0
submitted 1 year ago* (last edited 1 year ago) by ashwinvis@mastodon.acc.sunet.se to c/neovim@programming.dev

I like mixing the keyboard and mouse. Yes I know

set mouse=a

exists, but it provides only some basic actions. I was wondering if you could map the mouse to allow moving split window panes around - something which is painful to do by keyboard. Do you know of something like this?

#vim #neovim

@vim @neovim

you are viewing a single comment's thread
view the rest of the comments
[-] scy@chaos.social 0 points 1 year ago

@ashwinvis @vim @neovim This _should_ work out of the box…? Does mouse dragging allow you to create a visual selection? If not, your terminal’s mouse reporting is probably not recognized correctly by (Neo)Vim, or it doesn’t report dragging at all.

[-] ashwinvis@mastodon.acc.sunet.se 1 points 1 year ago

@scy
I can select text, resize window panes - that works.

What I am looking for is a way to:

move left pane to right,
move bottom right pane to top left corner etc.

@vim @neovim

[-] scy@chaos.social 1 points 1 year ago

@ashwinvis @vim @neovim Oh! Now I understand. Sorry.

Good question, I don’t know of any way, but I’d be interested in finding out, too, now ;)

[-] ashwinvis@mastodon.acc.sunet.se 1 points 1 year ago

@scy
Indeed. Something is available in nearly every IDEs, and painfully neglected in Vim, Neovim :harold:
@vim @neovim

load more comments (2 replies)
this post was submitted on 16 Jul 2023
0 points (NaN% liked)

Neovim

2157 readers
5 users here now

founded 1 year ago
MODERATORS