Neovim 101 — Coding Assistant

Integrate a coding assistant into Neovim.

alpha2phi
3 min readSep 11, 2022
Neovim 101 — Coding Assistant

Previously we integrated a cheat sheet & coding assistant, and other 3rd party utilities with Neovim to help us in coding.

In this article, we will integrate the so command-line tool, which is a terminal interface for Stack Overflow written in Rust.

This article is part of the Neovim 101 series.

The Neovim configuration files are available in this repository.

Getting Started

As developers, we need to learn and code constantly. As Neovim users we want to do it all from within Neovim.

so — A Terminal Interface for Stack Overflow

The so utility provides an interface to the Stack Exchange network. Using this command-line tool, we can simultaneously search any number of sites in the Stack Exchange network.

so is developed in Rust, and available for Linux, Windows, and macOS.

Integration using a Lua Module

Lua Module

In the lua/utils/cht.lua file, we add the functions to launch this tool.

--

--

alpha2phi
alpha2phi

Written by alpha2phi

Software engineer, Data Science and ML practitioner.

No responses yet