Index ¦ Archives

Neovim

Neovim is a refactor, and sometimes redactor, in the tradition of Vim (which itself derives from Stevie). It is not a rewrite but a continuation and extension of Vim. Many clones and derivatives exist, some very clever—but none are Vim. Neovim is built for users who want the good parts of Vim, and more.

Install

apt install neovim

Shell

nvim

Plugin

curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

nvim ~/.config/nvim/init.vim

" Global
syntax on
set background=dark
set textwidth=79
set tabstop=4
set softtabstop=4
set shiftwidth=4
set autoindent
set hlsearch
set expandtab

" Plugin
call plug#begin()
Plug 'rakr/vim-one'
Plug 'ncm2/ncm2'
Plug 'roxma/nvim-yarp'
Plug 'ncm2/ncm2-bufword'
Plug 'ncm2/ncm2-tmux'
Plug 'ncm2/ncm2-path'
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
call plug#end()

" Theme
let g:airline_theme='one'
colorscheme one

Neovim

© 2000-2018 by Daniel Pimentel (d4n1). Under MIT.