summaryrefslogtreecommitdiffstats
path: root/roles/wiki-edit
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-10-31 21:53:15 -0400
committerSacha Chua <sacha@sachachua.com>2022-10-31 21:53:15 -0400
commit4696aa1fed214fe1084d7c3deecaaa289bc0a1fd (patch)
treefa0d7d2d121cfe2787b1f1a94b2328aeff73c724 /roles/wiki-edit
parentb8c97d14ed81871eef51ba7253982c45258ec538 (diff)
downloademacsconf-ansible-4696aa1fed214fe1084d7c3deecaaa289bc0a1fd.tar.xz
emacsconf-ansible-4696aa1fed214fe1084d7c3deecaaa289bc0a1fd.zip
Update OBS, renamepublish and edit
Diffstat (limited to 'roles/wiki-edit')
-rw-r--r--roles/wiki-edit/defaults/main.yml7
-rw-r--r--roles/wiki-edit/tasks/main.yaml11
-rw-r--r--roles/wiki-edit/templates/emacsconf-edit.el34
3 files changed, 0 insertions, 52 deletions
diff --git a/roles/wiki-edit/defaults/main.yml b/roles/wiki-edit/defaults/main.yml
deleted file mode 100644
index ea0fbdb..0000000
--- a/roles/wiki-edit/defaults/main.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-emacsconf_edit_packages:
- - consult
- - embark
- - embark-consult
- - vertico
- - magit
- - modus-themes
diff --git a/roles/wiki-edit/tasks/main.yaml b/roles/wiki-edit/tasks/main.yaml
deleted file mode 100644
index f77535f..0000000
--- a/roles/wiki-edit/tasks/main.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
----
-- name: Set up Emacs configuration for interactive editing
- template:
- src: emacsconf-edit.el
- dest: "{{ emacs_config_dir }}/emacsconf-edit.el"
-- name: Check if Emacs base configuration already exists
- lineinfile:
- dest: "{{ emacs_config_dir }}/init.el"
- state: present
- regexp: "emacsconf-edit"
- line: "(load-file \"emacsconf-edit.el\")"
diff --git a/roles/wiki-edit/templates/emacsconf-edit.el b/roles/wiki-edit/templates/emacsconf-edit.el
deleted file mode 100644
index 2e360c7..0000000
--- a/roles/wiki-edit/templates/emacsconf-edit.el
+++ /dev/null
@@ -1,34 +0,0 @@
-;; {{ ansible_managed }}
-
-(let ((packages '({% for package in emacsconf_edit_packages %}{{ package }}{% endfor %})))
- (mapc (lambda (package) (unless (package-installed-p package) (package-install package))) packages))
-;; Configuration
-(vertico-mode)
-(show-paren-mode)
-(fset 'yes-or-no-p 'y-or-n-p)
-(global-set-key (kbd "C-x g") 'magit-status)
-(global-set-key (kbd "C-x b") 'consult-buffer)
-(global-set-key (kbd "M-g t") 'emacsconf-go-to-talk)
-(global-set-key (kbd "C-.") 'embark-act)
-(global-set-key (kbd "C-c .") 'embark-act)
-(global-set-key (kbd "C-;") 'embark-act)
-(modus-themes-load-vivendi)
-(org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (shell . t)))
-(setq backup-directory-alist '(("." . "~/.emacs.d/backups")))
-(find-file "{{ emacsconf_private_dir }}/conf.org")
-(split-window-horizontally)
-(magit-status "{{ emacsconf_edit_wiki_dir }}")
-(global-auto-revert-mode 1)
-(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
-(projectile-mode +1)
-(setq projectile-completion-system 'default)
-(setq projectile-enable-caching t)
-(setq projectile-indexing-method 'alien)
-(add-to-list 'projectile-globally-ignored-files "node_modules")
-(add-to-list 'projectile-globally-ignored-files ".cache")
-(add-to-list 'projectile-globally-ignored-files "_cache")
-
-(setq completion-styles '(orderless))
-(setq completion-category-defaults nil)
-(setq completion-category-overrides '((file (styles orderless))))
-(require 'ox-md)