Commit Graph

239 Commits

Author SHA1 Message Date
Lucien Cartier-Tilet d4f11b612d
[Org, Emacs] Do not add spaces in front of code in src blocks
By default, org-mode will add two spaces before code lines in the org
file itself. This does not change how code is edited when editing a
code block through `org-edit-special' but when copy/pasting code or
editing it directly from the org file, it can be troublesome.
Setting `org-src-preserve-indentation' to `t' prevents org from adding
these two spaces.
2021-10-12 12:19:46 +02:00
Lucien Cartier-Tilet c12164d9bb
[Emacs] Remove EXWM 2021-10-12 11:30:24 +02:00
Lucien Cartier-Tilet 5136217664
[Emacs] Add comments on docker-related packages 2021-10-12 11:30:00 +02:00
Lucien Cartier-Tilet 111651af13
[Emacs] Remove meaningless org src results 2021-10-12 11:28:05 +02:00
Lucien Cartier-Tilet 06ad777feb
[Emacs] Change project’s protocol from rsync to ssh
For some reason, I cannot properly publish some projects through the
rsync protocol, but there is no problem publishing through the ssh
protocol.
2021-10-12 11:26:30 +02:00
Lucien Cartier-Tilet fe718ed5b6
[Emacs] Cleaner code and headers for src blocks 2021-10-12 11:25:39 +02:00
Lucien Cartier-Tilet a6a4c4950f
[Emacs] Add graphviz/dot mode 2021-10-07 18:32:36 +02:00
Lucien Cartier-Tilet 4763c03d9f
[Emacs] Orgmode improvements
Better `org-macro' face to make it more visible.

For some reason, Emacs doesn’t like copying files over the `rsync'
protocol anymore, but the `ssh' protocol is fine ¯\_(ツ)_/¯

Loading org-mode will now also load org-ref by default.
2021-10-07 18:30:29 +02:00
Lucien Cartier-Tilet 9060067b59
[Emacs] Add $HOME to ignored projects in projectile
Projectile will now stop considering $HOME as a project. This is due
to my dotfiles and the way they are managed my dotfiles manager, yadm.
2021-09-18 15:50:07 +02:00
Lucien Cartier-Tilet d1dbae1915
[Emacs] Fix mu4e keybinds, handle screen width better, and stop spam
For some reason, some keybinds in mu4e weren’t getting undefined
anymore, this is now fixed.

Add automatic vertical split if the screen is considered wide
enough (120 characters for the headers mode and 80 characters for the
message view mode). If the screen or the headers mode window are not
wide enough, the window will split horizontally instead of vertically.

This commit also adds a function to quickly insert a response to
spammers to get them trapped in an infinite loop of emails. See the
new links in this commit.
2021-09-18 15:45:53 +02:00
Lucien Cartier-Tilet 3bc7860010
[Emacs] Some better keybinds
Add global keybind that opens my init.el file

Better org table keybinds
2021-09-01 22:10:11 +02:00
Lucien Cartier-Tilet 62479ff343
[Emacs] Add Dart and Python configuration 2021-09-01 22:10:11 +02:00
Lucien Cartier-Tilet d00901a40e
[Emacs] Add StumpWM mode
This mode allows evaluating common-lisp code for StumpWM
2021-08-02 14:27:50 +02:00
Lucien Cartier-Tilet b3383980f6
[Emacs] Add some default options for minted 2021-08-02 14:27:20 +02:00
Lucien Cartier-Tilet 54b0174781
[Emacs] Fix keybind with mouse-{2,3} 2021-08-01 19:03:20 +02:00
Lucien Cartier-Tilet ef6a0f4b89
[Emacs] Better filter for mu4e-alert, remove evil-surround 2021-07-30 19:11:30 +02:00
Lucien Cartier-Tilet 6781d8831f
[Emacs] Better org-mode config, add org-ref
Better exporters, better support of org-babel

Exporters added:
- ox-ssh
- ox-epub
- ox-gfm

Better HTML and LaTeX export

org live HTML preview

Add org-ref
2021-07-30 19:10:31 +02:00
Lucien Cartier-Tilet 34ae56fd24
[Emacs] Better Info-mode 2021-07-30 19:07:29 +02:00
Lucien Cartier-Tilet fc16384b1f
[Emacs] Add Eshell packages
Eshell autosuggest (fish-like)

Eshell implementation of z

Eshell syntax highlighting (fish-like)

WIP powerline-eshell theme
2021-07-30 19:06:25 +02:00
Lucien Cartier-Tilet ff624ab8da
[Emacs] Add packages, reorganize headings
Add LSP mode and LSP-related packages

Add CMake-related packages

Add C/C++ configuration

Add Common Lisp configuration

Remove smartparens-mode for EmacsLisp

Add Lua configuration

Add Rust configuration

Add Web programming config, including:
- Javascript
- web-mode
- Css
- Scss
2021-07-30 19:01:29 +02:00
Lucien Cartier-Tilet de3f34e988
[Emacs] Undefine `mouse-2' and `mouse-3' 2021-07-30 18:52:29 +02:00
Lucien Cartier-Tilet b31d203334
[Emacs] Add new packages
- org-tree-slide    : presentation mode for org-mode
- git-gutter-fringe : show edited zones in files since last commit
- archwki           : navigate local archwiki pages with Emacs
- keycast           : show which keys are pressed
- sicp              : read the sicp in Emacs
- ytplay            : read YouTube videos from Emacs in mpv
- toml-mode
- better info-colors
2021-07-30 18:50:10 +02:00
Lucien Cartier-Tilet f83e2d5808
[Emacs] Keep modeline with writeroom-mode 2021-07-30 18:47:29 +02:00
Lucien Cartier-Tilet f88ee5535d
[Emacs] Add Magit-Gitflow, Ripgrep interface, Smartparens 2021-07-30 18:46:04 +02:00
Lucien Cartier-Tilet 380258c819
[Emacs] Reorganize some headings, add insert-pair bindings 2021-07-30 18:44:15 +02:00
Lucien Cartier-Tilet 00c00f42ef
[Emacs] Better config for PDF reader
Improved keybinds, freed the use of local leader `,'
2021-07-30 18:26:07 +02:00
Lucien Cartier-Tilet 8604abc87d
[Emacs] Better mu4e, nov-mode config
Better formatting for `eshell-info-banner' bookmark

Unbind some keys for some keymaps

Better face for replied to emails

Remove useless `progn'

Go from `:general' to `general-define-key'. For some reason, the
former seems to not perform correctly.
2021-07-30 18:23:36 +02:00
Lucien Cartier-Tilet 59362050d1
[Emacs] Fix keybinds in window resizing hydra 2021-07-30 18:15:56 +02:00
Lucien Cartier-Tilet f04293d664
[Emacs] Better keybind generation with noweb 2021-07-30 18:03:30 +02:00
Lucien Cartier-Tilet 124644ff3c
[Org Files] Remove unneeded header, add .dir-locals.el
`.dir-locals.el' file will automatically activate writeroom-mode for
all org files and set `org-confirm-babel-evaluate' to nil.
2021-07-30 17:56:43 +02:00
Lucien Cartier-Tilet e11c2701fb
More readable Elisp code 2021-07-12 12:52:40 +02:00
Lucien Cartier-Tilet c73931526e
[Emacs] Add helpful keybinds 2021-06-22 16:45:13 +02:00
Lucien Cartier-Tilet 18684bbb2b
[Emacs] Remove unused text 2021-06-22 16:32:14 +02:00
Lucien Cartier-Tilet 3a13382c54
[Emacs] Move Magit keybinds to package configuration 2021-06-22 16:31:41 +02:00
Lucien Cartier-Tilet 605fb06ab2
[Emacs] Add doc for Nov, better keybinds and config
Text width should now be more compatible with writeroom-mode
2021-06-22 16:30:35 +02:00
Lucien Cartier-Tilet 77379a14c5
[Emacs] Better hydras, add hydra for managing windows 2021-06-18 18:01:41 +02:00
Lucien Cartier-Tilet 44a78c0ec9
[Emacs] Move project management header 2021-06-18 11:11:48 +02:00
Lucien Cartier-Tilet 7f44483099
[Emacs] Remove unnecessary code 2021-06-18 10:27:17 +02:00
Lucien Cartier-Tilet f1173f76e8
[Emacs] Beter doc, better writeroom config 2021-06-18 10:26:28 +02:00
Lucien Cartier-Tilet 45c7e1c4eb
[Emacs] Whitespace 2021-06-18 10:26:11 +02:00
Lucien Cartier-Tilet d852bf8fda
[Emacs] Add org export backends for SSH config, Epub and Markdown 2021-06-16 15:05:17 +02:00
Lucien Cartier-Tilet f88e771e80
[Emacs] Prettify org-mode 2021-06-16 14:37:16 +02:00
Lucien Cartier-Tilet ab4fcdf169
[Emacs] Change default writeroom width 2021-06-16 14:37:16 +02:00
Lucien Cartier-Tilet ce75641a10
[Emacs] Switch to built-in org-mode
Also add keybinding for reloading org-mode if needed
2021-06-16 14:36:48 +02:00
Lucien Cartier-Tilet 93ba4d692a
[Emacs] EXWM loads only with argument `--with-exwm` passed to Emacs 2021-06-16 14:35:59 +02:00
Lucien Cartier-Tilet bf615d4e81
[Emacs, org file] Add custom IDs to headers 2021-06-16 14:35:59 +02:00
Lucien Cartier-Tilet 43b902a1fe
[Emacs] Add package for unique IDs for org headers 2021-06-16 14:35:58 +02:00
Lucien Cartier-Tilet 6901ee23f6
[Emacs] Apparently straight doesn’t like building avy 2021-06-16 14:35:58 +02:00
Lucien Cartier-Tilet 4e7f4db4f0
[Emacs] Better noweb formatting 2021-06-14 16:08:07 +02:00
Lucien Cartier-Tilet bd10041fb8
[Emacs] Better options for dired 2021-06-14 16:04:45 +02:00