Commit Graph

372 Commits

Author SHA1 Message Date
d1c1493945
[Emacs] Better media control keybinds and `shell-command-and-echo'
`shell-command-and-echo' now takes an additional argument that will
prefix the output of its ECHO argument.
Also add documentation for the function

This commit removes keybind `SPC m P' in favor of only `SPC m p' which
toggles the state of MPD between play and pause.
2021-10-29 17:03:33 +02:00
8907e55bc4
[Emacs] Add help bindings 2021-10-25 18:34:18 +02:00
b95ed6af54
[Emacs] Remove unused commented out code 2021-10-25 18:32:23 +02:00
05d05719d9
[Emacs] Add Atomic Chrome package 2021-10-25 17:00:16 +02:00
e65653dbe0
[Emacs] Fix issue with markdown-mode configuration
Double configuration for markdown-mode
2021-10-25 16:59:07 +02:00
7e8a6866e3
[Emacs] Fix default bound comma and space keys in Info-mode 2021-10-25 16:58:19 +02:00
248100e013
[Emacs] Fix issue with unknown function and swapped icons 2021-10-25 16:56:58 +02:00
f94adbfc35
[Emacs] Add Markdown configuration 2021-10-23 13:24:04 +02:00
13e9e9d3b6
[Emacs] Better code for switching to messages buffer 2021-10-22 12:14:30 +02:00
8d247d4733
[Emacs] Add hydra for controlling MPD from Emacs 2021-10-22 12:14:30 +02:00
ab3ec171e5
[Emacs] Add mu4e.desktop to Emacs’ org file 2021-10-20 19:08:42 +02:00
a155947b5e
[Emacs] Add org-present configuration 2021-10-20 16:23:09 +02:00
94ecdab2fd
[Emacs] Better keybinds for Elfeed 2021-10-20 16:22:51 +02:00
3134667967
[Emacs] Add startup time and uptime logging for Emacs 2021-10-20 16:03:31 +02:00
87b0343990
[Emacs] Add EMMS config 2021-10-20 14:00:01 +02:00
7dab702f48
[Emacs] Add font ligatures config, move modeline config down 2021-10-20 13:59:26 +02:00
b5bc6f2f02
[Emacs] Update config and comments for Elfeed and pdf-tools 2021-10-20 13:58:56 +02:00
911e8f48ce
[Emacs] Fix some issues with package building with straight 2021-10-19 21:42:28 +02:00
3a7a865058
[Emacs] Add variable configuration in corresponding `use-package' 2021-10-19 21:41:47 +02:00
e30ca77fbe
[Emacs] Cleaner init file export, fix some elisp code
However, I currently have the issue of the packages `org' having two
straight recipies and I cannot find the dependency that’s causing
this.
2021-10-19 19:20:15 +02:00
644f96305b
[Emacs] Add iedit 2021-10-18 17:50:58 +02:00
9e88499af6
[Emacs] Add consult-lsp to configuration 2021-10-18 17:50:58 +02:00
e90accda8a
[Emacs] Switch to git version of org-mode 2021-10-18 17:50:58 +02:00
656f480790
[Emacs] Add eww configuration 2021-10-18 17:50:58 +02:00
6e1831b836
[Emacs] Better Elfeed configuration 2021-10-18 17:50:58 +02:00
a0de3ae72d
[Emacs] Better keybinds 2021-10-18 17:29:15 +02:00
355e3ef249
[Emacs] Add compilation-mode config 2021-10-18 16:28:09 +02:00
f46c0c709b
[Emacs] Remove useless code bits 2021-10-18 16:27:50 +02:00
a3d73d02b6
[Emacs] Add Elfeed packages 2021-10-14 20:08:53 +02:00
865e55f2da
[Emacs] Fix case on dashboard, complete package update button 2021-10-12 19:38:19 +02:00
35b0d321c0
[Emacs] Config update for org-ref 3 2021-10-12 19:37:52 +02:00
045dffdb37
[Emacs] Better bookmarks code, remove redundant keybinds 2021-10-12 17:01:34 +02:00
d6267d0330
[Emacs] Add and modify bookmarks in mu4e, better filters
Filters for the inbox and other bookmarks will now work better.

A new bookmark for my association, Supran, is now added.

The `eshell-info-banner' bookmark is now replaced by the `Github'
bookmark which will be the place where I can see all emails sent by
Github related to new comments or actions on issues and PRs.
2021-10-12 15:46:16 +02:00
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
c12164d9bb
[Emacs] Remove EXWM 2021-10-12 11:30:24 +02:00
5136217664
[Emacs] Add comments on docker-related packages 2021-10-12 11:30:00 +02:00
111651af13
[Emacs] Remove meaningless org src results 2021-10-12 11:28:05 +02:00
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
fe718ed5b6
[Emacs] Cleaner code and headers for src blocks 2021-10-12 11:25:39 +02:00
a6a4c4950f
[Emacs] Add graphviz/dot mode 2021-10-07 18:32:36 +02:00
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
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
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
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
62479ff343
[Emacs] Add Dart and Python configuration 2021-09-01 22:10:11 +02:00
d00901a40e
[Emacs] Add StumpWM mode
This mode allows evaluating common-lisp code for StumpWM
2021-08-02 14:27:50 +02:00
b3383980f6
[Emacs] Add some default options for minted 2021-08-02 14:27:20 +02:00
54b0174781
[Emacs] Fix keybind with mouse-{2,3} 2021-08-01 19:03:20 +02:00
ef6a0f4b89
[Emacs] Better filter for mu4e-alert, remove evil-surround 2021-07-30 19:11:30 +02:00
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
34ae56fd24
[Emacs] Better Info-mode 2021-07-30 19:07:29 +02:00
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
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
de3f34e988
[Emacs] Undefine mouse-2' and mouse-3' 2021-07-30 18:52:29 +02:00
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
f83e2d5808
[Emacs] Keep modeline with writeroom-mode 2021-07-30 18:47:29 +02:00
f88ee5535d
[Emacs] Add Magit-Gitflow, Ripgrep interface, Smartparens 2021-07-30 18:46:04 +02:00
380258c819
[Emacs] Reorganize some headings, add insert-pair bindings 2021-07-30 18:44:15 +02:00
00c00f42ef
[Emacs] Better config for PDF reader
Improved keybinds, freed the use of local leader `,'
2021-07-30 18:26:07 +02:00
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
59362050d1
[Emacs] Fix keybinds in window resizing hydra 2021-07-30 18:15:56 +02:00
f04293d664
[Emacs] Better keybind generation with noweb 2021-07-30 18:03:30 +02:00
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
e11c2701fb
More readable Elisp code 2021-07-12 12:52:40 +02:00
c73931526e
[Emacs] Add helpful keybinds 2021-06-22 16:45:13 +02:00
18684bbb2b
[Emacs] Remove unused text 2021-06-22 16:32:14 +02:00
3a13382c54
[Emacs] Move Magit keybinds to package configuration 2021-06-22 16:31:41 +02:00
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
77379a14c5
[Emacs] Better hydras, add hydra for managing windows 2021-06-18 18:01:41 +02:00
44a78c0ec9
[Emacs] Move project management header 2021-06-18 11:11:48 +02:00
7f44483099
[Emacs] Remove unnecessary code 2021-06-18 10:27:17 +02:00
f1173f76e8
[Emacs] Beter doc, better writeroom config 2021-06-18 10:26:28 +02:00
45c7e1c4eb
[Emacs] Whitespace 2021-06-18 10:26:11 +02:00
d852bf8fda
[Emacs] Add org export backends for SSH config, Epub and Markdown 2021-06-16 15:05:17 +02:00
f88e771e80
[Emacs] Prettify org-mode 2021-06-16 14:37:16 +02:00
ab4fcdf169
[Emacs] Change default writeroom width 2021-06-16 14:37:16 +02:00
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
93ba4d692a
[Emacs] EXWM loads only with argument --with-exwm passed to Emacs 2021-06-16 14:35:59 +02:00
bf615d4e81
[Emacs, org file] Add custom IDs to headers 2021-06-16 14:35:59 +02:00
43b902a1fe
[Emacs] Add package for unique IDs for org headers 2021-06-16 14:35:58 +02:00
6901ee23f6
[Emacs] Apparently straight doesn’t like building avy 2021-06-16 14:35:58 +02:00
4e7f4db4f0
[Emacs] Better noweb formatting 2021-06-14 16:08:07 +02:00
bd10041fb8
[Emacs] Better options for dired 2021-06-14 16:04:45 +02:00
1ff1cb34f4
[Emacs] Org keybindings now defined with tables, add documentation 2021-06-14 16:04:09 +02:00
5701aae9a9
[Emacs] Fix elisp code blocks headers, fix elisp generating code 2021-06-14 14:39:20 +02:00
44031ae713
[Emacs] Auto-revert buffers, better formatting and documentation
Reformat some Elisp code

Activate auto-revert-mode so buffers are reloaded on external file
change

gnus-dired-mode activated by default in dired

Remove `C-x m' keybining for mu4e-compose-new
2021-06-14 14:37:30 +02:00
f1f0dd2d8e
[Emacs] Add EPUB reader 2021-06-11 18:34:08 +02:00
430d96679c
[Emacs] Better shortcuts for the webkit browser 2021-06-11 18:33:47 +02:00
dc70babfc3
[Emacs] mu4e-alert documentation and better config 2021-06-11 18:33:19 +02:00
ac01ba4eaf
[Emacs] Mu4e documentation, litterate programming ftw 2021-06-11 16:28:25 +02:00
217819d4bb
[Emacs] Remove eldoc-box, it’s annoying 2021-06-09 17:42:45 +02:00
3b95999636
[Emacs] Use fish in vterm 2021-06-09 17:42:45 +02:00
753cbe878a
[Emacs] Better code for evil configuration, better EDITOR variable 2021-06-09 17:42:45 +02:00
853b6a7c9f
[Emacs] Mostly whitespace, some new keybindings
Also make which-key wait more before showing keybindings
2021-06-09 17:42:12 +02:00
30ddb3067c
[Emacs] Add doc, config, reorganize code, update org-mode sources
There no longer is a big code block at the beginning of the basic
configuration paragraph. It is now all documented.

Dired is also much more customized, with its configuration fully
documented.

Parinfer and Evil-surround were also added to the list

Custom PATH was removed since it caused some serious issues with Emacs
not finding required binaries. It seems this was only needed at a
certain point in my Spacemacs config, and it is no longer needed in
either Spacemacs nor my current config.

Some preliminary work with EXWM has been done, though I am still not
sure if I’ll ever use it as my main WM (I’m currently also taking a
look at StumpWM).

Bufler was added to my packages for managing my buffers.

Org-mode moved `org-plus-contrib' out of the main repo, and it is now
a separate package, `org-contrib'. I now also follow the git version
of org-mode (it is no longer managed by my system’s package manager).
2021-06-09 17:42:11 +02:00
4234be1849
[Emacs] Add org and elisp packages, add documentation
Add documentation for eldoc, elisp keybindings

Add package eldoc-box for childframe elisp documentation

Add org-sticky-header package
2021-05-24 02:18:14 +02:00
b5d04427a5
[Emacs] Add documentation, set new ivy value 2021-05-24 01:51:34 +02:00
0aa8ad8572
[Emacs] whitespace 2021-05-24 01:51:03 +02:00
30bf89a0ab
[Emacs] Add new org and magit packages, new keybindinigs
Add toc-org, magit-todos, and bufler, replace buffer-listing functions
with functinos from bufler
2021-05-24 01:25:37 +02:00
98b995f985
[Emacs] Reorganize packages, add some
Add shell-pop package, TRAMP method for Yadm, some DSL languages, and
define more keybindings
2021-05-24 01:18:51 +02:00
31845a0d69
[Emacs] Avoid issues when I’m testing my config on other OSes 2021-05-24 01:16:48 +02:00
4027662d88
[Emacs] Better keybinding management 2021-05-22 01:52:15 +02:00
f1aa8f4dc2
[Emacs] Add package for shell pop-up, and org inline LaTeX 2021-05-22 01:51:45 +02:00
8d798ea8ad
[Emacs] Simplify recipe for `org-contrib' 2021-05-22 01:51:18 +02:00
7cf1fd9d0f
[Emacs] Enable automatically prettify-symbols-mode for Elisp 2021-05-22 01:50:52 +02:00
1147c993ee
[Emacs, AUR] Update and add Emacs PKGBUILD, upgrade org-mode
This commit rebases my Emacs PKGBUILD on the one used by
`emacs-git'. By default, my compiler will now use the gold linker,
native-compilation, and ahead of time elisp native compilation. It
stills include PDF documentation and xwidgets browser, but removes the
HTML docs.

Recently, the `contrib/' directory of org moved to a different
repository. This broke the previous `emacs-org-mode-git' package. This
commit adds a new PKGBUILD for `emacs-org-mode-git' and adds a
configuration snippet for `org-contrib' in my vanilla Emacs
configuration.
2021-05-21 20:37:01 +02:00
f2502b016a
[Emacs] Remove evil-magit
evil-magit is deprecated and should be removed
2021-05-21 14:41:05 +02:00
a040bfceb7
[org] Whitespace
Tabs to spaces, and tables realigned
2021-05-21 14:41:05 +02:00
6d3220e78c
[org] Update custom variables in org file 2021-05-21 14:40:50 +02:00
435adfbb46
Add vanilla Emacs configuration file
This commit stops tracking my init.el and early-init.el files and
instead begins tracking my literate org config file for vanilla Emacs.
2021-05-21 13:59:48 +02:00
d46c79add3
[Spacemacs, Bootstrap] Rename files
Rename `installation.org' to `bootstrap.org' since it better describes
what it is for.

Rename `emacs.org' to `spacemacs.org', preparing for the new
`emacs.org' dedicated to my vanilla config.
2021-04-29 09:24:47 +02:00
3698c96a6f
[Spacemacs] Remove commented out code 2021-04-26 16:50:23 +02:00
a2db890524
[Spacemacs] Switch from ido to ivy 2021-04-21 22:53:45 +02:00
6572861960
[Spacemacs] Modify editing style 2021-04-21 22:53:45 +02:00
0510eaa0f5
[Emacs] Switching to Chemacs2, added vanilla and Doom
Chemacs2 is a utility for Emacs to switch between various profiles and
configurations of Emacs without a hassle.

It thus helps me run my fully configured Spacemacss alongside my new
attempt at configuring some vanilla Emacs after years of using
Spacemacs.
I also added Doom-Emacs for reference.
2021-04-21 22:52:58 +02:00
023c847a81
[Emacs] Add TODO for Eshell banner 2021-04-17 13:00:29 +02:00
0b2ba3eaa0
[Emacs] Automatic, Nord-themed dark mode for PDFs 2021-04-17 12:56:44 +02:00
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
98720ace22
[Emacs] Add ignored directories and files to recentf 2021-04-17 12:56:23 +02:00
8c640f4118
[Emacs] Add TODO to Eshell banner 2021-04-17 12:56:23 +02:00
a7d14158dc
[Emacs] Whitespace, move header up 2021-04-17 12:56:23 +02:00
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
43bb79e708
[Emacs] Better settings for EXWM 2021-04-11 16:09:18 +02:00
7f05c46ebc
[Emacs] Remove unused layers 2021-04-11 16:09:18 +02:00
65e5eb022a
[Emacs] Fix some broken settings for Emacs after Spacemacs update 2021-04-11 16:09:14 +02:00
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
5819f1a6e8
[Emacs] Beginning to use EXWM
This commit also swaps two headers
2021-04-06 09:46:24 +02:00
a21fae33c8
[Emacs] Move `require's to user-load Spacemacs function 2021-04-06 09:44:46 +02:00
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
bc67344ba6
[Emacs] Add restclient to the list of languages usable from org 2021-04-02 19:36:01 +02:00
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
be07d87e06
[Emacs] Hide code-generating code 2021-04-02 19:32:01 +02:00
5c1041241f
[Emacs] Fix order of appearance of elements in org code example 2021-04-01 23:15:15 +02:00
c8dea557eb
[Emacs] Add and reorganize ignored paths by recentf-mode 2021-04-01 23:15:15 +02:00
00d847bf09
[Emacs] Enable flycheck by default for emacs-lisp buffers 2021-04-01 23:15:15 +02:00
386cade963
[Emacs] Reorganize some headers, add phundrak/zip() 2021-04-01 23:15:15 +02:00
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
902b6d3f67
[Emacs] Reorganize custom functions and variables, update docstrings
Function terminal-here-default-terminal-command removed
2021-03-26 14:27:30 +01:00
562657cc19
[Emacs] Remove function phundrak/add-all-to-list 2021-03-26 14:10:43 +01:00
5088871487
[Emacs] Remove unused column 2021-03-26 13:51:02 +01:00
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
8995aeb881
[Emacs] Formatting 2021-03-26 13:50:10 +01:00
841f6b7f85
[Emacs] Give mu4e the ability to export mails to PDF again! 2021-03-26 13:49:22 +01:00
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
ffacd7d71a
[Emacs] Ignore some recent files 2021-03-26 13:47:19 +01:00
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
43b8263702
[Emacs] Add two new custom functions 2021-03-26 13:45:47 +01:00
3909031ae2
[Emacs] Add Scala layer, revert relative lines settings 2021-03-26 13:45:11 +01:00
774f69589a
[Emacs] org-appear now on MELPA 2021-03-26 13:41:11 +01:00
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