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
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
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
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.
News
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.