Use 'keymodel=startsel' instead of 'behave mswin' since the latter ends visual
[MacVim/jjgod.git] / MacVim.m
blobed967924d1ec18e250bcdb6022b68cc2dd6853cf
1 /* vi:set ts=8 sts=4 sw=4 ft=objc:
2  *
3  * VIM - Vi IMproved            by Bram Moolenaar
4  *                              MacVim GUI port by Bjorn Winckler
5  *
6  * Do ":help uganda"  in Vim to read copying and usage conditions.
7  * Do ":help credits" in Vim to see a list of people who contributed.
8  * See README.txt for an overview of the Vim source code.
9  */
11 #import "MacVim.h"
13 char *MessageStrings[] = 
15     "INVALID MESSAGE ID",
16     "OpenVimWindowMsgID",
17     "InsertTextMsgID",
18     "KeyDownMsgID",
19     "CmdKeyMsgID",
20     "BatchDrawMsgID",
21     "SelectTabMsgID",
22     "CloseTabMsgID",
23     "AddNewTabMsgID",
24     "DraggedTabMsgID",
25     "UpdateTabBarMsgID",
26     "ShowTabBarMsgID",
27     "HideTabBarMsgID",
28     "SetTextDimensionsMsgID",
29     "SetVimWindowTitleMsgID",
30     "ScrollWheelMsgID",
31     "MouseDownMsgID",
32     "MouseUpMsgID",
33     "MouseDraggedMsgID",
34     "FlushQueueMsgID",
35     "AddMenuMsgID",
36     "AddMenuItemMsgID",
37     "RemoveMenuItemMsgID",
38     "EnableMenuItemMsgID",
39     "ExecuteMenuMsgID",
40     "ShowToolbarMsgID",
41     "ToggleToolbarMsgID",
42     "CreateScrollbarMsgID",
43     "DestroyScrollbarMsgID",
44     "ShowScrollbarMsgID",
45     "SetScrollbarPositionMsgID",
46     "SetScrollbarThumbMsgID",
47     "ScrollbarEventMsgID",
48     "SetFontMsgID",
49     "VimShouldCloseMsgID",
50     "SetDefaultColorsMsgID",
51     "ExecuteActionMsgID",
52     "DropFilesMsgID",
53     "DropStringMsgID",
54     "ShowPopupMenuMsgID",
55     "GotFocusMsgID",
56     "LostFocusMsgID",
57     "MouseMovedMsgID",
58     "SetMouseShapeMsgID",
64 // NSUserDefaults keys
65 NSString *MMNoWindowKey                 = @"MMNoWindow";
66 NSString *MMTabMinWidthKey              = @"MMTabMinWidth";
67 NSString *MMTabMaxWidthKey              = @"MMTabMaxWidth";
68 NSString *MMTabOptimumWidthKey          = @"MMTabOptimumWidth";
69 NSString *MMTextInsetLeftKey            = @"MMTextInsetLeft";
70 NSString *MMTextInsetRightKey           = @"MMTextInsetRight";
71 NSString *MMTextInsetTopKey             = @"MMTextInsetTop";
72 NSString *MMTextInsetBottomKey          = @"MMTextInsetBottom";
73 NSString *MMTerminateAfterLastWindowClosedKey
74                                         = @"MMTerminateAfterLastWindowClosed";
75 NSString *MMTypesetterKey               = @"MMTypesetter";
76 NSString *MMCellWidthMultiplierKey      = @"MMCellWidthMultiplier";
77 NSString *MMBaselineOffsetKey           = @"MMBaselineOffset";
78 NSString *MMTranslateCtrlClickKey       = @"MMTranslateCtrlClick";
79 NSString *MMTopLeftPointKey             = @"MMTopLeftPoint";
80 NSString *MMOpenFilesInTabsKey          = @"MMOpenFilesInTabs";