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))))))
|
(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
|
||||||
|
|||||||
Reference in New Issue
Block a user