Mercurial > vim
annotate src/os_dos.h @ 16742:75b5d77bbbab v8.1.1373
patch 8.1.1373: "[p" in Visual mode puts in wrong line
commit https://github.com/vim/vim/commit/0ab190c05706b1c72e6e2ca4d990febfa81cf886
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 23 23:27:36 2019 +0200
patch 8.1.1373: "[p" in Visual mode puts in wrong line
Problem: "[p" in Visual mode puts in wrong line.
Solution: Call nv_put() instead of duplicating the functionality.
(closes #4408)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 23 May 2019 23:30:04 +0200 |
parents | 65c29bd4548b |
children | 6e3dc2d630c2 |
rev | line source |
---|---|
10042
4aead6a9b7a9
commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents:
9669
diff
changeset
|
1 /* vi:set ts=8 sts=4 sw=4 noet: |
7 | 2 * |
3 * VIM - Vi IMproved by Bram Moolenaar | |
4 * | |
5 * Do ":help uganda" in Vim to read copying and usage conditions. | |
6 * Do ":help credits" in Vim to see a list of people who contributed. | |
7 */ | |
8 | |
9 /* | |
10 * Common MS-DOS and Win32 (Windows NT and Windows 95) defines. | |
11 * | |
12 * Names for the EXRC, HELP and temporary files. | |
13 * Some of these may have been defined in the makefile or feature.h. | |
14 */ | |
15 | |
16 #ifndef SYS_VIMRC_FILE | |
17 # define SYS_VIMRC_FILE "$VIM\\vimrc" | |
18 #endif | |
19 #ifndef USR_VIMRC_FILE | |
20 # define USR_VIMRC_FILE "$HOME\\_vimrc" | |
21 #endif | |
22 #ifndef USR_VIMRC_FILE2 | |
4863 | 23 # define USR_VIMRC_FILE2 "$HOME\\vimfiles\\vimrc" |
24 #endif | |
25 #ifndef USR_VIMRC_FILE3 | |
26 # define USR_VIMRC_FILE3 "$VIM\\_vimrc" | |
7 | 27 #endif |
9669
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
5527
diff
changeset
|
28 #ifndef VIM_DEFAULTS_FILE |
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
5527
diff
changeset
|
29 # define VIM_DEFAULTS_FILE "$VIMRUNTIME\\defaults.vim" |
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
5527
diff
changeset
|
30 #endif |
7 | 31 #ifndef EVIM_FILE |
32 # define EVIM_FILE "$VIMRUNTIME\\evim.vim" | |
33 #endif | |
34 | |
35 #ifndef USR_EXRC_FILE | |
36 # define USR_EXRC_FILE "$HOME\\_exrc" | |
37 #endif | |
38 #ifndef USR_EXRC_FILE2 | |
39 # define USR_EXRC_FILE2 "$VIM\\_exrc" | |
40 #endif | |
41 | |
42 #ifdef FEAT_GUI | |
43 # ifndef SYS_GVIMRC_FILE | |
44 # define SYS_GVIMRC_FILE "$VIM\\gvimrc" | |
45 # endif | |
46 # ifndef USR_GVIMRC_FILE | |
47 # define USR_GVIMRC_FILE "$HOME\\_gvimrc" | |
48 # endif | |
49 # ifndef USR_GVIMRC_FILE2 | |
4863 | 50 # define USR_GVIMRC_FILE2 "$HOME\\vimfiles\\gvimrc" |
51 # endif | |
52 # ifndef USR_GVIMRC_FILE3 | |
53 # define USR_GVIMRC_FILE3 "$VIM\\_gvimrc" | |
7 | 54 # endif |
55 # ifndef SYS_MENU_FILE | |
56 # define SYS_MENU_FILE "$VIMRUNTIME\\menu.vim" | |
57 # endif | |
58 #endif | |
59 | |
60 #ifndef SYS_OPTWIN_FILE | |
61 # define SYS_OPTWIN_FILE "$VIMRUNTIME\\optwin.vim" | |
62 #endif | |
63 | |
64 #ifdef FEAT_VIMINFO | |
65 # ifndef VIMINFO_FILE | |
66 # define VIMINFO_FILE "$HOME\\_viminfo" | |
67 # endif | |
68 # ifndef VIMINFO_FILE2 | |
69 # define VIMINFO_FILE2 "$VIM\\_viminfo" | |
70 # endif | |
71 #endif | |
72 | |
73 #ifndef VIMRC_FILE | |
74 # define VIMRC_FILE "_vimrc" | |
75 #endif | |
76 | |
77 #ifndef EXRC_FILE | |
78 # define EXRC_FILE "_exrc" | |
79 #endif | |
80 | |
81 #ifdef FEAT_GUI | |
82 # ifndef GVIMRC_FILE | |
83 # define GVIMRC_FILE "_gvimrc" | |
84 # endif | |
85 #endif | |
86 | |
87 #ifndef DFLT_HELPFILE | |
88 # define DFLT_HELPFILE "$VIMRUNTIME\\doc\\help.txt" | |
89 #endif | |
90 | |
91 #ifndef FILETYPE_FILE | |
92 # define FILETYPE_FILE "filetype.vim" | |
93 #endif | |
94 #ifndef FTPLUGIN_FILE | |
95 # define FTPLUGIN_FILE "ftplugin.vim" | |
96 #endif | |
97 #ifndef INDENT_FILE | |
98 # define INDENT_FILE "indent.vim" | |
99 #endif | |
100 #ifndef FTOFF_FILE | |
101 # define FTOFF_FILE "ftoff.vim" | |
102 #endif | |
103 #ifndef FTPLUGOF_FILE | |
104 # define FTPLUGOF_FILE "ftplugof.vim" | |
105 #endif | |
106 #ifndef INDOFF_FILE | |
107 # define INDOFF_FILE "indoff.vim" | |
108 #endif | |
109 | |
110 #ifndef SYNTAX_FNAME | |
111 # define SYNTAX_FNAME "$VIMRUNTIME\\syntax\\%s.vim" | |
112 #endif | |
113 | |
114 #ifndef DFLT_BDIR | |
5527 | 115 # define DFLT_BDIR ".,$TEMP,c:\\tmp,c:\\temp" /* default for 'backupdir' */ |
7 | 116 #endif |
117 | |
118 #ifndef DFLT_VDIR | |
119 # define DFLT_VDIR "$VIM/vimfiles/view" /* default for 'viewdir' */ | |
120 #endif | |
121 | |
122 #ifndef DFLT_DIR | |
5527 | 123 # define DFLT_DIR ".,$TEMP,c:\\tmp,c:\\temp" /* default for 'directory' */ |
7 | 124 #endif |
125 | |
126 #define DFLT_ERRORFILE "errors.err" | |
127 #define DFLT_RUNTIMEPATH "$HOME/vimfiles,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$HOME/vimfiles/after" | |
13361
65c29bd4548b
patch 8.0.1554: custom plugins loaded with --clean
Christian Brabandt <cb@256bit.org>
parents:
10042
diff
changeset
|
128 #define CLEAN_RUNTIMEPATH "$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after" |
7 | 129 |
130 #define CASE_INSENSITIVE_FILENAME /* ignore case when comparing file names */ | |
131 #define SPACE_IN_FILENAME | |
132 #define BACKSLASH_IN_FILENAME | |
133 #define USE_CRNL /* lines end in CR-NL instead of NL */ | |
134 #define HAVE_DUP /* have dup() */ | |
135 #define HAVE_ST_MODE /* have stat.st_mode */ |