Home

Awesome

paypal

<!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

Table of Contents generated with DocToc

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

N-Commodore – a novel file manager/shell/command-line

A new approach to the command line:

I’m hoping that it’ll gain some attention, because by accident I might have discovered a fully novel, unprecedented approach to file managers/command line.

Pressing ENTER on any line will open $VISUAL / $EDITOR / $PAGER scrolled to that line (if in file preview, otherwise, if poiting to the file, it will just open the file in editor).

Any view can be greped – n-commodore starts with search prompt active, so you can enter the search-keyword to have either files, file preview, or previous com mands (views F1, F2, F3) filtered with it. Multiple keywords are allowed.

More in-depth explanation

Basically it's about 3 factors:

Panelization is known from Midnight Commander - it means to capture command output into a list that can be browsed. Grepping is known from fzf. Screen saving is a new paradigm

You basically have new screen (a greppable panel) for each new command, which is saved to the disk (GDBM), and which can be fetched/navigated to, having also PWD dir and position in panel restored.

Asciicast

asciicast

Installation

NEW: AppImages are available.

Clone the repo and symlink $PWD/bin/n-c (full path) to a directory in your $PATH, like /usr/local/bin, After this, run n-c for the file manager.

… or, if using Zsh, load the plugin file n-commdore.plugin.zsh either directly (source …) or via a plugin manager, like zinit (zinit for psprint/n-commodore). This creates a nc alias which you can use to start the file manager. You can define a variable NC_NO_NICKNAME_CMD=1 to skip alias creation.