Compare commits
No commits in common. "9625e9b14ff20f4816260783dd9c1de0499d2f16" and "298a7165aa15c905a9603d21400d4a4150e47855" have entirely different histories.
9625e9b14f
...
298a7165aa
|
@ -1,13 +0,0 @@
|
||||||
;;; +keybindings.el -*- lexical-binding: t; -*-
|
|
||||||
;; Custom keybindings
|
|
||||||
;;
|
|
||||||
;; Select target in Makefile compilation as default
|
|
||||||
(map! :leader :n "c c" #'makefile-executor-execute-project-target)
|
|
||||||
;; Keybindings for R markdown polymode
|
|
||||||
(map! :map poly-markdown+R-mode-map
|
|
||||||
:n "RET" #'polymode-eval-chunk
|
|
||||||
:desc "Evaluate code block")
|
|
||||||
;; Map elfeed to global keybinding
|
|
||||||
(map! :leader :n "o e" #'=rss)
|
|
||||||
;; Map wallabag to global keybinding
|
|
||||||
(map! :leader :n "o w" #'=wallabag)
|
|
|
@ -4,8 +4,6 @@
|
||||||
;;
|
;;
|
||||||
;; Load appearance configuration
|
;; Load appearance configuration
|
||||||
(load! "+ui")
|
(load! "+ui")
|
||||||
;; Load custom keybindings
|
|
||||||
(load! "+keybindings")
|
|
||||||
;; Set projects directories
|
;; Set projects directories
|
||||||
(setq projectile-project-search-path '(("~/Projects" . 2)
|
(setq projectile-project-search-path '(("~/Projects" . 2)
|
||||||
("~/Documents/Work" . 1)
|
("~/Documents/Work" . 1)
|
||||||
|
@ -33,6 +31,8 @@
|
||||||
(defun revert-buffer-no-confirm ()
|
(defun revert-buffer-no-confirm ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(revert-buffer :ignore-auto :noconfirm))
|
(revert-buffer :ignore-auto :noconfirm))
|
||||||
|
;; Select target in Makefile compilation as default
|
||||||
|
(map! :leader :n "c c" #'makefile-executor-execute-project-target)
|
||||||
;; Align columns in CSV mode
|
;; Align columns in CSV mode
|
||||||
(add-hook 'csv-mode-hook 'csv-align-mode)
|
(add-hook 'csv-mode-hook 'csv-align-mode)
|
||||||
;; Close compilation buffer if successful
|
;; Close compilation buffer if successful
|
||||||
|
@ -60,6 +60,10 @@
|
||||||
(add-to-list 'projectile-globally-ignored-directories ".direnv"))
|
(add-to-list 'projectile-globally-ignored-directories ".direnv"))
|
||||||
;; Associate polymode to R markdown files
|
;; Associate polymode to R markdown files
|
||||||
(add-to-list 'auto-mode-alist '("\\.[rR]md\\'" . poly-markdown+R-mode))
|
(add-to-list 'auto-mode-alist '("\\.[rR]md\\'" . poly-markdown+R-mode))
|
||||||
|
;; Keybindings for R markdown polymode
|
||||||
|
(map! :map poly-markdown+R-mode-map
|
||||||
|
:n "RET" #'polymode-eval-chunk
|
||||||
|
:desc "Evaluate code block")
|
||||||
;; Set clangd as C/C++ LSP
|
;; Set clangd as C/C++ LSP
|
||||||
(setq lsp-clients-clangd-args '("-j=3"
|
(setq lsp-clients-clangd-args '("-j=3"
|
||||||
"--background-index"
|
"--background-index"
|
||||||
|
|
Loading…
Reference in New Issue