@@ -9,18 +9,19 @@ The MacVim Graphical User Interface *macvim* *gui-macvim*
9
9
1. MacVim differences | macvim-differences |
10
10
2. Starting MacVim | macvim-start |
11
11
3. Preferences | macvim-preferences |
12
- 4. Special colors | macvim-colors |
13
- 5. Menus | macvim-menus |
14
- 6. Toolbar | macvim-toolbar |
15
- 7. Touch Bar | macvim-touchbar |
16
- 8. Dialogs | macvim-dialogs |
17
- 9. System services | macvim-services |
18
- 10. mvim:// URL handler | macvim-url-handler |
19
- 11. Keyboard shortcuts | macvim-shortcuts |
20
- 12. Trackpad gestures | macvim-gestures |
21
- 13. International | macvim-international |
22
- 14. Known bugs/missing features | macvim-todo |
23
- 15. Hints | macvim-hints |
12
+ 4. MacVim appearance | macvim-appearance |
13
+ 5. Special colors | macvim-colors |
14
+ 6. Menus | macvim-menus |
15
+ 7. Toolbar | macvim-toolbar |
16
+ 8. Touch Bar | macvim-touchbar |
17
+ 9. Dialogs | macvim-dialogs |
18
+ 10. System services | macvim-services |
19
+ 11. mvim:// URL handler | macvim-url-handler |
20
+ 12. Keyboard shortcuts | macvim-shortcuts |
21
+ 13. Trackpad gestures | macvim-gestures |
22
+ 14. International | macvim-international |
23
+ 15. Known bugs/missing features | macvim-todo |
24
+ 16. Hints | macvim-hints |
24
25
25
26
Other relevant documentation:
26
27
| gui.txt | For generic items of the GUI.
@@ -259,6 +260,7 @@ KEY VALUE ~
259
260
*MMNoFontSubstitution* disable automatic font substitution [bool]
260
261
*MMNoTitleBarWindow* hide title bar [bool]
261
262
*MMTitlebarAppearsTransparent* enable a transparent titlebar [bool]
263
+ *MMAppearanceModeSelection* dark mode selection (| macvim-dark-mode | )[bool]
262
264
*MMShareFindPboard* share search text to Find Pasteboard [bool]
263
265
*MMShowAddTabButton* enable "add tab" button on tabline [bool]
264
266
*MMTabMaxWidth* maximum width of a tab [int]
@@ -301,7 +303,19 @@ shell is used, then "-l" is automatically added as an argument. To override
301
303
this behaviour set MMLoginShellArgument to "--".
302
304
303
305
==============================================================================
304
- 4. Special colors *macvim-colors*
306
+ 4. MacVim appearance *macvim-appearance*
307
+
308
+ *macvim-appearance-mode* *macvim-dark-mode*
309
+ MacVim will by default use the system apperance mode (light or dark). However,
310
+ you can manually force MacVim to use either light or dark mode in the
311
+ preferences panel. A fourth option allows MacVim to respect the | 'background' |
312
+ option set by Vim, which is more flexible in situations like loading a dark
313
+ color scheme while system preferences are configured to use light mode. It's
314
+ also the recommended setting when title bar is configured to be "Transparent"
315
+ (see | MMTitlebarAppearsTransparent | ).
316
+
317
+ ==============================================================================
318
+ 5. Special colors *macvim-colors*
305
319
306
320
The colors in MacVim are defined in two dictionaries inside the "Resources"
307
321
folder of the application bundle (MacVim.app/Contents/Resources). It is
@@ -351,7 +365,7 @@ the "Appearance" pane of the System Preferences. It also changes the
351
365
highlight color when a window becomes inactive.
352
366
353
367
==============================================================================
354
- 5 . Menus *macvim-menus*
368
+ 6 . Menus *macvim-menus*
355
369
356
370
Menus in macOS behave slightly different from other platforms. For that
357
371
reason two new commands have been added to Vim. To understand what these
@@ -474,7 +488,7 @@ _cycleWindows: Select next window (similar to <D-`>)
474
488
_cycleWindowsBackwards: Select previous window (similar to <D-S-`>)
475
489
476
490
==============================================================================
477
- 6 . Toolbar *macvim-toolbar*
491
+ 7 . Toolbar *macvim-toolbar*
478
492
479
493
The toolbar in MacVim works just like in the other GUIs (see | gui-toolbar | ),
480
494
with the addition of two separator items (see | menu-separator | ). You can use
@@ -498,7 +512,7 @@ Note: Only a subset of the builtin toolbar items presently have icons. If no
498
512
icon can be found a warning triangle is displayed instead.
499
513
500
514
==============================================================================
501
- 7 . Touch Bar *macvim-touchbar*
515
+ 8 . Touch Bar *macvim-touchbar*
502
516
503
517
Touch Bar in MacVim works similar to the toolbar (see | macvim-toolbar | ). The
504
518
difference is that you use the special menu "TouchBar" instead of "ToolBar": >
@@ -536,7 +550,7 @@ ExitFullScreen |'fullscreen'| mode. To disable the button, add the
536
550
let g:macvim_default_touchbar_fullscreen=0
537
551
538
552
==============================================================================
539
- 8 . Dialogs *macvim-dialogs*
553
+ 9 . Dialogs *macvim-dialogs*
540
554
541
555
Dialogs can be controlled with the keyboard in two ways. By default each
542
556
button in a dialog is bound to a key. The button that is highlighted by blue
@@ -555,7 +569,7 @@ select the current button. The current button is indicated with a blue
555
569
outline.
556
570
557
571
==============================================================================
558
- 9 . System services *macvim-services*
572
+ 10 . System services *macvim-services*
559
573
560
574
MacVim supports two system services. These can be accessed from the MacVim
561
575
submenu in the Services menu or by right-clicking a selection. For services
@@ -572,7 +586,7 @@ The services respect the "Open files from applications" setting in the general
572
586
preferences.
573
587
574
588
==============================================================================
575
- 10 . mvim:// URL handler *mvim://* *macvim-url-handler*
589
+ 11 . mvim:// URL handler *mvim://* *macvim-url-handler*
576
590
577
591
MacVim supports a custom URL handler for "mvim://" URLs. The handler is
578
592
supposed to be compatible to TextMate's URL scheme as documented at >
@@ -593,7 +607,7 @@ will open the file /etc/profile on line 20 when clicked in a web browser.
593
607
Note that url has to be a file:// url pointing to an existing local file.
594
608
595
609
==============================================================================
596
- 11 . Keyboard shortcuts *macvim-shortcuts*
610
+ 12 . Keyboard shortcuts *macvim-shortcuts*
597
611
598
612
Most keyboard shortcuts in MacVim are bound to menu items and can be
599
613
discovered by looking through the menus (see | macvim-menus | on how to create
@@ -673,7 +687,7 @@ sometimes be slightly involved. Here are all the things you need to consider:
673
687
- A few command key mappings are set up by MacVim, see | cmd-movement | .
674
688
675
689
==============================================================================
676
- 12 . Trackpad gestures *macvim-gestures*
690
+ 13 . Trackpad gestures *macvim-gestures*
677
691
678
692
MacVim supports trackpad swipe gestures. By default this can be used to
679
693
navigate back/forward in the help (try it!).
@@ -708,7 +722,7 @@ As another example, here is how to switch buffers by swiping left/right: >
708
722
See the section on | key-mapping | for more help on how to map keys.
709
723
710
724
==============================================================================
711
- 13 . International *macvim-international*
725
+ 14 . International *macvim-international*
712
726
713
727
When editing non-English text it may be convenient to keep separate keyboard
714
728
layouts for normal and insert mode. This is supported via the 'imd' option on
@@ -729,7 +743,7 @@ wrong layout when going back to normal mode, then select the layout you want
729
743
to use in normal mode and type ":set imd" followed by ":set noimd".
730
744
731
745
==============================================================================
732
- 14 . Known bugs/missing features *macvim-todo*
746
+ 15 . Known bugs/missing features *macvim-todo*
733
747
734
748
This list is by no means exhaustive, it only enumerates some of the more
735
749
prominent bugs/missing features.
@@ -760,7 +774,7 @@ This is also the best place for making feature requests as well as for asking
760
774
general questions about MacVim.
761
775
762
776
==============================================================================
763
- 15 . Hints *macvim-hints*
777
+ 16 . Hints *macvim-hints*
764
778
765
779
In this section some general (not necessarily MacVim specific) hints are
766
780
given.
0 commit comments