Windows Neovim
配置文件路径C:\Users\UserName\AppData\Local\nvim\init.vim
Vim-plug配置文件路径:C:\Users\UserName\AppData\Local\nvim\autoload\plug.vim
插件目录:C:\Users\UserName\AppData\Local\nvim\plugged\
"file_path: ~/AppData/Local/nvim/init.vim
"plugin_dir_path: ~/AppData/Local/nvim/autoload/plug.vim
"Basic Settings
set nu
set ff=unix
set encoding=utf-8
set fileencoding=utf-8
set termencoding=utf-8
set listchars=tab:>-,trail:-
set relativenumber
set nobk
set noswapfile
exec 'cd '.fnameescape('E:\workspace\')
set expandtab
set tabstop=4
set softtabstop=4
set showmatch
"set paste "conflict with 'set expandtab' option
"set autoindent
"set cindent
syntax on
filetype plugin on
set completeopt=longest,menu
set hlsearch
set go=
set nocompatible
set autoread
set autowrite
set nobackup
set magic
set ls=2
set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%l,%v][%p%%]\ %{strftime(\"%d/%m/%y\ -\ %H:%M\")}
" ****************************** Advanced Settings ***********************
"colorscheme yowish "Vim color theme
set dict+=~/dictionary_file_name "using i_Ctrl-x_Ctrl-k to compelte dict
" ----------------------------- Vundle Start -----------------------------
" vim-plug
" curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
call plug#begin('~/AppData/Local/nvim/plugged')
Plug 'jiangmiao/auto-pairs'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-surround'
"Plug 'ycm-core/YouCompleteMe'
"Plug 'KabbAmine/yowish.vim'
Plug 'scrooloose/nerdcommenter' "nerdcommenter needs settings,go to github
Plug 'godlygeek/tabular'
Plug 'plasticboy/vim-markdown' "let g:vim_markdown_math=1
Plug 'mzlogin/vim-markdown-toc' "let g:vmt_auto_update_on_save=0
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() } }
call plug#end()
" ----------------------------- Vundle End -----------------------------
let g:vim_markdown_math = 1
let g:vmt_auto_update_on_save = 0
"for iamcco/markdown-preview.nvim
let g:mkdp_path_to_chrome="C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
let g:mkdp_markdown_css=''