Giter Club home page Giter Club logo

neovim-config's Introduction

Neovim

12 34

Installation

Neovim

Debian/Ubuntu:

Run the following commands:

sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt-get update
sudo apt-get install neovim

Arch Linux:

Neovim can be installed from the community repository:

sudo pacman -S neovim

Vim-plug for Neovim

Unix, Linux:

sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
       https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'

Configuration

Create config folder and config file:

sudo mkdir ~/.config/nvim
sudo touch ~/.config/nvim/init.vim
sudo chmod 774 ~/.config/nvim/init.vim

For Ubuntu the folder to store all plugins is '~/.config/nvim/plugged'

First, try to install Dracula theme for Neovim:

call plug#begin('~/.config/nvim/plugged')

" onedarkthem less contract
Plug 'dracula/vim',

call plug#end()

" syntax on
colorscheme dracula

Press Esc key to switch to Normal mode, and then type :w to overwrite and :so % to source this file.

Now, type :PlugInstall to install plugins.

If everything is OK, Next step

Delete all lines in current file, copy all the lines in the init.vim file above there ☝️☝️☝️ to current file

And install again:

Press Esc key to switch to Normal mode, and then type :w to overwrite and :so % to source this file and type :PlugInstall to install plugins.

Noted:

The fzf plugin has some dependencies:

  • For syntax-highlighted preview, install bat
  • If delta is available, GF?, Commits and BCommits will use it to format git diff output.
  • Ag requires The Silver Searcher (ag)
  • Rg requires ripgrep (rg)
  • Tags and Helptags require Perl

If Vim-hexokinase error "needs to updating" like that

  • Go to directory where Hexokinase in that like ~/.config/nvim/plugged/vim-hexokinase using the cd command.
  • Run command make hexokinase . DONE !

neovim-config's People

Contributors

vungn avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.