Created
January 2, 2018 22:31
-
-
Save theterg/2fd5738c7c7365d9f896109c74a3ae0d to your computer and use it in GitHub Desktop.
My new nvim init script (rememner, vim-plug needs to be installed first, then the rest with :PlugInstall)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
call plug#begin('~/.local/share/nvim/plugged') | |
" Think of sensible.vim as one step above 'nocompatible' mode: a | |
" universal set of defaults that (hopefully) everyone can agree on. | |
Plug 'tpope/vim-sensible' | |
" Far.vim makes it easier to find and replace text through multiple files. | |
" It's inspired by fancy IDEs, like IntelliJ and Eclipse, that provide cozy | |
" tools for such tasks. | |
Plug 'brooth/far.vim' | |
" Lean & mean status/tabline for vim that's light as air. | |
Plug 'vim-airline/vim-airline' | |
Plug 'vim-airline/vim-airline-themes' | |
" A Vim plugin which shows a git diff in the 'gutter' (sign column). It shows | |
" whether each line has been added, modified, and where lines have been | |
" removed. You can also stage and undo individual hunks. | |
Plug 'airblade/vim-gitgutter' | |
" The killring-alike plugin with no default mappings. | |
Plug 'bfredl/nvim-miniyank' | |
" ALE (Asynchronous Lint Engine) is a plugin for providing linting in NeoVim | |
" and Vim 8 while you edit your text files. | |
Plug 'w0rp/ale' | |
" This is a fast, extensible, async completion framework for neovim. | |
Plug 'roxma/nvim-completion-manager' | |
" clang completion integration for nvim-completion-manager | |
Plug 'roxma/ncm-clang' | |
" Javascript completion for nvim-completion-manager. | |
Plug 'roxma/nvim-cm-tern', {'do': 'npm install'} | |
" Rust completion for NCM, based on the racer command. | |
Plug 'rust-lang/rust.vim' | |
Plug 'racer-rust/vim-racer' | |
Plug 'roxma/nvim-cm-racer' | |
" rcodetools source for nvim-completion-manager | |
Plug 'roxma/ncm-rct-complete' | |
" An Nvim Completion Manager plugin for completing words in other buffers. | |
Plug 'fgrsnau/ncm-otherbuf' | |
" Update the bult-in CSS complete function to latest CSS standard. | |
Plug 'othree/csscomplete.vim' | |
" vim-markdown-composer is a plugin that adds asynchronous Markdown preview to | |
" Neovim and Vim. | |
function! BuildComposer(info) | |
if a:info.status != 'unchanged' || a:info.force | |
if has('nvim') | |
!cargo build --release | |
else | |
!cargo build --release --no-default-features --features json-rpc | |
endif | |
endif | |
endfunction | |
Plug 'euclio/vim-markdown-composer', { 'do': function('BuildComposer') } | |
call plug#end() | |
" When reading a buffer (after 1s), and when writing. | |
" call neomake#configure#automake('rw', 1000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment