File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 238
238
(" objdump-disassemble" . " 54d060212e554ec1381a359629627c8de0bbb7ed" )
239
239
(" oer-reveal" . " 08c44d4fd212a7433ad2f863299b5c1bdd87e23f" )
240
240
(" olivetti" . " 800a286862fd7aff2a91726e84606386e295106c" )
241
- (" one-tab-per-project" . " 18037dc492d7baada62ee73e1f3af4eb89d9aa8d " )
241
+ (" one-tab-per-project" . " 3d1d32cac5680bfc48834924a49e1decdabad551 " )
242
242
(" opencl-mode" . " 10ae7742d57ae79d96cf52753800b3490589b3f6" )
243
243
(" orderless" . " 4040f67949eab1cfca5bb52dca816f8f65955853" )
244
244
(" org" . " 8c38d5b2f1bef096b64449c34f5e18405d46168e" )
Original file line number Diff line number Diff line change 19
19
(use-package one-tab-per-project
20
20
:straight (:host github :repo " abougouffa/one-tab-per-project" )
21
21
:after project
22
+ :hook (otpp-after-define-commands . +one-tab-per-project--tweak-consult-cmds-h)
22
23
:init
23
24
(otpp-mode 1 )
24
- (otpp-remap-commands-mode 1 ))
25
+ (otpp-remap-commands-mode 1 )
26
+ :config
27
+ (defun +one-tab-per-project--tweak-consult-cmds-h ()
28
+ (with-eval-after-load 'consult
29
+ (consult-customize
30
+ otpp-consult-fd :initial (+region-or-thing-at-point)
31
+ otpp-consult-find :initial (+region-or-thing-at-point)
32
+ otpp-consult-grep :initial (+region-or-thing-at-point)
33
+ otpp-consult-ripgrep :initial (+region-or-thing-at-point)))))
25
34
26
35
(use-package burly
27
36
:straight t )
You can’t perform that action at this time.
0 commit comments