Changeset 3600aa2 in dotfiles
- Timestamp:
- Feb 13, 2023, 12:25:44 AM (2 years ago)
- Branches:
- master
- Children:
- d881dae
- Parents:
- 688b524
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emacs/.emacs.d/.emacs-config.org
r688b524 r3600aa2 1 #+TITLE: Конфигурация Emacs1 #+TITLE: Конфигурация Emacs 2 2 #+AUTHOR: Кириллов <w96k.dev> Михаил 3 3 #+OPTIONS: toc:nil 4 4 #+PROPERTY: header-args:elisp :results silent 5 #+STARTUP: showeverything 5 6 6 7 * Вклады … … 85 86 | Dumb Jump | Прыжки по определениям при помощи grep и ему подобных | 86 87 | Docker | Интерфейс к Docker | 87 | LSP-mode | LSP клиент |88 88 | Exec Path From Shell | Синхронизация путей чтения из .bashrc в Emacs | 89 89 | Expand Region | Семантическое расширение выделения на курсоре | … … 131 131 (package-install 'rmsbolt) 132 132 (package-install 'beginend) 133 (package-install 'composer) 134 (package-install 'mini-modeline) 133 ;; (package-install 'composer) 135 134 (package-install 'cinspect) 136 135 (package-install 'debian-el) … … 168 167 ;;(package-install 'sqlite3) 169 168 (package-install 'org-roam) 170 (package-install 'org-roam-ui)169 ;; (package-install 'org-roam-ui) 171 170 (package-install 'org-download) 172 171 (package-install 'org-babel-eval-in-repl) 173 172 ;;(package-install 'ob-php) 174 (package-install 'lsp-mode)175 173 (package-install 'on-screen) 176 174 ;;(package-install 'nix-mode) … … 485 483 #+END_SRC 486 484 ** Объединение эхо зоны и модлайна 487 #+begin_src emacs-lisp :tangle init.el485 #+begin_src emacs-lisp :tangle nil 488 486 (when (package-loaded? "mini-modeline") 489 487 (setq mini-modeline-r-format … … 1032 1030 ** Клиент LSP 1033 1031 #+begin_src emacs-lisp :tangle init.el 1034 (when (package-loaded? "lsp-mode") 1035 (progn 1036 (define-key prog-mode-map (kbd "C-c h") 'eldoc) 1037 ;; (define-key prog-mode-map (kbd "M-<tab>") 'completion-at-point) 1038 (define-key prog-mode-map (kbd "<f6>") 'xref-find-definitions) 1039 1040 (add-hook 'sql-mode-hook 'lsp) 1041 (add-hook 'php-mode-hook 'lsp) 1042 (add-hook 'c-mode-hook 'lsp-mode) 1043 (add-hook 'c++-mode-hook 'lsp-mode))) 1032 (with-eval-after-load 'eglot 1033 (add-to-list 'eglot-server-programs '(php-mode . ("intelephense" "--stdio"))) 1034 1035 ;; No event buffers, disable providers cause a lot of hover traffic. Shutdown unused servers. 1036 (setq eglot-events-buffer-size 0 1037 eglot-ignored-server-capabilities '(:hoverProvider 1038 :documentHighlightProvider) 1039 eglot-autoshutdown t)) 1040 1041 ;; Show all of the available eldoc information when we want it. This way Flymake errors 1042 ;; don't just get clobbered by docstrings. 1043 (add-hook 'eglot-managed-mode-hook 1044 (lambda () 1045 "Make sure Eldoc will show us all of the feedback at point." 1046 (setq-local eldoc-documentation-strategy 1047 #'eldoc-documentation-compose))) 1044 1048 #+end_src 1045 1049 … … 1066 1070 ** Сессия 1067 1071 #+BEGIN_SRC emacs-lisp :tangle init.el 1068 (desktop-save-mode 1)1072 (desktop-save-mode 0) 1069 1073 #+END_SRC 1070 1074 ** Скроллинг … … 1192 1196 (progn 1193 1197 (add-hook 'php-mode-hook 'php-enable-symfony2-coding-style) 1194 ;; (setq lsp-intelephense-php-version "7.4.26")1195 1198 (setq lsp-intelephense-php-version "8.1.6") 1196 1199 ;; (defvar phpactor-executable "~/.bin/phpactor") … … 1376 1379 (shell . t) 1377 1380 (sql . t) 1378 (js . t) 1379 (sqlite . t))) 1381 (js . t))) 1380 1382 1381 1383 (defun org-babel-edit-prep:sql (babel-info) … … 1444 1446 (progn 1445 1447 (setq org-roam-directory (file-truename "~/projects/at-w96k/content/digarden/") 1446 org-roam-graph-viewer "abrowser"1447 1448 org-roam-v2-ack t 1448 1449 org-roam-completion-everywhere t … … 1452 1453 ;; (org-roam-db-sync) 1453 1454 1454 (org-roam-db-autosync-mode t)1455 ;; (org-roam-db-autosync-mode t) 1455 1456 1456 1457 (defun org-roam-jump-to-index ()
Note:
See TracChangeset
for help on using the changeset viewer.