mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 08:14:15 +00:00
differentiate between server and tui
This commit is contained in:
parent
5d7f4250ad
commit
ddf91eaf23
1 changed files with 8 additions and 5 deletions
|
|
@ -137,16 +137,19 @@
|
|||
(setq projectile-indexing-method 'hybrid)
|
||||
(setq projectile-auto-update-cache nil)
|
||||
(global-set-key (kbd (if (and (not (daemonp))
|
||||
(null window-system))
|
||||
"C-c ."
|
||||
"C-c C-."))
|
||||
'projectile-command-map))
|
||||
(null window-system))
|
||||
"C-c ."
|
||||
"C-c C-."))
|
||||
'projectile-command-map))
|
||||
:config
|
||||
(projectile-mode)
|
||||
(add-to-list 'projectile-globally-ignored-directories
|
||||
".ccls")
|
||||
|
||||
(when (null window-system)
|
||||
(when (and (null window-system)
|
||||
(not (and (boundp 'server-process)
|
||||
(memq (process-status server-process)
|
||||
'(connect listen open run)))))
|
||||
(define-key c++-mode-map (kbd "C-c .") nil)
|
||||
(define-key c++-mode-map (kbd "C-c . .") #'c-set-style)
|
||||
(define-key org-mode-map (kbd "C-c .") nil)
|
||||
|
|
|
|||
Loading…
Reference in a new issue