Skip to content

Commit

Permalink
docs: document 'openFolder' feat
Browse files Browse the repository at this point in the history
  • Loading branch information
zaldih committed Oct 2, 2023
1 parent 3ceb89c commit 64b2de1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ Muévete por los distintos directorios listados con <kbd>↓</kbd> <kbd>↑</kbd

También puedes usar <kbd>j</kbd> y <kbd>k</kbd> para moverte por los resultados.

Puedes abrir el directorio donde se aloja el resultado seleccionado pulsando <kbd>o</kbd>.

Para salir de Npkill, utiliza <kbd>Q</kbd>, o si te sientes valiente, <kbd>Ctrl</kbd> + <kbd>c</kbd>.

**¡Importante!** Algunas aplicaciones que están instaladas en el sistema necesitan su directorio node_modules para funcionar, y borrarlo puede romperlas. NPKILL te mostrará un :warning: para que sepas que tienes que tener cuidado.
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ $ npx npkill
By default, npkill will scan for node_modules starting at the path where `npkill` command is executed.

Move between the listed folders with <kbd>↓</kbd> <kbd>↑</kbd>, and use <kbd>Space</kbd> or <kbd>Del</kbd> to delete the selected folder.
You can also use <kbd>j</kbd> and <kbd>k</kbd> to move between the results
You can also use <kbd>j</kbd> and <kbd>k</kbd> to move between the results.

You can open the directory where the selected result is placed by pressing <kbd>o</kbd>.

To exit, <kbd>Q</kbd> or <kbd>Ctrl</kbd> + <kbd>c</kbd> if you're brave.

Expand Down
1 change: 1 addition & 0 deletions src/constants/cli.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export const HELP_HEADER = `This tool allows you to list any node_modules direct
🭲 h, d, Ctrl+d, PgUp: move one page down
🭲 l, u, Ctrl+u, PgDown: move one page up
🭲 home, end: move to the first and last result
🭲 o: open the parent directory of the selected result
🭲 e: show errors popup, next page`;

export const HELP_PROGRESSBAR = ` ------- PROGRESS BAR --------------------
Expand Down

0 comments on commit 64b2de1

Please sign in to comment.