Commit Graph

156 Commits

Author SHA1 Message Date
Lucien Cartier-Tilet 0b2ba3eaa0
[Emacs] Automatic, Nord-themed dark mode for PDFs 2021-04-17 12:56:44 +02:00
Lucien Cartier-Tilet e6ea1aecbb
[Emacs] Better shortcut for terminals, remove reduntant ones
Shortcut `SPC o '' now launches `eshell-new' instead of just plain
`eshell', a new shortcut invokes `vterm', and the shortcut for
`helm-man-woman' is removed in favor of the default one in Spacemacs
2021-04-17 12:56:37 +02:00
Lucien Cartier-Tilet 98720ace22
[Emacs] Add ignored directories and files to recentf 2021-04-17 12:56:23 +02:00
Lucien Cartier-Tilet 8c640f4118
[Emacs] Add TODO to Eshell banner 2021-04-17 12:56:23 +02:00
Lucien Cartier-Tilet a7d14158dc
[Emacs] Whitespace, move header up 2021-04-17 12:56:23 +02:00
Lucien Cartier-Tilet 8eaa12e619
[Emacs] Apparently this is buggy
EXWM does not work properly if this is used, instead of different
workspaces EXWM will create various frames on top of each other.
2021-04-17 12:56:17 +02:00
Lucien Cartier-Tilet 43bb79e708
[Emacs] Better settings for EXWM 2021-04-11 16:09:18 +02:00
Lucien Cartier-Tilet 7f05c46ebc
[Emacs] Remove unused layers 2021-04-11 16:09:18 +02:00
Lucien Cartier-Tilet 65e5eb022a
[Emacs] Fix some broken settings for Emacs after Spacemacs update 2021-04-11 16:09:14 +02:00
Lucien Cartier-Tilet a1b234fa43
[Emacs] Fix issue with path in Eshell prompt
This commit fixes an issue with the macro `phundrak-var-or-if-nil' by
removing it entirely. For some reason, it was broken in a previous
commit, and the path did not show up in the prompt unless in a git
repository.

Now, `phundrak-var-or-if-nil' is removed entirely.
2021-04-06 10:35:58 +02:00
Lucien Cartier-Tilet 5819f1a6e8
[Emacs] Beginning to use EXWM
This commit also swaps two headers
2021-04-06 09:46:24 +02:00
Lucien Cartier-Tilet a21fae33c8
[Emacs] Move `require's to user-load Spacemacs function 2021-04-06 09:44:46 +02:00
Lucien Cartier-Tilet 3689587800
[Emacs] Config now correctly tangles without errors
Previously, some code relied on dash.el to generate some code when
tangling my Emacs config, but if Emacs was to be launched without an
up to date tangled configuration, it would attempt to automatically
tangle it. However, due to dash.el not being loaded, it could not find
some of the required functions.

This commit replaces these functions with handmade functions that can
be loaded at tangle-time, and tangling always works.
2021-04-06 09:40:36 +02:00
Lucien Cartier-Tilet bc67344ba6
[Emacs] Add restclient to the list of languages usable from org 2021-04-02 19:36:01 +02:00
Lucien Cartier-Tilet 3a72387e3e
[Emacs] Changing naming convention of custom functions and variables
Forward slashes in my persoranl variables and functions have been
replaced by dashes.
2021-04-02 19:36:01 +02:00
Lucien Cartier-Tilet be07d87e06
[Emacs] Hide code-generating code 2021-04-02 19:32:01 +02:00
Lucien Cartier-Tilet 5c1041241f
[Emacs] Fix order of appearance of elements in org code example 2021-04-01 23:15:15 +02:00
Lucien Cartier-Tilet c8dea557eb
[Emacs] Add and reorganize ignored paths by recentf-mode 2021-04-01 23:15:15 +02:00
Lucien Cartier-Tilet 00d847bf09
[Emacs] Enable flycheck by default for emacs-lisp buffers 2021-04-01 23:15:15 +02:00
Lucien Cartier-Tilet 386cade963
[Emacs] Reorganize some headers, add phundrak/zip() 2021-04-01 23:15:15 +02:00
Lucien Cartier-Tilet c6329ba8d8
[Emacs] Better settings for `lsp' layer, switch LSP server for Rust
`lsp-ui' and `lsp-lens' now enabled by default

Rust will now use as its LSP server rust-analyser rather than rls.
2021-04-01 23:15:15 +02:00
Lucien Cartier-Tilet 902b6d3f67
[Emacs] Reorganize custom functions and variables, update docstrings
Function terminal-here-default-terminal-command removed
2021-03-26 14:27:30 +01:00
Lucien Cartier-Tilet 562657cc19
[Emacs] Remove function phundrak/add-all-to-list 2021-03-26 14:10:43 +01:00
Lucien Cartier-Tilet 5088871487
[Emacs] Remove unused column 2021-03-26 13:51:02 +01:00
Lucien Cartier-Tilet 126f265281
[Emacs] Remove indent-guide-mode
It slows Emacs too much and isn’t all that useful actually
2021-03-26 13:50:25 +01:00
Lucien Cartier-Tilet 8995aeb881
[Emacs] Formatting 2021-03-26 13:50:10 +01:00
Lucien Cartier-Tilet 841f6b7f85
[Emacs] Give mu4e the ability to export mails to PDF again! 2021-03-26 13:49:22 +01:00
Lucien Cartier-Tilet 4f7927a5f7
[Emacs] New keybindings for image-mode, change eshell keybinding
The eshell keybinding changes from SPC o a ' to SPC o '

It is now possible to open an image from image-mode in GIMP directly
as well as rotate it.
2021-03-26 13:47:53 +01:00
Lucien Cartier-Tilet ffacd7d71a
[Emacs] Ignore some recent files 2021-03-26 13:47:19 +01:00
Lucien Cartier-Tilet d4aaecab9b
[Emacs] Better org-mode visuals
Now inline source blocks should be fontified

We should also have better LaTeX handling as well as markers
2021-03-26 13:46:17 +01:00
Lucien Cartier-Tilet 43b8263702
[Emacs] Add two new custom functions 2021-03-26 13:45:47 +01:00
Lucien Cartier-Tilet 3909031ae2
[Emacs] Add Scala layer, revert relative lines settings 2021-03-26 13:45:11 +01:00
Lucien Cartier-Tilet 774f69589a
[Emacs] org-appear now on MELPA 2021-03-26 13:41:11 +01:00
Lucien Cartier-Tilet fe5535b590
[Emacs] Change some mu4e settings, change org font
Mu4e:
- Set a better date format for mu4e than the American format
- Remove mu4e relying on w3m

Org:
- change the size of fixed font
- change variable-pitch font
2021-03-10 13:05:21 +01:00
Lucien Cartier-Tilet ce00baf6f6
[Emacs] Foud the culprit of Emacs not starting as a daemon
For some reason, roam support prevents Emacs to start as a daemon, so
I’ll remove it for now.
2021-03-10 13:03:31 +01:00
Lucien Cartier-Tilet ab051c8b35
[Emacs] Add email view with Xwidget webkit browser 2021-02-10 21:00:56 +01:00
Lucien Cartier-Tilet fcd76a9bbe
[Emacs] Change font used in org-mode 2021-02-09 16:54:30 +01:00
Lucien Cartier-Tilet 95a16788e7
[Emacs] Add function `phundrak/file-to-string', remove shell command
Add function `phundrak/file-to-string' which reads the content of a
file to a string.

Eshell banner makes one less shell command and makes it a bit more
distro-agnostic, although still very Linux-centered.
2021-02-04 14:44:07 +01:00
Lucien Cartier-Tilet 527380e5ff
[Org, meta] Change formatting of org files 2021-02-04 14:43:09 +01:00
Lucien Cartier-Tilet f3d5b229bd
[Emacs] Remove magit-gitflow, add ox-ssh and org-appear
TODO: Shortcuts should be added to ox-ssh as they do not appear in
org-export-dispatch

TODO: Fix org-appear, it has currently no effect
2021-02-04 09:21:24 +01:00
Lucien Cartier-Tilet 2538786be8
[Emacs] Replace Swift layer with Java layer 2021-02-04 09:20:52 +01:00
Lucien Cartier-Tilet 9062092b1d
[Fish, Emacs, Bootstrap] Replace yay with paru 2021-02-04 09:17:32 +01:00
Lucien Cartier-Tilet 10978904f8
[Emacs] Update maildirs in mu4e bookmarks, sign emails
Turns out isync didn’t sync my /Junk directory in which were a lot of
emails I would have liked to read. Now bookmarks referring to /Inbox
also display content from /Junk

Also, emails are automatically signed with PGP/MIME now.
2021-01-27 16:37:35 +01:00
Lucien Cartier-Tilet 026b005cd0
[Emacs] Better faces for diff-mode 2021-01-21 14:36:16 +01:00
Lucien Cartier-Tilet eff1d942a8
[Emacs] Update paths for `phundrak/find-org-files' 2021-01-21 14:35:57 +01:00
Lucien Cartier-Tilet 2c3f43dbbf
[Emacs] Remove unused shortcut and function 2021-01-21 14:35:48 +01:00
Lucien Cartier-Tilet b191f32bca
[Emacs] Add ob-latex-as-png package and setup 2021-01-18 01:42:09 +01:00
Lucien Cartier-Tilet a1d29e6bd7
[Emacs] Fix fixed-pitch faces, add svg of org-mode screenshot 2021-01-13 17:13:45 +01:00
Lucien Cartier-Tilet 3c5cec5df7
[Emacs] Fix fixed-pitch faces 2021-01-10 15:37:06 +01:00
Lucien Cartier-Tilet a7db109206
[Emacs] Fix org-block background color, fix mu4e face
org-block background color was too light and had too little contrast
with the selection face. Similarly, `mu4e-highlight-face' was empty.
This commit fixes that by giving org-block a darker background and
`mu4e-highlight-face' a background and foreground color.
2021-01-09 14:36:19 +01:00