summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/inits/15-project-mgmt.el16
-rw-r--r--emacs/inits/20-programming.el62
2 files changed, 5 insertions, 73 deletions
diff --git a/emacs/inits/15-project-mgmt.el b/emacs/inits/15-project-mgmt.el
index 6ea54e6..fcb1539 100644
--- a/emacs/inits/15-project-mgmt.el
+++ b/emacs/inits/15-project-mgmt.el
@@ -1,4 +1,4 @@
-;; Time-stamp: <2024-01-16 15h12 CET (9a3d20a4)>
+;; Time-stamp: <2024-07-07 13h44 BST (0fb87241)>
(defun revert-all-file-buffers ()
"Refresh all open file buffers without confirmation"
@@ -13,18 +13,8 @@
(message "Killed non-existing/unreadable file bufffer: %s" filename))))))
(message "Finished reverting buffers containing unmodified files."))
-(use-package projectile
- :ensure t
- :bind (("C-c p" . projectile-switch-project)
- ("C-c f" . projectile-find-file-dwim))
- :config
- (projectile-mode 1)
-
- (setq projectile-indexing-method 'alien
- projectile-sort-order 'recently-active
- projectile-enable-caching t
- projectile-mode-line-prefix ""
- projectile-mode-line-function '(lambda () (format " ΒΆ[%s]" (projectile-project-name)))))
+(use-package project
+ :defer nil)
(use-package magit
:ensure t
diff --git a/emacs/inits/20-programming.el b/emacs/inits/20-programming.el
index d1085d2..01d3c18 100644
--- a/emacs/inits/20-programming.el
+++ b/emacs/inits/20-programming.el
@@ -1,4 +1,4 @@
-;; Time-stamp: <2024-05-27 20h15 CEST (83a9252e)>
+;; Time-stamp: <2024-07-07 13h51 BST (0fb87241)>
;; -----------------------------------------------------------------------------
;; General setup
@@ -55,11 +55,6 @@
;; -----------------------------------------------------------------------------
;; Specific packages
-(use-package shift-number
- :ensure t
- :bind (("C-c s p" . shift-number-up)
- ("C-c s n" . shift-number-down)))
-
(use-package comment-dwim-2
:ensure t
:bind (("M-;" . comment-dwim-2))
@@ -100,10 +95,8 @@
:bind (:map c-mode-map
("M-m" . lh-matching-delim))
:hook ((c-mode c++-mode) . (lambda ()
- (when (string-match-p (regexp-quote "rdx-code") (buffer-file-name))
- (c-set-style "radix"))
(auto-fill-mode)
- ;; (aggressive-indent-mode)
+ (aggressive-indent-mode)
(set-fill-column 80)
(abbrev-mode 0)
(eglot-ensure) ;; clangd seems pretty good!
@@ -187,8 +180,6 @@
(substatement-open . +)
(template-args-cont c-lineup-template-args +)
(topmost-intro-cont . c-lineup-topmost-intro-cont))))
- (c-add-style "radix"
- '("gnu-mod" (c-basic-offset . 4)))
(setq c-default-style '((java-mode . "java")
(awk-mode . "awk")
@@ -291,55 +282,6 @@
("C-c r" . zig-run)
("C-c C-r" . my-zig-run)))
-;; (use-package js-comint
-;; :ensure t
-;; :defer t
-;; :config
-;; (setq js-comint-program-command "node"
-;; js-comint-program-arguments nil))
-
-;; (use-package js2-mode
-;; :ensure t
-;; :defer t
-;; :after js-comint
-;; :mode "\\.js$"
-;; :bind (:map js2-mode-map
-;; ("TAB" . js2-indent-line)
-;; ("C-x C-e" . js-send-last-sexp)
-;; ("C-c C-b" . js-send-buffer)
-;; ("C-c C-l" . js-load-file))
-;; :hook (js2-mode . (lambda ()
-;; (auto-revert-mode -1)
-;; (yas-minor-mode-on))))
-
-;; (use-package lua-mode
-;; :after nodemcu-mode
-;; :ensure t
-;; :defer t
-;; :bind (:map lua-mode-map
-;; ("C-x C-e" . lua-send-current-line)
-;; ("C-c C-d" . lua-send-defun)
-;; ("C-c C-e" . lua-send-region)
-;; ("C-c C-u" . nodemcu-better-upload-current-file)
-;; ("C-c C-t" . nodemcu-terminal)
-;; ("M-n" . lua-forward-sexp)
-;; ("M-p" . lua-backwards-to-block-begin-or-end))
-;; :hook (lua-mode . (lambda ()
-;; (require 'nodemcu-mode)
-;; (nodemcu-mode 1))))
-
-;; (use-package gforth
-;; :commands forth-mode
-;; :mode (("\\.fs$" . forth-mode)
-;; ("\\.fb$" . forth-block-mode)
-;; ("\\.4th$" . forth-mode)))
-
-;; (use-package uxntal-mode
-;; :ensure t
-;; :defer t
-;; :config
-;; (setq uxntal-mode-strict-comments t))
-
(use-package uiua-ts-mode
:ensure t
:defer)