-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path0073 - word_complete.vim.json
More file actions
107 lines (107 loc) · 5.42 KB
/
0073 - word_complete.vim.json
File metadata and controls
107 lines (107 loc) · 5.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"script_id": "73",
"display_name": "word_complete.vim",
"summary": "automatically offers word completion as you type",
"name": "word_complete.vim",
"script_type": "utility",
"description": "Each time you type an alphabetic character, the script attempts\nto complete the current word. The suggested completion is selected\nin Select mode, so you can just type another character to keep going.\nOther options: <Tab> to accept, <BS> to get rid of the completion,\n<Esc> to leave Insert mode without accepting the completion, <C-N>\nor <C-P> to cycle through choices, <C-X> to enter <C-X> mode.\n\nLimitations:\nThe script works by :imap'ping each alphabetic character, and uses\nInsert-mode completion (:help i_ctrl-p). It is far from perfect. For example, the :imap's mean that you are constantly switching out of Insert mode, which means that undo only works a few characters at a time. This also messes up any abbreviations you may have defined. Since Select mode uses the same mappings as Visual mode, the special keys mentioned above may conflict with what you are used to in Visual mode. I have received one report that mswin.vim interferes with this script.\n\nEvery second character you type is in Select mode, so with versions of vim before 6.2, completions are offered only half the time.",
"install_details": ":source it from your vimrc file or drop it in your plugin directory.\nTo activate, choose \"Word Completion\" from the Tools menu, or type\n :call DoWordComplete()\nTo make it stop, choose \"Tools/Stop Completion,\" or type\n :call EndWordComplete()\nIf you want to activate word completion for every buffer, add the line\n :autocmd BufEnter * call DoWordComplete()\nto your vimrc file.",
"versions": [
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=6504",
"filename": "word_complete.vim",
"script_version": "1.1",
"date": "2006-12-06",
"vim_version": "7.0",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "Minor change: I replaced\n while letter <= \"z\"\nwith\n while letter <=# \"z\"\n(case-sensitive comparison, regardless of 'ignorecase' option) so that if someone decides to add a loop for \"A\" to \"Z\" using the same model, (s)he does not get odd results."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=5704",
"filename": "word_complete.vim",
"script_version": "1.0",
"date": "2006-05-15",
"vim_version": "7.0",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "Since vim 7.0 supports :smap (mappings that apply only to Select mode) I updated the script to use these. Now the maps defined by the script for when completion is active will not do anything unexpected in Visual mode.\n\nI also updated the installation instructions in the comments at the top of the file."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=2218",
"filename": "word_complete.vim",
"script_version": "0.6",
"date": "2003-08-09",
"vim_version": "6.0",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "I added a configuration section. You can now change\n(1) a minimum length of word to be completed\n(2) the character (default <Tab>) used to accept the completion.\n\nI also added some comments and separated a StartAppend() function (which is called twice)."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=2048",
"filename": "word_complete.vim",
"script_version": "0.5",
"date": "2003-06-06",
"vim_version": "6.0",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "better support for keymaps"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=1882",
"filename": "word_complete.vim",
"script_version": "0.4",
"date": "2003-03-31",
"vim_version": "6.0",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "This version tries to treat :lmap's (and keymaps) properly.\n\nMinor improvement: completion is attempted before \npunctuation, as well as at the end of a line or before white space.\n\nThis version will probably no longer work with vim 5.x."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=143",
"filename": "word_complete.vim",
"script_version": "0.3",
"date": "2001-08-29",
"vim_version": "5.7",
"author": {
"user_id": "92",
"user_name": "benji",
"first_name": "Benji",
"last_name": "Fisher",
"email": "benji@member.AMS.org",
"homepage": ""
},
"release_notes": "Initial upload"
}
]
}