macvim-dev / macvim

Vim - the text editor - for macOS
https://macvim.org
Vim License
7.53k stars 685 forks source link

Move MacVim when the titlebar option is Hidden? #1181

Open nyngwang opened 3 years ago

nyngwang commented 3 years ago

State: Currently impossible. Problem: When titlebar option Hidden selected, no way to move the MacVim editor. System: MacOSX Big Sur 11.2.3 (20D91) Picture:

image

Is this a feature?

ychin commented 3 years ago

Yes this is just how it works. It's mostly useful if you already have the window at a particular place and don't want the distraction of the title bar. If you want to be able to move the window, you may want to just leave the titlebar visible.

nyngwang commented 3 years ago

Yes this is just how it works. It's mostly useful if you already have the window at a particular place and don't want the distraction of the title bar. If you want to be able to move the window, you may want to just leave the titlebar visible.

Do we have a toggle shortcut for this? So I won't have to do this from preference every time.

ychin commented 3 years ago

No we don't currently have one.

ychin commented 3 years ago

The main reason for this feature's existence is mostly to make it so that when you are say pinning the app to the left or the right side of the screen, you can fully utilize the screen space, but it's not really designed to be dragged around. Usually that's done by third-party tools like Spectacle which handles moving the window for you (although you can also use the Window menu). A title-less window is generally an oddity in macOS, since most macOS apps do have one, so I don't think it's worth adding too much feature support for this as it kind of goes against the macOS UI design.

gsa9 commented 3 years ago

In Alacritty you can move the window and resize it when the window's title bar is hidden, which is a very nice feature to have (for me). In MacVim, with the title bar in 'Hidden' mode, you can't move the window, nor snap it to a predefined space in the screen (i.e. with BetterSnapTool), and that is dearly missed in MacVim.