Commit ec8317f
committed
Do not interact with X in any way in vimcat.
`unset DISPLAY` at the beginning of vimcat to disable any X server
interaction by vim or anything else.
Fixes a bug where the clipboard is clobbered if the user has:
```vim
set clipboard=unnamedplus
```
in their `vimrc`.
- Fix #255.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>1 parent 145cf10 commit ec8317f
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
72 | | - | |
| 76 | + | |
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
| |||
118 | 122 | | |
119 | 123 | | |
120 | 124 | | |
121 | | - | |
| 125 | + | |
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
| |||
0 commit comments