suplemon-editor 0.3.1__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {suplemon_editor-0.3.1/suplemon_editor.egg-info → suplemon_editor-0.3.2}/PKG-INFO +23 -1
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/README.md +22 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/main.py +1 -1
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2/suplemon_editor.egg-info}/PKG-INFO +23 -1
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/LICENSE +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/MANIFEST.in +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/setup.cfg +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/setup.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/__init__.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/__main__.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/cli.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/config/defaults.json +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/config/keymap.json +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/config.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/cursor.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/editor.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/file.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/help.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/helpers.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/hex2xterm.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/key_mappings.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/lexer.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/line.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/linelight/__init__.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/linelight/color_map.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/linelight/css.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/linelight/diff.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/linelight/html.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/linelight/js.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/linelight/json.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/linelight/lua.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/linelight/md.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/linelight/php.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/linelight/py.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/logger.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/module_loader.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/application_state.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/autocomplete.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/autodocstring.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/battery.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/bulk_delete.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/clock.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/comment.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/config.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/date.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/diff.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/eval.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/hostname.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/input_test.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/keymap.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/linter.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/lower.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/lstrip.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/paste.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/reload.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/replace_all.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/reverse.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/rstrip.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/save.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/save_all.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/sort_lines.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/strip.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/system_clipboard.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/tabstospaces.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/toggle_whitespace.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/modules/upper.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/prompt.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/suplemon_module.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/themes/8colors.tmTheme +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/themes/monokai.tmTheme +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/themes.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/ui.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon/viewer.py +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon_editor.egg-info/SOURCES.txt +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon_editor.egg-info/dependency_links.txt +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon_editor.egg-info/entry_points.txt +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon_editor.egg-info/requires.txt +0 -0
- {suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon_editor.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: suplemon-editor
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: Console text editor with multi cursor support. Maintained fork of Suplemon.
|
|
5
5
|
Home-page: https://github.com/leancode/suplemon/
|
|
6
6
|
Author: Richard Lewis
|
|
@@ -183,6 +183,28 @@ externally managed (PEP 668) and will refuse `sudo pip install` outright.
|
|
|
183
183
|
suplemon [filename:row:col]... # Open one or more files at a specific row or column (optional)
|
|
184
184
|
|
|
185
185
|
|
|
186
|
+
### Editing a root-owned file
|
|
187
|
+
|
|
188
|
+
`sudo suplemon /etc/hosts` will say `command not found`. That is sudo, not
|
|
189
|
+
Suplemon: sudo replaces `$PATH` with its own `secure_path`, which never
|
|
190
|
+
includes `~/.local/bin`, so it cannot see the launcher. Give it the full
|
|
191
|
+
path instead:
|
|
192
|
+
|
|
193
|
+
sudo ~/.local/bin/suplemon /etc/hosts
|
|
194
|
+
|
|
195
|
+
That works because the launcher hard-codes an absolute path to the source
|
|
196
|
+
tree. `$HOME` is root's under sudo, so a launcher written in terms of
|
|
197
|
+
`$HOME` would look for the interpreter in the wrong place.
|
|
198
|
+
|
|
199
|
+
If you do this often, either add `~/.local/bin` to `secure_path` in
|
|
200
|
+
`visudo`, or use `sudoedit`, which copies the file to a temporary location,
|
|
201
|
+
opens it as you rather than as root, and copies it back:
|
|
202
|
+
|
|
203
|
+
SUDO_EDITOR=~/.local/bin/suplemon sudoedit /etc/hosts
|
|
204
|
+
|
|
205
|
+
`sudoedit` is the safer of the two: the editor never runs as root.
|
|
206
|
+
|
|
207
|
+
|
|
186
208
|
### Notes
|
|
187
209
|
- **Python 3.8 or higher.** Python 2 is not supported.
|
|
188
210
|
- *The master branch is considered stable.*
|
|
@@ -142,6 +142,28 @@ externally managed (PEP 668) and will refuse `sudo pip install` outright.
|
|
|
142
142
|
suplemon [filename:row:col]... # Open one or more files at a specific row or column (optional)
|
|
143
143
|
|
|
144
144
|
|
|
145
|
+
### Editing a root-owned file
|
|
146
|
+
|
|
147
|
+
`sudo suplemon /etc/hosts` will say `command not found`. That is sudo, not
|
|
148
|
+
Suplemon: sudo replaces `$PATH` with its own `secure_path`, which never
|
|
149
|
+
includes `~/.local/bin`, so it cannot see the launcher. Give it the full
|
|
150
|
+
path instead:
|
|
151
|
+
|
|
152
|
+
sudo ~/.local/bin/suplemon /etc/hosts
|
|
153
|
+
|
|
154
|
+
That works because the launcher hard-codes an absolute path to the source
|
|
155
|
+
tree. `$HOME` is root's under sudo, so a launcher written in terms of
|
|
156
|
+
`$HOME` would look for the interpreter in the wrong place.
|
|
157
|
+
|
|
158
|
+
If you do this often, either add `~/.local/bin` to `secure_path` in
|
|
159
|
+
`visudo`, or use `sudoedit`, which copies the file to a temporary location,
|
|
160
|
+
opens it as you rather than as root, and copies it back:
|
|
161
|
+
|
|
162
|
+
SUDO_EDITOR=~/.local/bin/suplemon sudoedit /etc/hosts
|
|
163
|
+
|
|
164
|
+
`sudoedit` is the safer of the two: the editor never runs as root.
|
|
165
|
+
|
|
166
|
+
|
|
145
167
|
### Notes
|
|
146
168
|
- **Python 3.8 or higher.** Python 2 is not supported.
|
|
147
169
|
- *The master branch is considered stable.*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: suplemon-editor
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: Console text editor with multi cursor support. Maintained fork of Suplemon.
|
|
5
5
|
Home-page: https://github.com/leancode/suplemon/
|
|
6
6
|
Author: Richard Lewis
|
|
@@ -183,6 +183,28 @@ externally managed (PEP 668) and will refuse `sudo pip install` outright.
|
|
|
183
183
|
suplemon [filename:row:col]... # Open one or more files at a specific row or column (optional)
|
|
184
184
|
|
|
185
185
|
|
|
186
|
+
### Editing a root-owned file
|
|
187
|
+
|
|
188
|
+
`sudo suplemon /etc/hosts` will say `command not found`. That is sudo, not
|
|
189
|
+
Suplemon: sudo replaces `$PATH` with its own `secure_path`, which never
|
|
190
|
+
includes `~/.local/bin`, so it cannot see the launcher. Give it the full
|
|
191
|
+
path instead:
|
|
192
|
+
|
|
193
|
+
sudo ~/.local/bin/suplemon /etc/hosts
|
|
194
|
+
|
|
195
|
+
That works because the launcher hard-codes an absolute path to the source
|
|
196
|
+
tree. `$HOME` is root's under sudo, so a launcher written in terms of
|
|
197
|
+
`$HOME` would look for the interpreter in the wrong place.
|
|
198
|
+
|
|
199
|
+
If you do this often, either add `~/.local/bin` to `secure_path` in
|
|
200
|
+
`visudo`, or use `sudoedit`, which copies the file to a temporary location,
|
|
201
|
+
opens it as you rather than as root, and copies it back:
|
|
202
|
+
|
|
203
|
+
SUDO_EDITOR=~/.local/bin/suplemon sudoedit /etc/hosts
|
|
204
|
+
|
|
205
|
+
`sudoedit` is the safer of the two: the editor never runs as root.
|
|
206
|
+
|
|
207
|
+
|
|
186
208
|
### Notes
|
|
187
209
|
- **Python 3.8 or higher.** Python 2 is not supported.
|
|
188
210
|
- *The master branch is considered stable.*
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{suplemon_editor-0.3.1 → suplemon_editor-0.3.2}/suplemon_editor.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|