Changeset cc8263e in dotfiles
- Timestamp:
- Sep 1, 2020, 5:33:00 PM (4 years ago)
- Branches:
- master
- Children:
- f7fb9ae
- Parents:
- b7234fa
- git-author:
- Mikhail Kirillov <w96k@…> (08/07/20 14:33:08)
- git-committer:
- Mikhail Kirillov <w96k@…> (09/01/20 17:33:00)
- Files:
-
- 1 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
README
rb7234fa rcc8263e 11 11 12 12 ** Emacs 13 [[emacs.png]]13 [[emacs.png]] 14 14 15 15 *** My setup -
emacs/.emacs
rb7234fa rcc8263e 57 57 :config 58 58 (when (memq window-system '(mac ns x)) 59 (exec-path-from-shell-copy-env " GUILE_LOAD_PATH")59 (exec-path-from-shell-copy-env "PYTHONPATH") 60 60 (exec-path-from-shell-initialize))) 61 61 -
emacs/.emacs-config.org
rb7234fa rcc8263e 65 65 #+END_SRC 66 66 67 * Редактирование кода в общем 67 * Редактирование кода в общемsss 68 68 ** Файловый менеджер 69 69 #+BEGIN_SRC emacs-lisp … … 314 314 (use-package lsp-mode 315 315 :hook (scala-mode . lsp) 316 (python-mode . lsp)316 ;;(python-mode . lsp) 317 317 (lsp-mode . lsp-enable-which-key-integration) 318 318 (lsp-mode . lsp-lens-mode) … … 322 322 :config (push 'company-lsp company-backends)) 323 323 324 ;;(use-package lsp-metals)324 (use-package lsp-metals :ensure) 325 325 326 326 (use-package lsp-ui) … … 371 371 *** Elpy 372 372 #+BEGIN_SRC emacs-lisp 373 ;; (use-package elpy 374 ;; :ensure t 375 ;; :init 376 ;; (elpy-enable) 377 ;; :config 378 ;; (setq elpy-rpc-python-command "python3" 379 ;; python-shell-interpreter "python3" 380 ;; ;;python-shell-interpreter "ipython" elpy-modules 381 ;; elpy-rpc-virtualenv-path 'current 382 ;; pyvenv-mode-line-indicator t ) 383 ;; :bind 384 ;; ("C-c p" . elpy-autopep8-fix-code) 385 ;; ("C-c b" . elpy-black-fix-code)) 373 (use-package elpy 374 :hook ((elpy-mode . flycheck-mode) 375 (elpy-mode . (lambda () 376 (set (make-local-variable 'company-backends) 377 '((elpy-company-backend :with company-yasnippet)))))) 378 :init 379 (elpy-enable) 380 :config 381 (setq elpy-rpc-python-command "python3" 382 python-shell-interpreter "python3" 383 ;;python-shell-interpreter "ipython" elpy-modules 384 elpy-rpc-virtualenv-path 'current 385 elpy-modules (delq 'elpy-module-flymake elpy-modules) 386 pyvenv-mode-line-indicator t ) 387 (add-hook 'elpy-mode-hook 'flycheck-mode) 388 :bind 389 (:map elpy-mode-map 390 ("C-c p" . elpy-autopep8-fix-code) 391 ("C-c b" . elpy-black-fix-code) 392 ("C-M-n" . elpy-nav-forward-block) 393 ("C-M-p" . elpy-nav-backward-block))) 386 394 #+END_SRC 387 395 *** Anaconda … … 412 420 :config (setq pydoc-command "python3 -m pydoc")) 413 421 #+END_SRC 422 414 423 ** Javascript 415 424 *** Основной мод … … 759 768 :hook (emacs-lisp-mode-hook . outshine-mode)) 760 769 #+END_SRC 770 *** nobreak символы 771 #+BEGIN_SRC emacs-lisp 772 (setq nobreak-char-display nil) 773 #+END_SRC 774 ** Guix 775 #+BEGIN_SRC emacs-lisp 776 (use-package guix 777 :config 778 (add-hook 'after-init-hook 'global-guix-prettify-mode)) 779 #+END_SRC 761 780 ** Полный экран 762 781 #+BEGIN_SRC emacs-lisp … … 872 891 ** Обнаруживать просадки 873 892 #+BEGIN_SRC emacs-lisp 874 ;;(use-package explain-pause-mode875 ;;:quelpa (explain-pause-mode :fetcher github :repo "lastquestion/explain-pause-mode")876 ;;:diminish877 ;;:config (setq explain-pause-blocking-too-long-ms 200)878 ;;(explain-pause-mode))879 #+END_SRC 893 (use-package explain-pause-mode 894 :quelpa (explain-pause-mode :fetcher github :repo "lastquestion/explain-pause-mode") 895 :diminish 896 :config (setq explain-pause-blocking-too-long-ms 200) 897 (explain-pause-mode)) 898 #+END_SRC -
guix/.bash_profile
rb7234fa rcc8263e 1 export PATH=$PATH:~/.bin 1 export PATH=$PATH:~/.bin:~/.local/bin 2 3 alias python=python3 4 5 # THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! 6 export SDKMAN_DIR="/home/w96k/.sdkman" 7 [[ -s "/home/w96k/.sdkman/bin/sdkman-init.sh" ]] && source "/home/w96k/.sdkman/bin/sdkman-init.sh" 8 9 # Python Env 10 export PATH="/home/w96k/.pyenv/bin:$PATH" 11 eval "$(pyenv init -)" 12 eval "$(pyenv virtualenv-init -)" 2 13 3 14 # Honor per-interactive-shell startup file 4 15 if [ -f ~/.bashrc ]; then . ~/.bashrc; fi 16 if [ -e /home/w96k/.nix-profile/etc/profile.d/nix.sh ]; then . /home/w96k/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer -
guix/.bashrc
rb7234fa rcc8263e 23 23 if [ -n "$GUIX_ENVIRONMENT" ] 24 24 then 25 export PS1="\w [env] \$"25 export PS1="\w [env]\$ " 26 26 else 27 27 export PS1="\[$(tput bold; tput setaf 3;)\]\w \$ \[$(tput sgr0)\]" … … 33 33 # Welcome message 34 34 printf "Welcome to bash shell\n\n" 35 36 alias python=python337 38 # THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!39 export SDKMAN_DIR="/home/w96k/.sdkman"40 [[ -s "/home/w96k/.sdkman/bin/sdkman-init.sh" ]] && source "/home/w96k/.sdkman/bin/sdkman-init.sh" -
guix/.zshenv
rb7234fa rcc8263e 1 if [ -e /home/w96k/.nix-profile/etc/profile.d/nix.sh ]; then . /home/w96k/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer -
guix/config.scm
rb7234fa rcc8263e 7 7 ssh 8 8 xorg 9 virtualization 9 10 nix) 10 11 … … 21 22 "caps:ctrl_modifier" 22 23 ))) 23 (kernel linux-libre )24 (kernel linux-libre-5.8) 24 25 (kernel-arguments 25 26 '("processor.max_cstate=1" ; Disable power savings … … 46 47 (home-directory "/home/w96k") 47 48 (supplementary-groups 48 '("wheel" "netdev" "audio" "video" "nixbld")))49 '("wheel" "netdev" "audio" "video"))) 49 50 %base-user-accounts)) 50 51 (packages … … 63 64 "font-fira-mono" 64 65 "sbcl" 65 "nix"66 66 "stumpwm")) 67 67 (list `(,stumpwm "lib")) -
wm/.stumpwmrc
rb7234fa rcc8263e 64 64 65 65 (defcommand icecat () () 66 (run-or-raise "icecat" '(:class "IceCat"))) 67 68 (defcommand nyxt () () 66 69 "Start Next or switch to it, if it is already running." 67 (run-or-raise "icecat" '(:class "IceCat"))) 68 (define-key *root-map* (kbd "b") "icecat") 70 (run-or-raise "nyxt" '(:class "nyxt"))) 71 72 (define-key *root-map* (kbd "b") "nyxt") 69 73 70 74 ;; launch terminal
Note:
See TracChangeset
for help on using the changeset viewer.