Sparkling gems and new releases from the world of Free and Open Source Software

Oni

Vim is a wonderful text editor that can be made to do many different tasks. But one of the best things about vim is that after your muscles have mastered its plethora of key combinations and commands, those movements can be used in lots of additional tools. Web browsers, IDEs, and even the Bash terminal can be made to interpret the same commands and keystrokes used by vim, making you super-efficient and cool looking. Which is why Oni – an IDE powered by Neovim (with a little help from React and Electron) – should be of interest to any developer with vim muscle memory.

Oni is built atop Neovim, the substantial community refactor of vim, and adds the kind of features you typically find in an IDE. It includes info overlays for functions, code completion, syntax and compilation error highlighting, and fuzzy search, alongside a new status bar. Of course, many of these can be added to Neovim (and vim!) via third-party engines, but Oni's strength is having all these features together in a self-contained package with minimal setup required. You can start coding from the moment you install Oni. Quick access to menu options allows you to split the views, open up a file manager, and insert text, removing some of the vim learning and remembering burden. Various vim plugins are also included, such as Targets.vim and commenary.vim, alongside a couple of excellent color schemes (vim-monokai and onedark.vim). Oni also makes editing the configuration file easy, with a direct link from the menu and a few common options commented out, such as for changing the font size. Behind the lovely UI, Oni also features a new plugin environment that replaces the rather arcane VimL with JavaScript. Best of all, Oni is just as quick and powerful as the original vim, without requiring the years of memory sacrifice.

Project Website

https://github.com/extr0py/oni

Make the vim coding learning curve a little easier with Oni.

Fast file management

nnn

File management on the command line is about as fast as file management can get. You type short commands to move, copy, and delete files and directories, switching between local and remote locations with ease. But there are still times when a file manager similar to those found on Gnome, Xfce, or KDE provides a visual overview of your files and folders that makes better sense, especially when dealing with multiple files or exploring documents. This is when you need nnn (Noice is not Noice, of course), a fork of the ace terminal file manager noice. After launch, for example, nnn loads instantly, and you can immediately use the arrow keys to skip about your filesystem. Press the right arrow on a file, and the default application will load to view whatever MIME type is associated with the file

Starting nnn with the -S argument will create a catalog of how much storage each folder and file is consuming (probably with du) and output this information within the simple file view. This is a good way of identifying fat folders or downloads, and it works better than trying to do the same thing with sort on the command line. This being the command line, various keyboard shortcuts are used to access the majority of functions. Pressing D, for instance, shows in-depth details on a file, including blocks, MIME type, and file contents. The tilde (~) takes you quickly home or an ampersand (&) to the directory in which you started. A powerful set of filters let you search as you type for files matching your criteria in the current folder, such as \.png for all PNG image files, and the search will match hidden files if run as root.

Project Website

https://github.com/jarun/nnn

If you need a tiny and quick command-line tool for file management, nnn is easy to launch, run, and close, and it doesn't get in the way.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Stellarium

    If you like astronomy but you don’t like sitting outside on cold nights, try stargazing from a virtual planetarium.

  • FOSSPicks

    This month Graham looks at Cartes du Ciel, Foliate, Newsboat, xinput-gui, DevilutionX, Performous, and much more!

  • Stellarium Extras

    Expand the Stellarium virtual planetarium with new objects and environments in just a few simple steps.

  • FOSSPicks

    This month Graham reviews Tuning Workbench Synth, Stellarium 1.0, sake, Wonder Shaper, and Samplebrain.

  • PulseEffects

    A wildly flashing equalizer once was part of the basic equipment of every decent stereo system. PulseEffects upgrades the PulseAudio server to include these slide controls – and offers even more.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News