2022. 2. 13. 16:07

python 관련

pythong 3.8 -> 3.10 설치뒤 pip도 확인해야함

python -m pip install pip --upgrade pip

 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

sudo apt-get remove python3-pip

sudo apt-get remove python-pip

 

pyls

pip install python-language-server

2022. 2. 13. 01:14

tagbar 에서 rust tagging

2022. 2. 13. 00:24

ls ranges is not enabled in ccls 해결

검색도 별로 없고 오랜 시간 삽질했는데, 옵션을 키란 말이었음...
    "lsRanges": true를 넣으면 된다

            "initializationOptions": {
                     "cache": {
                                "directory": "/tmp/ccls"
                              },
                     "highlight": {
                                "lsRanges": true
                      }
                   }
          }

 

https://www.reddit.com/r/neovim/comments/jwhf60/error_using_ccls_with_nvim/

 

Error using ccls with nvim

I'm pretty sure I built, installed, and configured clss correctly, below you can find my error message, coc-settings.json, and CocInfo in that...

www.reddit.com

 

2022. 2. 12. 22:36

ccls 설치

2022. 2. 12. 05:30

VIM C/C++ ccls

2022. 2. 12. 04:50

WSL에서 snap이 안될때

ccls 를 snap으로 설치해보려고 했는데 WSL 20.04엔 안깔려있고 깔아도 통신에러

https://bitlog.tistory.com/135

 

wsl2 ubuntu 20.04 distro에서 snap 오류.

요즘 wsl을 이용해서 이것 저것 많이 해보는데, 대부분 잘 동작하지만, 간혹 잘 안되는 경우가 있습니다. 오늘도 간혹 잘 안되는 경우를 만났습니다. Ubuntu에서 대게는(저는) 라이브러리를 설치는

bitlog.tistory.com

여기에 해결책.

$ sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig

$ sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target

$ exec sudo nsenter -t $(pidof systemd) -a su - $LOGNAME

근데 몇가지  데몬이 돌게 만드는게 좀 맘에 안든다 끌 방법은...

위 커맨드는 1회성이라 WSL을 reboot해주면 된다. services.msc나

Get-Service LxssManager | Restart-Service

https://www.how2shout.com/how-to/how-to-reboot-wsl-windows-subsystem-linux-in-windows-10.html#:~:text=Method%201%3A%20Restart%20Lxssmanager%20service,-Press%20Win%20Key&text=Right%2Dclick%20on%20Lxssmanager%20service,WSL%20select%20the%20STOP%20option.

 

2022. 2. 12. 04:27

neovim for python

2022. 2. 12. 04:24

compile_commands.json

2022. 2. 11. 18:44

neovim - init.vim

https://www.joinc.co.kr/w/man/12/neovim

 

NeoVim 기반 개발환경 설정

 

www.joinc.co.kr

 

https://velog.io/@mythos/Linux-neovim-%EC%84%A4%EC%A0%95-CoC-Vim-Plug-treesitter-NERDTree

 

[Linux] neovim 설정 (CoC, Vim-Plug, treesitter, NERDTree)

vi 는 터미널에서 사용 가능한 리눅스의 텍스트 편집기 프로그램이다. 기본 기능 역시 훌륭하지만, 코드 에디터로 사용하기엔 부적절하다. 이번 글에서는 Neovim 을 설치하여 리눅스의 텍스트 에

velog.io

https://blog.jiktong.kr/2224

 

vs code에서 wsl을 이용한 c/c++ 컴파일

vs code에서 wsl을 이용한 c/c++ 컴파일 vs code에서 c/c++ 컴파일을 하기 위한 환경을 구성해 보겠습니다. 이 내용은 https://code.visualstudio.com/docs/languages/cpp과 https://code.visualstudio.com/docs..

blog.jiktong.kr

https://tyanjournal.com/tips/neovim-c-ide/

 

[Vim] Neovim을 C++ IDE로 사용하기 - tyanjournal

오랜만에 C++로 코드를 작성해야 할 일이 생겼다. 훑어봐야 할 코드가 좀 방대해서 vscode의 편리한 gui를 이용해볼까 하다가, 아무래도 마우스 없이 tmux 환경에서 window, pane을 여러 개로 나눠서 vim,

tyanjournal.com

https://provia.tistory.com/66

 

NeoVIM으로 Python개발환경 구축하기

1. Neovim을 설치한다. 2. Nvim의 fisa-dev를 설정한다. http://nvim.fisadev.com/ Fisa-nvim-config by fisadev This is my personal NeoVim configuration, built according to my personal preferences, withou..

provia.tistory.com

init.vim
0.02MB
zshrc
0.00MB

 

참고한 vimrc들

_vimrc_ref
0.02MB
joinc.vim
0.00MB
velog.vim
0.01MB

 

2017. 3. 14. 20:35

VIM 탭 자동완성

http://nabiro.tistory.com/274


function InsertTabWrapper()

    let col = col('.') - 1

    if !col || getline('.')[col - 1] !~ '\k'

        return "\<tab>"

    else

        return "\<c-p>"

    endif

endfunction


inoremap <tab> <c-r>=InsertTabWrapper()<cr>