- install dependencies sudo aptitude install libsqlite3-dev libffi-dev
- download python source and extract the files
- configure and compile ./configure --prefix=/opt --enable-optimizations --enable-shared make -j4
- make install
sudo apt install mlocate sudo systemctl start mlocate updatedb
sudo aptitude install fonts-cascadia-code or doas pkg_add cascadia-code
on OpenBSD cd /usr/ports/misc/dtach make and doas make install
cd
mkdir DesktopSetting
cd DesktopSetting
git clone https://github.com/sandeep-gh/dotemacs.git
-
If using compiled python binary then edit development.el and change
(setq elpy-rpc-python-command "/opt/bin/python3")
to point to correct python3 executable. Or else, comment out the line -
Add below lines in ~/.emacs.d/init.el
(add-to-list 'load-path "/.emacs.d/custom")
(load "/DesktopSetting/dotemacs/init.el")
- install python dependencies
source ~/.emacs.d/elpy/rpc-venv/bin/activate
pip install pyflakes mypy black importmagic yapf epc autopep8 flake8 jedi virtualenv ipython
-
M-x pyvenv-activate choose ~/.emacs.d/elpy/rpc-venv
-
M-x elpy-config to make sure all configs are in place
-
M-x jedi:install-server
using color-theme-gnome2 from color-theme.el. Needs to be loaded manually M-x color-theme-gnome2. If using alternative theme, edit settings.el. For example, if using kaolin-galaxy, add the lines (load-theme 'kalion-galaxy t)
https://github.com/technomancy/better-defaults
https://github.com/nonsequitur/smex
https://github.com/k-talo/volatile-highlights.el
see keystrokes.org
see keystrokes.org
for readable content
C-;
M-x git-status
https://stackoverflow.com/questions/2886184/copy-paste-in-emacs-ansi-term-shell
git repo: anachronic/importmagic.el
C-c C-e
C-c C-r r (elpy-refactor-rename)¶
C-c C-r v (elpy-refactor-extract-variable)¶
C-c C-r f (elpy-refactor-extract-function)¶
C-c C-r i (elpy-refactor-inline)¶
humitos/py-cmd-buffer.el
humitos/py-cmd-buffer.el
humitos/buftra
using vimish-fold vimish-fold-unfold vimish-fold-unfold-all vimish-fold-refold vimish-fold-refold-all vimish-fold-delete-all vimish-fold-toggle vimish-fold-toggle-all vimish-fold-avy (requires avy package) vimish-fold-from-marks vimish-fold-mode
key-chord ft: hs-toggle-hiding
;; hs-hide-block C-c @ C-h
;; hs-show-block C-c @ C-s
;; hs-hide-all C-c @ C-M-h
;; hs-show-all C-c @ C-M-s
;; hs-hide-level C-c @ C-l
;; hs-toggle-hiding C-c @ C-c
;; hs-toggle-hiding [(shift mouse-2)]
;; hs-hide-initial-comment-block
dtache-shell-command
global-linum-mode tabbar-mode origami helm py-isort sx