
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
CLI editor made for fun
Install:
npm install -g chi-editor
chi <file-name>
Hotkey | Description |
---|---|
C-q or C-c | Quit the editor |
C-s | Save the buffer to file |
Return | Split lines |
Backspace | Delete previous character, merge lines |
Delete | Delete current character |
C-p or up | Move cursor to previous row |
C-n or down | Move cursor to next row |
C-b or back | Move cursor to forward |
C-f or right | Move cursor to backward |
Esc | Ignore |
C-u | Undo |
Home | Move cursor to start of line |
End | Move cursor to end of line |
Create chi.json
in the same folder from where you are running the editor. Global config is not supported yet.
Following structure (all options with defaults):
{
"editorOptions": {
"lineNumbers": false
}
}
Option | Description | Type |
---|---|---|
editorOptions.lineNumbers | Show/hide line numbers | Boolean |
Run yarn xd
to open the sample file. Tail debug.log
and write to stderr
for development debugging.
Please feel free to suggest issues and chime in
FAQs
CLI editor made for fun
The npm package chi-editor receives a total of 2 weekly downloads. As such, chi-editor popularity was classified as not popular.
We found that chi-editor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.