Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master #55

Open
wants to merge 1,284 commits into
base: vim
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1284 commits
Select commit Hold shift + click to select a range
6b59359
Deprecate Pinch/Rotate gestures
b4winckler Sep 8, 2010
3609f11
Update help on Quickstart feature
b4winckler Sep 17, 2010
be84460
Avoid Vim locking up whilst waiting for input
b4winckler Sep 30, 2010
fdd289b
Shorter input check intervals
b4winckler Sep 30, 2010
24b70eb
Set represented filename for full screen window
dmitryelastic Oct 1, 2010
051dd87
Merge branch 'vim'
b4winckler Oct 1, 2010
fe4dcf1
Patch 7.3.019 missing #ifdef
b4winckler Oct 1, 2010
96a5aac
Update credits
b4winckler Oct 1, 2010
e1f144f
Snapshot 54
b4winckler Oct 1, 2010
cc43c3f
Fix inline marked text regression
b4winckler Oct 2, 2010
c96d4dc
Do not change pwd on open file for onscreen window
b4winckler Oct 3, 2010
76f937b
Snapshot 55
b4winckler Oct 5, 2010
291a5c4
Merge branch 'vim'
b4winckler Oct 14, 2010
98b5cd3
Use correct screen for full screen
b4winckler Oct 14, 2010
73626de
Update help on binding to Cmd-key
b4winckler Oct 15, 2010
c997223
Fix cascading with multiple monitors
b4winckler Oct 19, 2010
243ebf0
Use correct screen when constraining views
b4winckler Oct 19, 2010
5c71a17
Merge branch 'vim'
b4winckler Nov 1, 2010
8587729
Listen to InputSourceChanged notification
splhack Nov 4, 2010
d2e82df
Fix to update cursor at the IM state changed
splhack Nov 6, 2010
32e3d88
Do not process IM state change immediately
b4winckler Nov 6, 2010
dc7ffe8
Fix build problem on Leopard
splhack Nov 16, 2010
29697da
Merge branch 'vim' into merge
b4winckler Dec 10, 2010
c42b133
Check for conversion error in Core Text renderer
b4winckler Dec 10, 2010
34d035c
Merge branch 'vim'
b4winckler Dec 19, 2010
50b3a7f
Fix proxy icon response to modified buffers
b4winckler Dec 18, 2010
caabb3f
Avoid unnecessary clearing of the status line
b4winckler Dec 20, 2010
1be91f7
Avoid use of CLEAR flag when not using GUI
b4winckler Dec 21, 2010
d1182d2
Snapshot 56
b4winckler Dec 21, 2010
57975f6
Update Mac specific README files
b4winckler Dec 24, 2010
3a2e09f
Update help file
b4winckler Dec 28, 2010
deb3e9a
Add full screen window title to "Window" menu
b4winckler Dec 30, 2010
1cb9a4f
Fix file open problem in full screen with Spaces
b4winckler Dec 30, 2010
3bcd07d
Avoid switching Spaces when entering full screen
b4winckler Dec 30, 2010
fa41b4a
Fix compilation problems on OS X 10.4
b4winckler Dec 31, 2010
0e9b4e1
Handle resolution changes while in full screen
b4winckler Dec 31, 2010
8ca9999
Fix for dragging full screen window in Spaces
b4winckler Jan 8, 2011
6863b04
Avoid switching Spaces when leaving full screen
b4winckler Jan 8, 2011
353b836
No partially grey window when leaving full screen
b4winckler Jan 9, 2011
9109c93
Hide Dock before entering full screen
b4winckler Jan 9, 2011
7ec523f
Delete obsolete README-repo.txt
b4winckler Jan 9, 2011
75ca477
Add suppression tick box to termination alert
b4winckler Jan 9, 2011
00936cd
Merge branch 'vim'
b4winckler Jan 9, 2011
210a71b
Fix open from Xcode with selection range
b4winckler Jan 17, 2011
f6dc8d2
Fix untitled window opening regression
b4winckler Jan 17, 2011
4a85f40
Change heuristic to determine cell width
b4winckler Jan 18, 2011
16895be
Raise correct window on file open
b4winckler Jan 20, 2011
506b335
Add files opened from command line to MRU
b4winckler Oct 1, 2010
dfa2561
Add --nomru switch
b4winckler Jan 20, 2011
7bcc593
Fix for 'set fu' in gvimrc
b4winckler Jan 22, 2011
f19b66e
Refactor MRU code
b4winckler Jan 23, 2011
5e544c5
Merge branch 'vim'
b4winckler Jan 29, 2011
20ded53
Fix compilation problems caused by patch 7.3.102
b4winckler Jan 29, 2011
6e6fac5
Snapshot 57
b4winckler Jan 29, 2011
1eee089
Force flush output before running shell command
b4winckler Feb 1, 2011
3d348a4
Fix URL scheme handler to accept paths with spaces
Feb 9, 2011
633dfac
Merge branch 'vim'
b4winckler Feb 13, 2011
2991883
Fix --with-ruby-command argument
Jan 9, 2011
4ea64bd
Merge branch 'vim'
b4winckler Feb 20, 2011
8b4669f
Constrain window before autosaving dimensions
b4winckler Feb 22, 2011
088d120
Update URL for Envy Code R download
b4winckler Feb 23, 2011
cebfc04
Make :winpos measure Y coordinates from top
Feb 23, 2011
d12f092
Envy Code R no longer required to build
humblehacker Feb 24, 2011
386f229
Make it possible to compile without a GUI
b4winckler Feb 27, 2011
3811f44
Disable document icon generation
b4winckler Mar 21, 2011
638774c
Add note on document icon generation to README
b4winckler Mar 21, 2011
557788d
Merge branch 'vim'
b4winckler Mar 22, 2011
76f08e5
Honor VIM and VIMRUNTIME environment variables
JessThrysoee Mar 29, 2011
f7f1116
Merge branch 'vim'
b4winckler Apr 21, 2011
d0d1d08
Merge branch 'vim'
b4winckler May 7, 2011
3b33bfb
Fix Cmd-v pasting in insert mode
b4winckler May 10, 2011
3c7743b
Remove hard-coded Cmd-key mappings
b4winckler May 10, 2011
77b9609
Fix cursor drawing issue with 'rl' enabled
b4winckler May 10, 2011
cd9acb1
Added VHDL to the list of supported files in Info.plist
Feb 23, 2011
aa8c27f
Use generic doc icon for VHDL
b4winckler Mar 24, 2011
a761f79
Revert "Fix Cmd-v pasting in insert mode"
b4winckler May 11, 2011
7e1e159
Add Lua to supported file types in Info.plist
b4winckler May 11, 2011
4240233
Use "Source File" consistently in Info.plist
b4winckler May 11, 2011
c60f09b
Merge branch 'vim'
b4winckler May 30, 2011
d8066f8
Fix untitled window open regression
b4winckler May 31, 2011
b8ec903
Plug major memory leak
b4winckler Jun 9, 2011
93116bd
Merge branch 'vim'
b4winckler Jun 14, 2011
30332fd
Remove unused Carbon include
b4winckler Jun 14, 2011
f6c0037
Merge branch 'vim'
b4winckler Jun 27, 2011
5a13bc1
Snapshot 58
b4winckler Jun 27, 2011
8c1e930
Use public API to toggle display of hidden files
b4winckler Jul 9, 2011
b0625e5
Snapshot 59
b4winckler Jul 10, 2011
d99c9c1
Fix bug in swipe code
b4winckler Jul 16, 2011
b5fae0f
Fix compiler warning
b4winckler Jul 16, 2011
301fd4c
Merge branch 'vim'
b4winckler Jul 17, 2011
47e83bc
Use native Lion full screen functionality
b4winckler Jul 10, 2011
35c355a
Disable automatic relaunching on OS X 10.7
b4winckler Jul 16, 2011
88b7b92
Use GCC instead of platform default
b4winckler Jul 16, 2011
37741a0
Use correct availability macros
b4winckler Jul 21, 2011
1c1b721
Update .gitignore
b4winckler Jul 21, 2011
672bf1f
Fix open/save panel related compilation warnings
b4winckler Jul 21, 2011
df0c4d7
Fix compilation warnings in PSMTabBarControl
b4winckler Jul 21, 2011
6bd19ec
Emergency fix for Ruby problems
b4winckler Jul 21, 2011
79ba4bc
Addendum to emergency fix
b4winckler Jul 21, 2011
df741b5
Fix for zsh causing freezes on Lion
b4winckler Jul 22, 2011
27086e3
Emergency fix for Ruby problems
b4winckler Jul 21, 2011
c35d6d1
Addendum to emergency fix
b4winckler Jul 21, 2011
56390fa
Fix for zsh causing freezes on Lion
b4winckler Jul 22, 2011
e0f133c
Merge branch 'vim'
b4winckler Jul 22, 2011
aa86531
Snapshot 60
b4winckler Jul 22, 2011
9e6a7b7
Clicking full screen button updates 'fu' option
b4winckler Jul 24, 2011
6f05829
Switch spaces when closing window in full screen
b4winckler Jul 24, 2011
b8e2540
Set proper animation behavior for window
b4winckler Jul 24, 2011
f295c0d
Keep full screen window centered, change animation
b4winckler Jul 25, 2011
19d9e88
Fix visibility of toolbar in full screen
b4winckler Jul 25, 2011
9dabefa
Change toolbar style in full screen
b4winckler Jul 25, 2011
ec80934
Map delete key to delete visual selection
b4winckler Jul 26, 2011
705cce1
Support "set fu" in gvimrc for Lion full screen
b4winckler Jul 26, 2011
bcfd368
Maximize both directions in full screen by default
b4winckler Jul 26, 2011
4fbdea5
Fix for opening new window while in full screen
b4winckler Jul 26, 2011
d01ee9a
Use correct presentation option API
b4winckler Jul 26, 2011
7f8ed17
Handle screen parameter changes in full screen
b4winckler Jul 26, 2011
98346d0
Add user default for native/custom full screen
b4winckler Jul 27, 2011
8b7a78a
Addendum to fix for open window in full-screen
b4winckler Jul 27, 2011
871d6fb
Fix window restore on enter full-screen failure
b4winckler Jul 27, 2011
84bd7ac
Final fix for open new window in full-screen
b4winckler Jul 27, 2011
8d255ed
Avoid window animation on custom full-screen exit
b4winckler Jul 27, 2011
1435c84
Use "full-screen" and [Ff]ullScreen consistently
b4winckler Jul 27, 2011
9007fe7
Rename MMFullscreenWindow -> MMFullScreenWindow
b4winckler Jul 27, 2011
62511cc
Merge branch 'lion'
b4winckler Jul 27, 2011
af13572
Snapshot 61
b4winckler Jul 27, 2011
b68b47e
Fixed typo in the project file when MMFullscreenWindow was renamed to…
Jul 27, 2011
31d7d95
Merge pull request #17 from seanfarley/master
b4winckler Jul 27, 2011
95b3957
Avoid compilation warning on OS X 10.4 - 10.6
b4winckler Jul 27, 2011
88fc234
Ensure window stays maximized in full-screen
b4winckler Jul 28, 2011
490a242
Hide tabline separator in full-screen
b4winckler Jul 30, 2011
6748966
Fix to draw the underline for inline IM inputs
splhack Aug 5, 2011
eadead4
Handle spaces in output directories
budrick Aug 24, 2011
08147f3
Merge pull request #19 from budrick/master
b4winckler Aug 26, 2011
bf9c575
Merge pull request #18 from splhack/fix_im_underline
b4winckler Aug 28, 2011
afc4e4c
Revert "Map delete key to delete visual selection"
b4winckler Aug 29, 2011
2793340
Restore hard-coded <Backspace> binding
b4winckler Aug 29, 2011
b7571e2
Fix window dimension autosave regression
b4winckler Aug 29, 2011
5cfb54e
Change full-screen maximization heuristic
b4winckler Aug 29, 2011
54eddb6
Plug memory leak in PSMTabBarControl
b4winckler Sep 4, 2011
439e2de
Merge branch 'vim'
b4winckler Sep 11, 2011
0df4812
Merge branch 'vim'
b4winckler Sep 15, 2011
fb682aa
Add preference to disable native full-screen
b4winckler Sep 18, 2011
b959dab
Snapshot 62
b4winckler Sep 18, 2011
9074034
Noted --help param to reduce initial confusion
timoxley Sep 6, 2011
bea5e3c
Fix a building problem with perl 5.14.1 on Mac OS X
knl Sep 8, 2011
0958216
Regenerate configure scripts
b4winckler Sep 20, 2011
4fe710d
Merge branch 'vim'
b4winckler Sep 22, 2011
2e43d08
Merge branch 'vim'
b4winckler Oct 7, 2011
54b2b3c
Don't set GCC_VERSION
b4winckler Oct 7, 2011
a2efcc4
Merge branch 'vim'
b4winckler Nov 10, 2011
a914f7d
Snapshot 63
b4winckler Nov 10, 2011
4b764c5
Fix processing of netbeans messages
ervandew Nov 21, 2011
1a0cc62
Merge branch 'vim'
b4winckler Dec 31, 2011
d8524b9
Snapshot 64
b4winckler Jan 2, 2012
65d86b8
Merge branch 'vim'
b4winckler Jan 11, 2012
7868edf
Add way to stop macvim color scheme from loading
b4winckler Jan 13, 2012
30ed2e9
Add help on how to disable macvim color scheme
b4winckler Jan 13, 2012
8a4c9fe
Flush while searching in included files
b4winckler Jan 29, 2012
a801156
Merge branch 'vim'
b4winckler Feb 24, 2012
e1db1cf
Merge branch 'vim'
b4winckler Mar 10, 2012
e409555
Avoid spurious inertial trackpad scrolling
b4winckler Mar 18, 2012
bcc349c
Merge branch 'vim'
b4winckler Mar 18, 2012
5c1351f
Merge branch 'vim'
b4winckler Apr 15, 2012
028d3f6
Merge branch 'vim'
b4winckler May 15, 2012
655ced1
Merge branch 'vim'
b4winckler May 27, 2012
3c27d4f
Force autorelease pool flush after an FSEvent
Jul 11, 2012
35a0655
Merge branch 'vim'
b4winckler Jul 17, 2012
98c2fea
Fix for clip_copy_selection() being made static
b4winckler Jul 17, 2012
a1f636d
Add 2x images for PSMTabBarControl
nico Jul 23, 2012
ce5b7a2
Clip to cell when drawing insertion point
b4winckler Aug 10, 2012
8545368
Fix clang compiler and static analyzer warnings
b4winckler Aug 17, 2012
25150b0
Fix static analyzer warning in DBPrefs
b4winckler Aug 17, 2012
259f4de
Fix warnings etc in PSMTabBarControl framework
b4winckler Aug 17, 2012
b8f6e70
Default to using CoreText renderer
b4winckler Aug 19, 2012
8fa2a3f
Disable toolbar by default
b4winckler Aug 19, 2012
1c99b7c
Rephrase text in advanced preferences dialog
b4winckler Aug 19, 2012
933cfa5
Merge branch 'vim'
b4winckler Sep 1, 2012
b13abfe
Snapshot 65
b4winckler Sep 1, 2012
4aeadf5
Only select directories in browsedir()
b4winckler Oct 12, 2012
2934356
Merge branch 'vim'
b4winckler Nov 4, 2012
965313f
Fix for 'ballooneval' breaking 'updatetime'
b4winckler Dec 8, 2012
caebe7d
Merge branch 'vim'
b4winckler Dec 12, 2012
c898b78
Snapshot 66
b4winckler Dec 12, 2012
1ba220a
Merge branch 'vim'
b4winckler Feb 7, 2013
11b2e90
Merge branch 'vim'
b4winckler May 18, 2013
9a7a0ee
Merge branch 'vim'
b4winckler May 24, 2013
411115c
Merge branch 'vim'
b4winckler May 26, 2013
3e20bda
Merge branch 'vim'
b4winckler Jun 8, 2013
871611e
Cache Core Text fonts
b4winckler Jun 9, 2013
798c96e
Respond to backing properties changes
b4winckler Jun 9, 2013
3d8e6c3
Fix hollow cursor drawing on Retina display
b4winckler Jun 9, 2013
1d6e44c
Merge branch 'vim'
b4winckler Jun 10, 2013
67d2e5b
Merge branch 'vim'
b4winckler Jun 11, 2013
f72d696
Merge branch 'vim'
b4winckler Jun 13, 2013
946e219
Merge branch 'vim'
b4winckler Jun 14, 2013
6fc791c
Merge branch 'vim'
b4winckler Jun 17, 2013
324a552
Merge branch 'vim'
b4winckler Jun 20, 2013
027c687
Fix getfontname()
b4winckler Jun 21, 2013
81f35d1
Restore 'src/configure' script from upstream
b4winckler Jun 23, 2013
3a9ba01
Ignore files in src/auto/
b4winckler Jun 23, 2013
ce999c0
Merge branch 'vim'
b4winckler Jun 23, 2013
e02ab36
Merge branch 'vim'
b4winckler Jun 27, 2013
e11dd5a
Merge branch 'vim'
b4winckler Jul 3, 2013
7aacbcd
Merge branch 'vim'
b4winckler Jul 6, 2013
9c872ac
Bump help file version count
b4winckler Jul 6, 2013
8c917ee
Snapshot 67
b4winckler Jul 6, 2013
c708d94
Update copyright year
b4winckler Jul 9, 2013
4537063
Merge branch 'vim'
b4winckler Jul 9, 2013
accd5ef
Fix drawing of wide glyphs in Core Text renderer
b4winckler Jul 10, 2013
af9e235
Snapshot 68
b4winckler Jul 12, 2013
44cb070
Merge branch 'vim'
b4winckler Jul 17, 2013
fe5039c
Don't double-encode URLs before parsing them
s4y Jul 17, 2013
606fa88
Merge branch 'vim'
b4winckler Jul 18, 2013
9fc84fb
Merge branch 'vim'
b4winckler Jul 28, 2013
9f8bec3
Bump help file version number
b4winckler Jul 28, 2013
9f71585
Snapshot 69
b4winckler Jul 28, 2013
864d43f
Bump CFBundleShortVersionString
b4winckler Aug 3, 2013
5d200ba
Merge branch 'vim'
b4winckler Aug 10, 2013
cdefab4
Bump help file version
b4winckler Aug 10, 2013
82d0ade
Snapshot 70 - Vim 7.4
b4winckler Aug 10, 2013
6e441ac
Merge branch 'vim'
b4winckler Aug 23, 2013
c5c6beb
Merge branch 'vim'
b4winckler Sep 1, 2013
c972338
Use “inoremap” for <M-BS> and <D-BS>
bdesham Sep 5, 2013
010635f
Use “noremap” for all other mappings too
bdesham Sep 5, 2013
52f4da8
Merge pull request #34 from bdesham/patch-1
b4winckler Sep 6, 2013
0f3e96b
Merge pull request #33 from Sidnicious/patch-1
b4winckler Sep 6, 2013
7574495
Merge branch 'vim'
b4winckler Sep 6, 2013
04f77a4
Snapshot 71
b4winckler Sep 6, 2013
90a2abe
Merge branch 'vim'
b4winckler Sep 16, 2013
6be3e4d
Merge branch 'vim'
b4winckler Sep 21, 2013
3f6a4d7
Merge branch 'vim'
b4winckler Sep 23, 2013
ce0bd68
Merge branch 'vim'
b4winckler Oct 6, 2013
655e0a8
Merge branch 'vim'
b4winckler Oct 6, 2013
df7b6fb
Always pull in AvailabilityMacros.h
b4winckler Oct 7, 2013
b91903e
Fix 10.9 Ruby.framework detection/compilation
felixbuenemann Oct 9, 2013
bc25430
Fix getfontname()
jszakmeister Oct 11, 2013
0f39305
Avoid directly calling objc runtime functions in C
b4winckler Oct 25, 2013
2f0cd84
Avoid warning if HAVE_DUP is redefined
b4winckler Oct 25, 2013
18c7318
Snapshot 72
b4winckler Oct 25, 2013
8041d3a
Stop using 10.9 deprecated CGContext function
b4winckler Oct 26, 2013
fc64ef5
Only pull in AvailabilityMacros.h when necessary
felixbuenemann Oct 26, 2013
588e5f8
Revert "Only pull in AvailabilityMacros.h when ..."
b4winckler Nov 23, 2013
6bb23c8
Revert "Always pull in AvailabilityMacros.h"
b4winckler Nov 23, 2013
5428a4b
Merge branch 'vim'
b4winckler Nov 23, 2013
0d98f43
Merge branch 'vim'
b4winckler Feb 22, 2014
98f6e2f
Merge branch 'vim'
b4winckler Apr 20, 2014
3de89a5
Snapshot 73
b4winckler Apr 21, 2014
1b6fabf
Merge branch 'vim'
b4winckler Jul 26, 2014
fd916f5
Fix background color of active tab for Yosemite
nico Nov 2, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
44 changes: 44 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
.*.swp
.DS_Store
src/MacVim/MacVim.xcodeproj/*.mode1
src/MacVim/MacVim.xcodeproj/*.mode1v3
src/MacVim/MacVim.xcodeproj/*.pbxuser
src/MacVim/MacVim.xcodeproj/project.xcworkspace
src/MacVim/MacVim.xcodeproj/xcuserdata
src/MacVim/icons/*.pyc
src/MacVim/icons/*.ttf
src/MacVim/icons/*.reg
src/MacVim/icons/*.zip
src/MacVim/icons/*.txt
src/MacVim/icons/*.so
src/MacVim/icons/*.egg-info
src/MacVim/icons/build
src/MacVim/icons/makeicns/*.o
src/MacVim/icons/makeicns/makeicns
src/MacVim/PSMTabBarControl/PSMTabBarControl.xcodeproj/*.mode1
src/MacVim/PSMTabBarControl/PSMTabBarControl.xcodeproj/*.mode1v3
src/MacVim/PSMTabBarControl/PSMTabBarControl.xcodeproj/*.pbxuser
src/MacVim/PSMTabBarControl/PSMTabBarControl.xcodeproj/xcuserdata
src/MacVim/PSMTabBarControl/build
src/MacVim/PSMTabBarControl/build
src/MacVim/build
src/TAGS
src/Vim
src/auto/config.cache
src/auto/config.h
src/auto/config.log
src/auto/config.mk
src/auto/config.status
src/auto/if_perl.c
src/auto/link.log
src/auto/link.sed
src/auto/osdef.h
src/auto/pathdef.c
src/config.log
src/config.status
src/objects
src/po/*.mo
src/tags
src/xxd/xxd
src/xxd/xxd.dSYM
src/a.out.dSYM
6 changes: 4 additions & 2 deletions README_extra.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ src/os_beos.* Files for the BeOS port.
src/os_msdos.*
src/os_dos.* Files for the MS-DOS port.

src/gui_mac.*
src/os_mac.* Files for the Mac port.
src/gui_mac.* Carbon GUI (not used)
src/os_mac* Shared files for the different Mac ports.

src/MacVim/* Files for the MacVim port.

src/os_mint.8 Files for the Atari Mint port.

Expand Down
34 changes: 32 additions & 2 deletions README_mac.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,38 @@
README_mac.txt for version 7.4 of Vim: Vi IMproved.

This file explains the installation of Vim on Macintosh systems.
This file explains the installation of MacVim.
See "README.txt" for general information about Vim.
See "src/MacVim/README" for an overview of the MacVim specific source code.

MacVim uses the usual configure/make steps to build the binary but instead of
"make install" you just drag the app bundle into the directory you wish to
install in (usually `/Applications').

Sorry, this text still needs to be written!

How to build and install
========================

Run `./configure` in the `src/` directory with the flags you want (call
`./configure --help` to see a list of flags) e.g.:

$ cd src
$ ./configure --with-features=huge \
--enable-rubyinterp \
--enable-pythoninterp \
--enable-perlinterp \
--enable-cscope

Now build the project using `make`:

$ make

The resulting app bundle will reside under `MacVim/build/Release`. To try it
out quickly, type:

$ open MacVim/build/Release/MacVim.app

To install MacVim, type

$ open MacVim/build/Release

and drag the MacVim icon into your `Applications` folder.
133 changes: 133 additions & 0 deletions runtime/colors/macvim.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
" MacVim colorscheme
"
" Maintainer: Bjorn Winckler <[email protected]>
" Last Change: 2008 May 9
"
" This is the default MacVim color scheme. It supports both light and dark
" backgrounds (see :h 'background').
"


highlight clear

" Reset String -> Constant links etc if they were reset
if exists("syntax_on")
syntax reset
endif

let colors_name = "macvim"


"
" First list all groups common to both 'light' and 'dark' background.
"

" `:he highlight-groups`
hi DiffAdd guibg=MediumSeaGreen
hi Directory guifg=#1600FF
hi ErrorMsg guibg=Firebrick2 guifg=White
hi FoldColumn guibg=Grey guifg=DarkBlue
hi Folded guibg=#E6E6E6 guifg=DarkBlue
hi IncSearch gui=reverse
hi ModeMsg gui=bold
hi MoreMsg gui=bold guifg=SeaGreen4
hi NonText gui=bold guifg=Blue
hi Pmenu guibg=LightSteelBlue1
hi PmenuSbar guibg=Grey
hi PmenuSel guifg=White guibg=SkyBlue4
hi PmenuThumb gui=reverse
hi Question gui=bold guifg=Chartreuse4
hi SignColumn guibg=Grey guifg=DarkBlue
hi SpecialKey guifg=Blue
hi SpellBad guisp=Firebrick2 gui=undercurl
hi SpellCap guisp=Blue gui=undercurl
hi SpellLocal guisp=DarkCyan gui=undercurl
hi SpellRare guisp=Magenta gui=undercurl
hi StatusLine gui=NONE guifg=White guibg=DarkSlateGray
hi StatusLineNC gui=NONE guifg=SlateGray guibg=Gray90
hi TabLine gui=underline guibg=LightGrey
hi TabLineFill gui=reverse
hi TabLineSel gui=bold
hi Title gui=bold guifg=DeepSkyBlue3
hi VertSplit gui=NONE guifg=DarkSlateGray guibg=Gray90
if has("gui_macvim")
hi Visual guibg=MacSelectedTextBackgroundColor
else
hi Visual guibg=#72F7FF
endif
hi WarningMsg guifg=Firebrick2

" Syntax items (`:he group-name` -- more groups are available, these are just
" the top level syntax items for now).
hi Error gui=NONE guifg=White guibg=Firebrick3
hi Identifier gui=NONE guifg=Aquamarine4 guibg=NONE
hi Ignore gui=NONE guifg=bg guibg=NONE
hi PreProc gui=NONE guifg=DodgerBlue3 guibg=NONE
hi Special gui=NONE guifg=BlueViolet guibg=NONE
hi String gui=NONE guifg=SkyBlue4 guibg=NONE
hi Underlined gui=underline guifg=SteelBlue1


"
" Groups that differ between 'light' and 'dark' background.
"

if &background == "dark"
hi Boolean gui=NONE guifg=DeepPink4 guibg=NONE
hi Comment gui=italic guifg=CadetBlue3
hi Constant gui=NONE guifg=Goldenrod1 guibg=NONE
hi Cursor guibg=LightGoldenrod guifg=bg
hi CursorColumn guibg=Gray20
hi CursorIM guibg=LightSlateGrey guifg=bg
hi CursorLine guibg=Gray20
hi DiffChange guibg=MediumPurple4
hi DiffDelete gui=bold guifg=White guibg=SlateBlue
hi DiffText gui=NONE guifg=White guibg=SteelBlue
hi LineNr guifg=#552A7B guibg=Grey5
hi MatchParen guifg=White guibg=Magenta
hi Normal guifg=Grey50 guibg=Grey10
hi Search guibg=Blue4 guifg=NONE
hi Statement gui=bold guifg=Purple1 guibg=NONE
hi Todo gui=NONE guifg=Green4 guibg=DeepSkyBlue1
hi Type gui=bold guifg=Cyan4 guibg=NONE
hi WildMenu guibg=SkyBlue guifg=White
hi lCursor guibg=LightSlateGrey guifg=bg
else
hi Boolean gui=NONE guifg=Red3 guibg=NONE
hi Comment gui=italic guifg=Blue2 guibg=NONE
hi Constant gui=NONE guifg=DarkOrange guibg=NONE
hi Cursor guibg=fg guifg=bg
hi CursorColumn guibg=#F1F5FA
hi CursorIM guibg=fg guifg=bg
hi CursorLine guibg=#F1F5FA
hi DiffChange guibg=DeepSkyBlue
hi DiffDelete gui=bold guifg=Black guibg=SlateBlue
hi DiffText gui=NONE guibg=Gold
hi LineNr guifg=#888888 guibg=#E6E6E6
hi MatchParen guifg=White guibg=MediumPurple1
if has("gui_macvim")
hi Normal gui=NONE guifg=MacTextColor guibg=MacTextBackgroundColor
else
hi Normal gui=NONE guifg=Black guibg=White
endif
hi Search guibg=CadetBlue1 guifg=NONE
hi Statement gui=bold guifg=Maroon guibg=NONE
hi Todo gui=NONE guifg=DarkGreen guibg=PaleGreen1
hi Type gui=bold guifg=Green4 guibg=NONE
hi WildMenu guibg=SkyBlue guifg=Black
hi lCursor guibg=fg guifg=bg
endif


"
" Change the selection color on focus change (but only if the "macvim"
" colorscheme is active).
"
if has("gui_macvim") && !exists("s:augroups_defined")
au FocusLost * if exists("colors_name") && colors_name == "macvim" | hi Visual guibg=MacSecondarySelectedControlColor | endif
au FocusGained * if exists("colors_name") && colors_name == "macvim" | hi Visual guibg=MacSelectedTextBackgroundColor | endif

let s:augroups_defined = 1
endif

" vim: sw=2
4 changes: 2 additions & 2 deletions runtime/doc/change.txt
Original file line number Diff line number Diff line change
Expand Up @@ -869,13 +869,13 @@ This replaces each 'E' character with a euro sign. Read more in |<Char->|.
:promptf[ind] [string]
Put up a Search dialog. When [string] is given, it is
used as the initial search string.
{only for Win32, Motif and GTK GUI}
{only for Win32, Motif, GTK and MacVim GUI}

*:promptr* *:promptrepl*
:promptr[epl] [string]
Put up a Search/Replace dialog. When [string] is
given, it is used as the initial search string.
{only for Win32, Motif and GTK GUI}
{only for Win32, Motif, GTK and MacVim GUI}


4.4 Changing tabs *change-tabs*
Expand Down
4 changes: 4 additions & 0 deletions runtime/doc/eval.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6644,13 +6644,15 @@ fname_case Case in file names matters (for Amiga, MS-DOS, and
folding Compiled with |folding| support.
footer Compiled with GUI footer support. |gui-footer|
fork Compiled to use fork()/exec() instead of system().
fullscreen Compiled with 'fullscreen' support.
gettext Compiled with message translation |multi-lang|
gui Compiled with GUI enabled.
gui_athena Compiled with Athena GUI.
gui_gnome Compiled with Gnome support (gui_gtk is also defined).
gui_gtk Compiled with GTK+ GUI (any version).
gui_gtk2 Compiled with GTK+ 2 GUI (gui_gtk is also defined).
gui_mac Compiled with Macintosh GUI.
gui_macvim Compiled with MacVim GUI.
gui_motif Compiled with Motif GUI.
gui_photon Compiled with Photon GUI.
gui_running Vim is running in the GUI, or it will start soon.
Expand Down Expand Up @@ -6693,6 +6695,7 @@ multi_lang Compiled with support for multiple languages.
mzscheme Compiled with MzScheme interface |mzscheme|.
netbeans_enabled Compiled with support for |netbeans| and connected.
netbeans_intg Compiled with support for |netbeans|.
odbeditor Compiled with |odbeditor| support.
ole Compiled with OLE automation support for Win32.
os2 OS/2 version of Vim.
path_extra Compiled with up/downwards search in 'path' and 'tags'
Expand Down Expand Up @@ -6736,6 +6739,7 @@ tgetent Compiled with tgetent support, able to use a termcap
or terminfo file.
title Compiled with window title support |'title'|.
toolbar Compiled with support for |gui-toolbar|.
transparency Compiled with 'transparency' support.
unix Unix version of Vim.
user_commands User-defined commands.
vertsplit Compiled with vertically split windows |:vsplit|.
Expand Down
23 changes: 13 additions & 10 deletions runtime/doc/gui.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Other GUI documentation:

First you must make sure you actually have a version of Vim with the GUI code
included. You can check this with the ":version" command, it says "with xxx
GUI", where "xxx" is X11-Motif, X11-Athena, Photon, GTK, GTK2, etc., or
"MS-Windows 32 bit GUI version".
GUI", where "xxx" is Macvim, X11-Motif, X11-Athena, Photon, GTK, GTK2, etc.,
or "MS-Windows 32 bit GUI version".

How to start the GUI depends on the system used. Mostly you can run the
GUI version of Vim with:
Expand Down Expand Up @@ -93,7 +93,7 @@ and initialize other things that you may want to set up differently from the
terminal version.

Recommended place for your personal GUI initializations:
Unix $HOME/.gvimrc or $HOME/.vim/gvimrc
Unix and Mac OS X $HOME/.gvimrc or $HOME/.vim/gvimrc
OS/2 $HOME/.gvimrc, $HOME/vimfiles/gvimrc
or $VIM/.gvimrc
MS-DOS and Win32 $HOME/_gvimrc, $HOME/vimfiles/gvimrc
Expand Down Expand Up @@ -692,9 +692,10 @@ because the item will never be selected. Use a single colon to keep it
simple.

*gui-toolbar*
The toolbar is currently available in the Win32, Athena, Motif, GTK+ (X11),
and Photon GUI. It should turn up in other GUIs in due course. The
default toolbar is setup in menu.vim.
The toolbar is currently available in the MacVim, Win32, Athena, Motif, GTK+
(X11), and Photon GUI. It should turn up in other GUIs in due course. The
default toolbar is setup in menu.vim. (Note: The MacVim toolbar is modified
in "$VIM/gvimrc".)
The display of the toolbar is controlled by the 'guioptions' letter 'T'. You
can thus have menu & toolbar together, or either on its own, or neither.
The appearance is controlled by the 'toolbar' option. You can choose between
Expand Down Expand Up @@ -931,9 +932,9 @@ a menu item - you don't need to do a :tunmenu as well.

5.9 Popup Menus

In the Win32 and GTK+ GUI, you can cause a menu to popup at the cursor.
This behaves similarly to the PopUp menus except that any menu tree can
be popped up.
In the Win32, MacVim, and GTK+ GUI, you can cause a menu to popup at the
cursor. This behaves similarly to the PopUp menus except that any menu tree
can be popped up.

This command is for backwards compatibility, using it is discouraged, because
it behaves in a strange way.
Expand All @@ -942,7 +943,7 @@ it behaves in a strange way.
:popu[p] {name} Popup the menu {name}. The menu named must
have at least one subentry, but need not
appear on the menu-bar (see |hidden-menus|).
{only available for Win32 and GTK GUI}
{only available for Win32, MacVim, and GTK GUI}

:popu[p]! {name} Like above, but use the position of the mouse
pointer instead of the cursor.
Expand Down Expand Up @@ -996,6 +997,8 @@ This section describes other features which are related to the GUI.
:set guifont=*-lucidatypewriter-medium-r-normal-*-*-180-*-*-m-*-*
elseif has("gui_win32")
:set guifont=Luxi_Mono:h12:cANSI
elseif has("gui_macvim")
:set guifont=DejaVu\ Sans\ Mono:h13
endif
endif

Expand Down
Loading