Skip to content

Network-Ansible/vnano

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vnano

Mighty nano inside a vim.

I initially wrote this for a parody hackathon, and now I just want to see how far I can go with this.

vim8 support blog post

Features

  • Looks like GNU nano
  • Various nano shortcuts/features
  • No Normal/Insert mode

Requirements

  • neovim/vim8 (terminal support abused to replicate nano interface)
  • python (should work with 2 or 3, I only test it on py3 nowadays)

Installation

RHEL8

sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo yum install -y neovim python3-neovim

Clone the repo to /opt

cd /opt
sudo git clone https://github.com/Network-Ansible/vnano.git

Alias to .bashrc

echo "alias vnano='nvim -u /opt/vnano/nano.vim'" >> ~/.bashrc
source ~/.bashrc

vnano in action

About

Mighty nano inside a vim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 71.3%
  • Python 28.7%