annotate uninstall.txt @ 29144:dee6b7c32f2c v8.2.5092

patch 8.2.5092: using "'<,'>" in Ex mode may compare unrelated pointers Commit: https://github.com/vim/vim/commit/48ce135e6d45e6c10ed0c0fc4cb8433bf647672a Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 14 15:43:18 2022 +0100 patch 8.2.5092: using "'<,'>" in Ex mode may compare unrelated pointers Problem: Using "'<,'>" in Ex mode may compare unrelated pointers. Solution: Set eap->cmd to "+" only later.
author Bram Moolenaar <Bram@vim.org>
date Tue, 14 Jun 2022 16:45:03 +0200
parents 1ec6539cef68
children 645722244c3f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15095
803807ab19c5 patch 8.1.0558: some MS-Windows instructions are outdated
Bram Moolenaar <Bram@vim.org>
parents: 13353
diff changeset
1 Uninstalling Vim on MS-Windows.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 There are three ways to remove Vim:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 1. With the GUI uninstaller.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 This is only available when Vim was installed with the self-installing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 executable. This has a minimal number of questions. It can delete
13353
8412df1479a3 patch 8.0.1550: various small problems in source files
Christian Brabandt <cb@256bit.org>
parents: 10449
diff changeset
8 everything that was installed. This also unregisters the VisVim.dll.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
18174
1ec6539cef68 patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents: 15095
diff changeset
10 2. With uninstall.exe.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 This removes most installed items, but does not delete the files you
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 unpacked.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 3. By hand.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 This is a bit more work, but you can decide exactly what you want to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 remove. For uninstalling the "Edit with Vim" popup menu entry you still
18174
1ec6539cef68 patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents: 15095
diff changeset
17 have to use uninstall.exe.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 It's recommended to use the method that matches with how you installed Vim.
10449
222b1432814e commit https://github.com/vim/vim/commit/5162822914372fc916a93f85848c0c82209e7cec
Christian Brabandt <cb@256bit.org>
parents: 10214
diff changeset
20 Thus if you installed Vim by hand, delete it by hand.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 The first two methods should be available from the Add/Remove software window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 and the Vim entry in the Start menu. If these have been removed already, find
18174
1ec6539cef68 patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents: 15095
diff changeset
24 "uninstall-gui.exe" or "uninstall.exe" in the Vim directory.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 Running these programs should be self-explanatory. Carefully read the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 messages to avoid deleting something you want to keep.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 Here are guidelines for removing Vim by hand:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
15095
803807ab19c5 patch 8.1.0558: some MS-Windows instructions are outdated
Bram Moolenaar <Bram@vim.org>
parents: 13353
diff changeset
30 1. Remove the "Edit with Vim" popup menu entry, if it exists. This is done by
18174
1ec6539cef68 patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents: 15095
diff changeset
31 running the uninstall.exe program. It removes the registry entries for the
1ec6539cef68 patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents: 15095
diff changeset
32 "Edit with Vim" popup menu entry. You only need to run uninstall.exe when
1ec6539cef68 patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents: 15095
diff changeset
33 you have installed the menu entry. You can also run uninstall.exe from the
15095
803807ab19c5 patch 8.1.0558: some MS-Windows instructions are outdated
Bram Moolenaar <Bram@vim.org>
parents: 13353
diff changeset
34 Control panel with the Add/Remove programs application.
18174
1ec6539cef68 patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents: 15095
diff changeset
35 Note that uninstall.exe offers you the option to uninstall other items. You
10449
222b1432814e commit https://github.com/vim/vim/commit/5162822914372fc916a93f85848c0c82209e7cec
Christian Brabandt <cb@256bit.org>
parents: 10214
diff changeset
36 can skip this.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 2. Only if you have used the OLE version of gvim: Remove the registration of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 this program by running "gvim -unregister" in a console window.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 3. Delete the executables. If you copied the executables to another location,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 you will have to delete them from where you copied them to. If you don't
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 remember where they are, look in the directories from the $PATH environment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 variable.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 If you created .bat files when installing Vim, also search for vim.bat,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 gvim.bat, etc.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
10449
222b1432814e commit https://github.com/vim/vim/commit/5162822914372fc916a93f85848c0c82209e7cec
Christian Brabandt <cb@256bit.org>
parents: 10214
diff changeset
48 4. If you want to completely delete vim, and are not going to install another
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 version, you can delete the vimrc files that you created. These are
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 normally located in a directory like "C:\vim". If the $VIM environment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 variable is set, it will tell the name of the directory. Normally you can
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 delete everything in this directory. Warning: You might have put some
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 files there that you would like to save. If you did remove it all, you can
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 skip the next step.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 5. Delete the distributed files. If you followed the directions, these will
15095
803807ab19c5 patch 8.1.0558: some MS-Windows instructions are outdated
Bram Moolenaar <Bram@vim.org>
parents: 13353
diff changeset
57 be located in a directory like "C:\vim\vim81". If the $VIM environment
803807ab19c5 patch 8.1.0558: some MS-Windows instructions are outdated
Bram Moolenaar <Bram@vim.org>
parents: 13353
diff changeset
58 variable is set, the directory will be $VIM\vim81. Delete the "vim81"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 directory and all that is in it. Warning: If you changed any of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 distributed files, or added some of your own files, you might want to save
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 these first. But normally you would not have changed or added files here.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 6. Remove setting the $VIM and $VIMRUNTIME environment variable and adjust
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 $PATH. $VIM only needs to be removed if you are not going to install
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 another version of Vim. $VIMRUNTIME is mostly not set. Check if $PATH
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 contains the path of the vim directory. Note that $PATH may be set in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 several places, you will have to find the right one, and only delete the
15095
803807ab19c5 patch 8.1.0558: some MS-Windows instructions are outdated
Bram Moolenaar <Bram@vim.org>
parents: 13353
diff changeset
68 Vim path from it. You might need to use the "System Properties" editor to
803807ab19c5 patch 8.1.0558: some MS-Windows instructions are outdated
Bram Moolenaar <Bram@vim.org>
parents: 13353
diff changeset
69 change the environment variables. You can start it by selecting
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 Start/Settings/Control Panel and then "System".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 7. If you added a Vim entry in the start menu, delete it.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 8. If you created icons for Vim on the desktop, delete them.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 Vim does not use .ini files. The above should remove all Vim files, except
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 the ones that you moved elsewhere yourself.