diff --git a/config-min.org b/config-min.org index be09b52..b1e259c 100644 --- a/config-min.org +++ b/config-min.org @@ -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 diff --git a/config-programming.org b/config-programming.org index c186138..d49c523 100644 --- a/config-programming.org +++ b/config-programming.org @@ -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