Skip to content

Commit 60bde34

Browse files
committed
Changed keybinding for company-try-hard completion
1 parent fd826aa commit 60bde34

File tree

1 file changed

+38
-13
lines changed

1 file changed

+38
-13
lines changed

init.org

+38-13
Original file line numberDiff line numberDiff line change
@@ -6777,7 +6777,7 @@ doom-oceanic-next, kaolin-dark, kaolin-aurora, kaolin-blossom, kaolin-breeze, ka
67776777
kaolin-eclipse, kaolin-ocean, kaolin-galaxy, kaolin-valley-dark, kaolin-valley-light, kaolin-temple,
67786778
vscode-dark-plus, nimbus, modus-operandi, modus-operandi-tinted, modus-operandi-deuteranopia, modus-operandi-tritanopia,
67796779
modus-vivendi, modus-vivendi-tinted, modus-vivendi-deuteranopia, modus-vivendi-tritanopia,
6780-
ef-day, ef-night, ef-light, ef-dark, ef-duo-light, ef-duo-dark, ef-maris-light, ef-maris-dark, ef-spring, ef-autumn,
6780+
ef-day, ef-night, ef-light, ef-dark, ef-duo-light, ef-duo-dark, ef-maris-light, ef-maris-dark, ef-spring, ef-autumn,
67816781
ef-summer, ef-winter, ef-deuteranopia-dark, ef-symbiosis, leuven.
67826782
")
67836783

@@ -10119,7 +10119,7 @@ Package [[https://github.com/ema2159/centaur-tabs][Centaur tabs]] provides aesth
1011910119
(not (file-name-extension name)))
1012010120
)))
1012110121

10122-
10122+
1012310123

1012410124
;(centaur-tabs-mode t)
1012510125
:custom
@@ -13296,17 +13296,17 @@ the command again to try the next backend.
1329613296

1329713297
| Key binding | Command | Description |
1329813298
|-------------+----------------------+------------------------------------------------------------------------------------------------------------------------------|
13299-
| =C-TAB= | =M-x company-try-hard= | Try hard to find a completion. If none of the current completions look good, call the command again to try the next backend. |
13299+
| =H-m <tab>= | =M-x company-try-hard= | Try hard to find a completion. If none of the current completions look good, call the command again to try the next backend. |
1330013300
|-------------+----------------------+------------------------------------------------------------------------------------------------------------------------------|
1330113301

1330213302

1330313303
#+begin_src emacs-lisp :tangle config/init-advanced-company.el
1330413304
(use-package company-try-hard
1330513305
:bind
1330613306
(
13307-
("C-<tab>" . company-try-hard)
13307+
("H-m <tab>" . company-try-hard)
1330813308
:map company-active-map
13309-
("C-<tab>" . company-try-hard)
13309+
("H-m <tab>" . company-try-hard)
1331013310
)
1331113311
)
1331213312
#+end_src
@@ -15482,22 +15482,23 @@ Following a survey of the [[https://emacs-lsp.github.io/lsp-mode/][lsp-mode]] co
1548215482
(setq lsp-auto-guess-root t)
1548315483
(setq lsp-enable-indentation t)
1548415484
(setq lsp-enable-imenu t)
15485-
(setq lsp-file-watch-threshold 1500)
15485+
(setq lsp-file-watch-threshold 15000)
1548615486
(setq lsp-prefer-flymake nil)
1548715487

1548815488
(setq lsp-enable-symbol-highlighting t)
1548915489
(setq lsp-lens-enable t)
1549015490
(setq lsp-modeline-code-actions-enable t)
1549115491

15492-
(setq lsp-completion-enable nil)
15492+
(setq lsp-completion-enable t)
15493+
(setq lsp-enable-completion-at-point t)
1549315494

1549415495
(setq lsp-modeline-diagnostics-enable nil)
1549515496

1549615497
(setq lsp-signature-auto-activate nil)
15497-
(setq lsp-modeline-workspace-status-enable nil)
15498+
(setq lsp-modeline-workspace-status-enable t)
1549815499
(setq lsp-semantic-tokens-enable t)
1549915500
(setq lsp-progress-spinner-type 'progress-bar-filled)
15500-
(setq lsp-enable-file-watchers nil)
15501+
(setq lsp-enable-file-watchers t)
1550115502

1550215503
;;(setq lsp-auto-execute-action nil)
1550315504
;;(setq lsp-before-save-edits nil)
@@ -15617,7 +15618,7 @@ CodeLens are links in your code:
1561715618
(setq lsp-ui-doc-use-childframe t)
1561815619
(setq lsp-ui-doc-use-webkit t)
1561915620
(setq lsp-ui-flycheck-enable nil)
15620-
(setq lsp-ui-sideline-enable nil)
15621+
(setq lsp-ui-sideline-enable t)
1562115622
(setq lsp-ui-sideline-ignore-duplicate t)
1562215623
(setq lsp-ui-sideline-show-symbol t)
1562315624
(setq lsp-ui-sideline-show-hover t)
@@ -17527,9 +17528,9 @@ The following are basic [[https://code.orgmode.org/bzg/org-mode][org-mode]] sett
1752717528

1752817529
(setq org-hide-emphasis-markers t)
1752917530

17530-
1753117531
;; https://abode.karthinks.com/org-latex-preview/#org99ce71c
17532-
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
17532+
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.0))
17533+
1753317534
;;(plist-put org-latex-preview-appearance-options :page-width 0.8)
1753417535
(setq org-latex-preview-numbered t)
1753517536
(setq org-latex-preview-live t)
@@ -17560,7 +17561,32 @@ The following are basic [[https://code.orgmode.org/bzg/org-mode][org-mode]] sett
1756017561
)
1756117562

1756217563
(add-hook 'org-clock-out-hook 'psimacs/internal/org-remove-empty-drawer-on-clock-out 'append)
17564+
)
17565+
#+end_src
1756317566

17567+
**** Org-latex-preview hack
17568+
17569+
The following is a hack for windows only. The =org-latex-preview= does not work out of the box for
17570+
*Psimacs* on Windows. The reason is a handling of a shorted relative file name that is not properly
17571+
consumed by the MSYS2 backend. In order to circumvent this problem, *Psimacs* provides the following
17572+
argument filter advise for function =org-compile-file=:
17573+
17574+
#+begin_src emacs-lisp :tangle config/init-major-modes-org-mode.el :var file-description="Major Modes - org-mode setup"
17575+
;;
17576+
;; Provide an advise for function org-compile-file
17577+
;;
17578+
(use-package org
17579+
:straight nil
17580+
:config
17581+
(when psimacs/system/is-win32-p
17582+
(defun psimacs/config/org-compile-file (args)
17583+
"Filter argument advice: replace the first argument SOURCE by its non-shortened name"
17584+
(setcar args (file-truename (nth 0 args)))
17585+
args
17586+
)
17587+
17588+
(advice-add 'org-compile-file :filter-args #'psimacs/config/org-compile-file)
17589+
)
1756417590
)
1756517591
#+end_src
1756617592

@@ -20937,7 +20963,6 @@ Keybinding for the *org note buffer* in =org-noter-mode=:
2093720963
)
2093820964
#+end_src
2093920965

20940-
2094120966
** PlantUML Mode
2094220967

2094320968
The package [[https://github.com/skuro/plantuml-mode][plantuml-mode]] provides access to the nice

0 commit comments

Comments
 (0)