Terminal compatibility!

This commit is contained in:
Benson Chu 2024-05-30 14:19:37 -05:00
parent 140e01c6e7
commit edec73431e
2 changed files with 10 additions and 5 deletions

View file

@ -1087,3 +1087,8 @@
browse-url-browser-function 'browse-url-generic
search-web-default-browser 'browse-url-generic))
#+end_src
* Terminal compatibility
#+begin_src emacs-lisp
(global-set-key (kbd "M-[ emacs-C-SPC") #'set-mark-command)
(global-set-key (kbd "M-[ emacs-C-/") #'undo)
#+end_src

View file

@ -136,11 +136,11 @@
(setq projectile-require-project-root t)
(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))
(if (and (not (daemonp))
(null window-system))
(global-set-key "C-c ." 'projectile-command-map)
(global-set-key "C-c C-." 'projectile-command-map)
(global-set-key (kbd "C-c M-[ emacs-C-.") 'projectile-command-map)))
:config
(projectile-mode)
(add-to-list 'projectile-globally-ignored-directories