add keybind on emacs and polymode
This commit is contained in:
8
.emacs
8
.emacs
@@ -53,6 +53,8 @@
|
||||
(if this-win-2nd (other-window 1))))))
|
||||
|
||||
(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
|
||||
(rc/require 'smex 'ido-completing-read+)
|
||||
@@ -139,6 +141,10 @@
|
||||
|
||||
(global-set-key (kbd "M-;") 'xref-find-definitions)
|
||||
|
||||
(rc/require 'ess)
|
||||
(rc/require 'polymode)
|
||||
(rc/require 'poly-R)
|
||||
|
||||
;;; Whitespace mode
|
||||
(defun rc/set-up-whitespace-handling ()
|
||||
(interactive)
|
||||
@@ -343,6 +349,8 @@
|
||||
;;; Clang format
|
||||
(rc/require 'clang-format)
|
||||
|
||||
(global-set-key (kbd "C-o") 'clang-format-buffer)
|
||||
|
||||
;;; Lsp-mode
|
||||
(rc/require 'lsp-mode
|
||||
'lsp-treemacs
|
||||
|
||||
Reference in New Issue
Block a user