NVIM安装 python 提示命令

NVIM 的安装方式请自行百度

nvim ~/.config/nvim/init.vim

let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
if empty(glob('~/.config/nvim/autoload/plug.vim'))

		#以下是代理,请配置自己的代理
        silent execute '!curl --socks5-hostname 127.0.0.1:7891 -fLo '.data_dir.'/autoload/plug.vim --create-dirs  https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
        source $MYVIMRC
endif

call plug#begin('~/.config/nvim/plugged')
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'morhetz/gruvbox'
Plug 'preservim/nerdtree'
Plug 'yggdroot/indentline'
Plug 'voldikss/vim-floaterm'

" uncomment the line below to enable gitgutter
Plug 'airblade/vim-gitgutter'

" uncomment the line below to enable plugin for golang. go should be installed on the OS.
Plug 'fatih/vim-go', { 'do': ':GoInstallBinaries' }

" uncomment the line below to enable plugin for rust.
Plug 'rust-lang/rust.vim'

" uncomment the line below to enable plugin for python
Plug 'davidhalter/jedi-vim'

" uncomment the 2 lines below to enable tagbar. universal-ctags should be installed on the OS.
"Plug 'majutsushi/tagbar'
"Plug 'ludovicchabant/vim-gutentags'

" uncomment the line below to enable markdown preview
Plug 'jamshedvesuna/vim-markdown-preview'

" uncomment the line below to enable markdown preview
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}
" table mode for markdown
Plug 'dhruvasagar/vim-table-mode'

" uncomment the line below to enable vimwiki
Plug 'vimwiki/vimwiki'

" uncomment the line below to enable fzf
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'

call plug#end()

set nu
set relativenumber
set cursorline
set syntax=on
set ts=4
set expandtab
colorscheme gruvbox
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#left_sep = ' '
let g:airline#extensions#tabline#left_alt_sep = '|'
nnoremap tt :NERDTreeToggle<CR>
nmap <F8> :TagbarToggle<CR>

git clone --recursive https://github.com/davidhalter/jedi-vim.git ~/.vim/bundle/jedi-vim

NVIM 里面执行
:PlugInstall

pip3 install --user pynvim

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值