annotate runtime/macmap.vim @ 31114:d1c864c76e5c

Added tag v9.0.0891 for changeset 6ff733178f8bcddea83060d1cf5fa5bd9a99b031
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Nov 2022 23:15:05 +0100
parents 99305c4c42d4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
718
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
1 " System gvimrc file for Mac OS X
856
8cd729851562 updated for version 7.0g
vimboss
parents: 718
diff changeset
2 " Author: Benji Fisher <benji@member.AMS.org>
718
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
3 " Last Change: Thu Mar 09 09:00 AM 2006 EST
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
4 "
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
5 " Define Mac-standard keyboard shortcuts.
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
6
859
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
7 " We don't change 'cpoptions' here, because it would not be set properly when
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
8 " a .vimrc file is found later. Thus don't use line continuation and use
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
9 " <special> in mappings.
718
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
10
859
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
11 nnoremap <special> <D-n> :confirm enew<CR>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
12 vmap <special> <D-n> <Esc><D-n>gv
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
13 imap <special> <D-n> <C-O><D-n>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
14 cmap <special> <D-n> <C-C><D-n>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
15 omap <special> <D-n> <Esc><D-n>
718
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
16
859
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
17 nnoremap <special> <D-o> :browse confirm e<CR>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
18 vmap <special> <D-o> <Esc><D-o>gv
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
19 imap <special> <D-o> <C-O><D-o>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
20 cmap <special> <D-o> <C-C><D-o>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
21 omap <special> <D-o> <Esc><D-o>
718
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
22
859
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
23 nnoremap <silent> <special> <D-w> :if winheight(2) < 0 <Bar> confirm enew <Bar> else <Bar> confirm close <Bar> endif<CR>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
24 vmap <special> <D-w> <Esc><D-w>gv
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
25 imap <special> <D-w> <C-O><D-w>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
26 cmap <special> <D-w> <C-C><D-w>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
27 omap <special> <D-w> <Esc><D-w>
718
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
28
859
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
29 nnoremap <silent> <special> <D-s> :if expand("%") == ""<Bar>browse confirm w<Bar> else<Bar>confirm w<Bar>endif<CR>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
30 vmap <special> <D-s> <Esc><D-s>gv
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
31 imap <special> <D-s> <C-O><D-s>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
32 cmap <special> <D-s> <C-C><D-s>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
33 omap <special> <D-s> <Esc><D-s>
718
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
34
859
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
35 nnoremap <special> <D-S-s> :browse confirm saveas<CR>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
36 vmap <special> <D-S-s> <Esc><D-s>gv
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
37 imap <special> <D-S-s> <C-O><D-s>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
38 cmap <special> <D-S-s> <C-C><D-s>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
39 omap <special> <D-S-s> <Esc><D-s>
718
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
40
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
41 " From the Edit menu of SimpleText:
859
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
42 nnoremap <special> <D-z> u
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
43 vmap <special> <D-z> <Esc><D-z>gv
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
44 imap <special> <D-z> <C-O><D-z>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
45 cmap <special> <D-z> <C-C><D-z>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
46 omap <special> <D-z> <Esc><D-z>
718
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
47
859
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
48 vnoremap <special> <D-x> "+x
718
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
49
859
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
50 vnoremap <special> <D-c> "+y
718
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
51
859
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
52 cnoremap <special> <D-c> <C-Y>
718
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
53
859
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
54 nnoremap <special> <D-v> "+gP
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
55 cnoremap <special> <D-v> <C-R>+
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
56 execute 'vnoremap <script> <special> <D-v>' paste#paste_cmd['v']
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
57 execute 'inoremap <script> <special> <D-v>' paste#paste_cmd['i']
718
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
58
859
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
59 nnoremap <silent> <special> <D-a> :if &slm != ""<Bar>exe ":norm gggH<C-O>G"<Bar> else<Bar>exe ":norm ggVG"<Bar>endif<CR>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
60 vmap <special> <D-a> <Esc><D-a>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
61 imap <special> <D-a> <Esc><D-a>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
62 cmap <special> <D-a> <C-C><D-a>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
63 omap <special> <D-a> <Esc><D-a>
718
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
64
859
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
65 nnoremap <special> <D-f> /
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
66 vmap <special> <D-f> <Esc><D-f>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
67 imap <special> <D-f> <Esc><D-f>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
68 cmap <special> <D-f> <C-C><D-f>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
69 omap <special> <D-f> <Esc><D-f>
718
7b21554be7a1 updated for version 7.0219
vimboss
parents:
diff changeset
70
859
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
71 nnoremap <special> <D-g> n
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
72 vmap <special> <D-g> <Esc><D-g>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
73 imap <special> <D-g> <C-O><D-g>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
74 cmap <special> <D-g> <C-C><D-g>
99305c4c42d4 updated for version 7.0g02
vimboss
parents: 856
diff changeset
75 omap <special> <D-g> <Esc><D-g>