GithubHelp home page GithubHelp logo

init.vim's Introduction

init.vim

This is my personal setting for Neovim.

Install

Neovim

Most essentially, Install Neovim

Then Put the total .config folder in the home directory.

Then neovim will be open by the commandnvim.

Python modual

For using python plugins, neovim modual in python must be installed (pip2 and pip3 are needed):

sudo pip2 install --upgrade neovim
sudo pip3 install --upgrade neovim

tips: remember to update neovim modual and neovim itself regularly.

Vim-plug

vim-plug must be installed for automatically managing your neovim's plugins.

The installation is very easy (for only one command): Installation

Then enter the neovim and execute:

:PlugInstall

All the plugins will be installed properly

Nyaovim

Nyaovim is a perfect GUI fore-end for neovim made by Electron, which can be easily extended. The markdown-preview is available in Nyaovim.

It's easy to install(you should firstly install npm):

npm install -g nyaovim

Then use the command nyaovim for opening it.

Or use electron-packager to package the NyaoVim and install it to your system's desktop(for using it as an app).

Something about icons

For correctly show the icons, nerd-font should be installed. It's alreadily patched in the most popular programming fonts, so just pick one here.

For nyaovim, you should choose the version without "mono", and for neovim in terminal it should contain "mono".

Then you should set the font(non-mono) in NyaoVim(~/.config/nyaovim/nyaovimrc.html), or choose the right font in your terminal(mono).

Some other configuration

  • All configuration file is in ~/.config/nvim/(same as ~/.vim for vim), and
  • the initialization script is ~/.config/nvim/init.vim(same as ~/.vimrc for vim), and
  • plugins installed by vim-plug are in ~/.config/nvim/plugged/
  • And the configuration files for NyaoVim are in ~/.config/nyaovim/

It's necessary to read the total init.vim and read the helping files by :h <plugin-name> for knowing how to use all the shortcuts and plugins. Otherwise, all the configuration/plugins is meaningless for being deployed, so just try everything and make it perfect for yourself!

After getting to knowing how to use the plugins installed, the specific configuration is needed for some completion plugins:

  • For using c++ completion, you should properly install clang and set the correct path of libclang and headers to enable the deoplete-clang: deoplete-clang
  • For using python completion(deoplete-jedi), jedi backend should be installed by typing the command:pip install jedi
  • For making the plugin Neomake(grammar checker/automatical compiler) do the right thing in your style, configure the neomake as you like , such as compiling arguments, etc..

TODO

Add the description for using this.

init.vim's People

Contributors

zhranklin avatar

Watchers

James Cloos 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.