.spacemacs spacemacs 에디터를 쓸 경우 사용가능한 dot file입니다. #113
mindgitrwx
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://gist.github.com/mindgitrwx/c22cea8feba4246f3270fd538394318e
모든 user 정의 fucntion 은 user-init 에 감싸져있습니다.
backend.ai의 경우 다중 쉘 환경에서 실행해야 하므로 여러 스크립트들을 만들었습니다.
주로 쓰는 함수입니다. spacemacs 의 창을 4분할하고, manager, agent, storage, webserver, client-py, docker, network, python-plyground 등 8개의 쉘을 동시 생성합니다.
spc . r m
spc . r a
spc . r s
spc . r w
첫번째 명령의 경우 shell-manager를 kill하고 다시 생성해서 python -m ai.backend.manager.server --debug 를 쉘에 삽입합니다. a, s, w의 경우 각각 agent, server, web으로 바꾸면 됩니다.
spc s /
버퍼에서 어떤 파일을 실행하고 있던 간에, backend.ai-dev에서 전체 문자열 검색을 시작합니다.spc s m
버퍼에서 어떤 파일을 실행하고 있던 간에, backend.ai-dev의 docs에서 검사를 합니다.spc . h
스택오버플로우로 직접 검색을 해서, 첫번째 답변에 나오는 첫번째 코드블락을 바로 버퍼에 붙여넣습니다.Beta Was this translation helpful? Give feedback.
All reactions