Mercurial > vim
annotate runtime/evim.vim @ 33625:1ffdcd8a424e v9.0.2054
patch 9.0.2054: win32: iscygpty needs update
Commit: https://github.com/vim/vim/commit/ac709e2fc0db6d31abb7da96f743c40956b60c3a
Author: Ken Takata <kentkt@csc.jp>
Date: Fri Oct 20 11:54:05 2023 +0200
patch 9.0.2054: win32: iscygpty needs update
Problem: win32: iscygpty needs update
Solution: Update iscygpty to the latest version, make use iswascii()
API function
Import the latest version from https://github.com/k-takata/ptycheck.
This addresses #13332 for iscygpty()
closes: #13392
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Ken Takata <kentkt@csc.jp>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 20 Oct 2023 12:00:05 +0200 |
parents | 4027cefc2aab |
children |
rev | line source |
---|---|
7 | 1 " Vim script for Evim key bindings |
32770
4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents:
28843
diff
changeset
|
2 " Maintainer: The Vim Project <https://github.com/vim/vim> |
4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents:
28843
diff
changeset
|
3 " Last Change: 2023 Aug 10 |
4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents:
28843
diff
changeset
|
4 " Former Maintainer: Bram Moolenaar <Bram@vim.org> |
7 | 5 |
6 " Don't use Vi-compatible mode. | |
7 set nocompatible | |
8 | |
9 " Use the mswin.vim script for most mappings | |
10 source <sfile>:p:h/mswin.vim | |
11 | |
28843
cd68a630f0d0
Update runtime files and translations
Bram Moolenaar <Bram@vim.org>
parents:
15729
diff
changeset
|
12 " Allow for using CTRL-Q in Insert mode to quit Vim. |
cd68a630f0d0
Update runtime files and translations
Bram Moolenaar <Bram@vim.org>
parents:
15729
diff
changeset
|
13 inoremap <C-Q> <C-O>:confirm qall<CR> |
cd68a630f0d0
Update runtime files and translations
Bram Moolenaar <Bram@vim.org>
parents:
15729
diff
changeset
|
14 |
7 | 15 " Vim is in Insert mode by default |
16 set insertmode | |
17 | |
18 " Make a buffer hidden when editing another one | |
19 set hidden | |
20 | |
21 " Make cursor keys ignore wrapping | |
2220
b1c70c500de4
Found a way to make the MS-Windows installer wait for the uninstaller to
Bram Moolenaar <bram@vim.org>
parents:
818
diff
changeset
|
22 inoremap <silent> <Down> <C-R>=pumvisible() ? "\<lt>Down>" : "\<lt>C-O>gj"<CR> |
b1c70c500de4
Found a way to make the MS-Windows installer wait for the uninstaller to
Bram Moolenaar <bram@vim.org>
parents:
818
diff
changeset
|
23 inoremap <silent> <Up> <C-R>=pumvisible() ? "\<lt>Up>" : "\<lt>C-O>gk"<CR> |
7 | 24 |
25 " CTRL-F does Find dialog instead of page forward | |
2220
b1c70c500de4
Found a way to make the MS-Windows installer wait for the uninstaller to
Bram Moolenaar <bram@vim.org>
parents:
818
diff
changeset
|
26 noremap <silent> <C-F> :promptfind<CR> |
b1c70c500de4
Found a way to make the MS-Windows installer wait for the uninstaller to
Bram Moolenaar <bram@vim.org>
parents:
818
diff
changeset
|
27 vnoremap <silent> <C-F> y:promptfind <C-R>"<CR> |
b1c70c500de4
Found a way to make the MS-Windows installer wait for the uninstaller to
Bram Moolenaar <bram@vim.org>
parents:
818
diff
changeset
|
28 onoremap <silent> <C-F> <C-C>:promptfind<CR> |
b1c70c500de4
Found a way to make the MS-Windows installer wait for the uninstaller to
Bram Moolenaar <bram@vim.org>
parents:
818
diff
changeset
|
29 inoremap <silent> <C-F> <C-O>:promptfind<CR> |
b1c70c500de4
Found a way to make the MS-Windows installer wait for the uninstaller to
Bram Moolenaar <bram@vim.org>
parents:
818
diff
changeset
|
30 cnoremap <silent> <C-F> <C-C>:promptfind<CR> |
7 | 31 |
32 | |
33 set backspace=2 " allow backspacing over everything in insert mode | |
34 set autoindent " always set autoindenting on | |
35 if has("vms") | |
36 set nobackup " do not keep a backup file, use versions instead | |
37 else | |
38 set backup " keep a backup file | |
39 endif | |
40 set history=50 " keep 50 lines of command line history | |
41 set ruler " show the cursor position all the time | |
42 set incsearch " do incremental searching | |
43 set mouse=a " always use the mouse | |
44 | |
45 " Don't use Ex mode, use Q for formatting | |
46 map Q gq | |
47 | |
48 " Switch syntax highlighting on, when the terminal has colors | |
49 " Highlight the last used search pattern on the next search command. | |
50 if &t_Co > 2 || has("gui_running") | |
51 syntax on | |
52 set hlsearch | |
53 nohlsearch | |
54 endif | |
55 | |
15729 | 56 " Enable file type detection. |
57 " Use the default filetype settings, so that mail gets 'tw' set to 72, | |
58 " 'cindent' is on in C files, etc. | |
59 " Also load indent files, to automatically do language-dependent indenting. | |
60 filetype plugin indent on | |
7 | 61 |
15729 | 62 " For all text files set 'textwidth' to 78 characters. |
63 au FileType text setlocal tw=78 | |
7 | 64 |
9669
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
2220
diff
changeset
|
65 " Add optional packages. |
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
2220
diff
changeset
|
66 " |
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
2220
diff
changeset
|
67 " The matchit plugin makes the % command work better, but it is not backwards |
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
2220
diff
changeset
|
68 " compatible. |
12559 | 69 " The ! means the package won't be loaded right away but when plugins are |
70 " loaded during initialization. | |
9669
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
2220
diff
changeset
|
71 if has('syntax') && has('eval') |
12559 | 72 packadd! matchit |
9669
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
2220
diff
changeset
|
73 endif |
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
2220
diff
changeset
|
74 |
7 | 75 " vim: set sw=2 : |