add keybind on emacs and polymode

This commit is contained in:
2025-05-27 20:29:10 +02:00
parent c1db7855a2
commit 7512b36ba4

8
.emacs
View File

@@ -53,6 +53,8 @@
(if this-win-2nd (other-window 1)))))) (if this-win-2nd (other-window 1))))))
(global-set-key (kbd "C-t") 'toggle-window-split) (global-set-key (kbd "C-t") 'toggle-window-split)
(global-set-key (kbd "C-<tab>") 'next-window-any-frame)
(global-set-key (kbd "C-<iso-lefttab>") 'previous-window-any-frame)
;;; ido ;;; ido
(rc/require 'smex 'ido-completing-read+) (rc/require 'smex 'ido-completing-read+)
@@ -139,6 +141,10 @@
(global-set-key (kbd "M-;") 'xref-find-definitions) (global-set-key (kbd "M-;") 'xref-find-definitions)
(rc/require 'ess)
(rc/require 'polymode)
(rc/require 'poly-R)
;;; Whitespace mode ;;; Whitespace mode
(defun rc/set-up-whitespace-handling () (defun rc/set-up-whitespace-handling ()
(interactive) (interactive)
@@ -343,6 +349,8 @@
;;; Clang format ;;; Clang format
(rc/require 'clang-format) (rc/require 'clang-format)
(global-set-key (kbd "C-o") 'clang-format-buffer)
;;; Lsp-mode ;;; Lsp-mode
(rc/require 'lsp-mode (rc/require 'lsp-mode
'lsp-treemacs 'lsp-treemacs