Skip to content

rtisma/nvim-dotfiles

Repository files navigation

ROBS NVIM Config

Table of Contents

Instructions

1. Prerequisites

Install nvim (>= 0.3) and its dependencies

sudo apt install -y software-properties-common && sudo add-apt-repository ppa:neovim-ppa/stable -y && sudo apt update && sudo apt install -y neovim git curl exuberant-ctags

2. Optional Configuration

Optionally create alternatives

sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60
sudo update-alternatives --config vi
sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 60
sudo update-alternatives --config vim
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 60
sudo update-alternatives --config editor

3. NVIM Plugin Installation

Run the one-time initial installation of dependencies. Open the script for more details:

sh <(curl  http://bit.ly/2Gthnpi -L)

Docker

If you want to give it a try in docker, run the following commands

docker pull rtisma1/nvim-dotfiles:latest
docker run --rm -it rtisma1/nvim-docfiles:latest

Once you enter into the container, run the following command

nvim -c ":PlugInstall"

It will start the nvim plugin installation. Once you see 'markdown download complete', you can exit vim by pressing :qa! Then start nvim again using nvim, and

  • open nerdtree using ,n
  • tagbar using ,t
  • ctrlp using <C-p> and much more.

Refer to the Plug list for more details: :sp /root/.config/nvim/init.vim

Building the latest neovim

Especially for the raspberry pi, run these commands to build nvim for any linux architecture:

sudo apt-get install git libtool libtool-bin autoconf automake cmake g++ pkg-config unzip
git clone https://github.com/neovim/neovim.git
cd neovim
make CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make install

Forking and Contributing

mkdir -p ~/.config

# After forking this repo, Replace <your_account_id> with your github user name 
git clone git@github.com:<your_account_id>/nvim-dotfiles.git ~/.config/nvim

Help

use :checkhealth to see what is missing in nvim

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published