aben20807 / blog-post-issues

https://aben20807.github.io/
MIT License
9 stars 2 forks source link

neovim for virtualenv #111

Closed aben20807 closed 1 year ago

aben20807 commented 2 years ago

package dependency (WSL2, Ubuntu 20.04)

$ sudo apt update
$ sudo apt install libssl-dev libffi-dev gcc make python3-pip xclip

Install pyenv and python 3.6.9

$ pyenv deactivate
aben20807 commented 2 years ago

solve following error:

[coc.nvim] Error on execute :pyx command, ultisnips feature of coc-snippets requires pyx support on vim. use :CocOpenLog for details
aben20807 commented 2 years ago

Clipboard setting ref

$ curl -sLo/tmp/win32yank.zip https://github.com/equalsraf/win32yank/releases/download/v0.0.4/win32yank-x64.zip
$ unzip -p /tmp/win32yank.zip win32yank.exe > /tmp/win32yank.exe
$ chmod +x /tmp/win32yank.exe
$ mv /tmp/win32yank.exe ~/.local/bin/

init.vim:

let g:clipboard = {
      \   'name': 'win32yank-wsl',
      \   'copy': {
      \      '+': 'win32yank.exe -i --crlf',
      \      '*': 'win32yank.exe -i --crlf',
      \    },
      \   'paste': {
      \      '+': 'win32yank.exe -o --lf',
      \      '*': 'win32yank.exe -o --lf',
      \   },
      \   'cache_enabled': 0,
      \ }
aben20807 commented 2 years ago

Use the setting from aben20807.vim

aben20807 commented 1 year ago

https://github.com/aben20807/dotfiles