Ki

Previous Topic Next Topic
 
Posted by Radishrain Radishrain
Options
ki.growspice.com

https://github.com/kumoshk/ki

Ki is a command-line Python script that assists you in navigating the Linux command-line quickly and efficiently. It should assist with the following tasks:

* Quickly finding and opening files, even if they're in complex directory structures, even if you don't know where they are, even if you don't know the *exact* name. The default setting is to only open one file, but you make it open all the files with that name if you really want.
* Creating files (in the directory with the most-recently accessed file) that aren't in your current working directory.
* Making a project that resembles an index or glossary wherein each file has a unique name.
* Creating hypertext fiction without a lot of navigation and file-creation overhead.

Ki has lots of options, which you can customize. It remembers the settings you configure.

You can use asterisk wildcard characters when opening files (but not question mark wildcards). So, if you have a file called `my super long and hard to type file.ki` you could just type `ki *super long*` and it should find and open it (unless there's another match that it opens instead). Asterisk wildcards match omitted characters.

One of Ki's features is base directories. Normally, Ki just searches the current working directory and all its subdirectories (recursively). However, if you're in a base directory structure, then Ki will search from the top of the base directory for files, instead of the current working directory. If you're not in a base directory, it'll search from the current working directory (or the default directory, if you have one enabled). You can make any directory a base directory as long as it's not within another base directory structure.

Ki opens most files with nano, by default. nano is a command-line text editor. If you're wondering, 'Why nano?', it's because nano is pretty nice (compared to every other option, IMO) when you're on an Android tablet using Termux, especially when you're using Ki. nano has a learning curve, if you're used to GUI-based editors, but it doesn't take that long to learn if you have the information you need; same for multitasking in Termux.
Feedback, Links, Privacy, Rules, Support