Commit Graph

79 Commits

Author SHA1 Message Date
d977b1a88b
[Emacs] Add again eshell syntax highlight 2021-01-04 14:17:09 +01:00
fcc16e8f98
[Emacs] Fix org faces
Between Emacs 28.0.50.145785 and Emacs 28.0.50.146000, a commit broke my
face config, and inheriting from `fixed-pitch' no longer made my faces
fixed-pitched. This commit therefore sets directly the font of the faces
than need to be fixed-pitched instead of relying on the `fixed-pitch'
face.
2021-01-04 14:17:09 +01:00
734745a8e9
[Emacs] Add doc to two vars and a function, update emacs.org
Two of my variables declared at the beginning of my dotspacemacs are now
documented, as well as the function `phundrak/update-config-files-p'
2020-12-24 22:17:40 +01:00
09d9ba6446
[Emacs] Better org configuration, better handling of emacs startup
When Emacs starts up, it verifies twice the state of its .el and .elc
configuration files that come from emacs.org. If any of the .el file is
older than emacs.org, the latter is tangled again.
Then, if it detects any of the .elc file is older than its .el
counterpart, it will byte-compile the latter.
Tangling now happens within the launched Emacs instance and not in a
separate instance.

Nom all the orgmode configuration is done using noweb, and only one
block is tangled.
Some parts of the org configuration were reorganised to make the TOC
a bit lighter.
2020-12-24 12:51:28 +01:00
b1f2be0016
[Emacs] Remove w3m layer, compile configuration files when exported
The w3m layer is now removed as I did not use it at all.

The conlanging layer is moved to ~/fromGIT/emacs-packages and now a
symlink points to its new location. This is done in order to prevent
Emacs from compiling its .el files when recompiling its configuration
files.

Configuration files are now compiled when emacs.org is tangled by Emacs
itself or if the .el files are newer than the .elc files.

TODO: find a way to natively compile and load these files instead of
just byte-compile them if native compilation is available
2020-12-23 01:54:07 +01:00
4cfea387a3
[Emacs] Fix issue when automatically tangling Emacs config
Also simpler call to shell process
2020-12-21 18:19:58 +01:00
0bd5b42b79
[Emacs] dotspacemacs update 2020-12-19 17:23:51 +01:00
a2ef908528
[Emacs] Simpler path in dotspacemacs 2020-12-19 17:23:31 +01:00
af1ea985d8
[Emacs] dotspacemacs update 2020-12-06 11:31:30 +01:00
fe13ebd0cc
[Emacs] Update packages, add Eshell syntax highlight 2020-12-01 21:55:00 +01:00
078756c7d5
[Emacs] Better faces for org-mode 2020-11-19 11:27:43 +01:00
77883c75bd
[Emacs] Dotspacemacs update 2020-11-13 00:39:34 +01:00
49894ec6e2
[Emacs] Remove duplicate code in dotspacemacs 2020-11-06 14:48:36 +01:00
caba458431
[Emacs] Eshell prompt update
This commit removes the banner displayed on Eshell launch. I will
maybe do something with it one day similar to my fish_greeting
function for the fish shell.

The git prompt now also separates the current path in half if we are
in a git repository: the path up to the repository, the git prompt,
and then the relative path to the repo is are shown in that order.
To achieve that, `phundrak/is-dir-a-git-repo' has been modified to
return either the path to the git repo or `nil'.
2020-11-06 14:41:29 +01:00
0b5519e058
[Emacs] Add Swift layer with ob-swift, keybinding to woman
This commit adds to my configuration the Swift layer from Spacemacs, as
well as ob-swift for evaluating Swift code in org-mode –because
apparently it is not part of the layer itself.

The keybinding to `wttrin' is also modified to `SPC o a W', with its
original keybinding `SPC o a w' set to `helm-man-woman', a helm
interface to Emacs’ `woman'.
2020-10-29 16:55:19 +01:00
712fb54c2f
[Emacs] Forgot to rename my org file in my dotspacemacs 2020-10-01 18:22:32 +02:00
f0f07a6cc0
[Emacs] Unified my shortcuts for opening files
Since all my files that were opened with a `SPC o f' prefixed shortcut
all opened some org file located in precise directories, I unified
them all with a helm menu and only a couple of directories to specify
(I even added some).
2020-09-13 18:07:54 +02:00
5b4409725c
[Emacs] Remove unused code, reorganize file, add configuration
Removed the head variable for `org-confirm-babel-evaluate' since I set
it to `nil' anyway.

Add `:mkdir yes' to all `:tangle' header arguments so no issues arise
when trying to tangle.

Added three new packages:
- helm-icons for integrating all-the-icons in Helm
- org-tree-slide for orgmode powered presentations
- wrap-region for wrapping selections with other chars than
  parenthesis

Renamed variables in my custom Elisp functions so they stand out more
as user-defined variables.

Renamed `shortcuts' to `keybindings'

Added keybindings for `org-tree-slide'

Updated dotspacemacs file
2020-08-28 16:15:46 +02:00
342eba117c
[Emacs] Update Emacs configuration
New variables were introduced to the template dotspacemacs file. This
commit adds them in my spacemacs.org configuration file.

The dotspacemacs file was modified. This commit updates it.
2020-08-25 06:16:28 +02:00
b7d437507d
Updated Emacs packages, removed unused line 2020-07-11 18:21:15 +02:00
0243f490f6
better org files, updated installation packages 2020-05-17 15:04:07 +02:00
bc98d0acca
updated dotspacemacs 2020-04-29 17:49:56 +02:00
0f1c273b30
Updated dotspacemacs 2020-04-14 21:59:23 +02:00
6f5c59bdf4
Dotspacemcas update 2020-04-06 14:11:41 +02:00
e51b7e6e17
dotspacemacs auto updated 2020-03-25 13:12:08 +01:00
d91932bf0e
Replaced Gnus with Mu4e
Removed all Gnus configuration, replaced them with mu4e.
2020-02-25 12:33:38 +01:00
b115f6cd8c
Updated some paths, fixed some code style, added back some shortcuts
Updated some paths after the Emacs configuration directory was moved

Some variables in my dotspacemacs were renamed in order to follow the
Spacemacs coding style with a ~//~ used for marking private variables,
and I prefixed their name with ~dotspacemacs-~ in order to avoid any
collision with other packages or configuration I write.

Added back M-« and M-» in order to fix the M-< and M-> shortcuts issue
with the bépo layout.
2020-02-16 23:56:25 +01:00
3105c0aa72
Forgot to commit this, fixed path to spacemacs.org 2020-02-08 16:01:38 +01:00
2bd06d9558
moved spacemacs.org, forgot to modify this 2020-01-16 20:18:51 +01:00
edc7d3b970
Moved org files to single directory, Polybar config now in org file 2020-01-16 19:48:14 +01:00
3f06bb7740
even more of my dotspacemacs in spacemacs.org 2020-01-16 00:49:36 +01:00
21aa91b778
dotspacemacs/init is now also part of spacemacs.org 2020-01-15 19:04:55 +01:00
2ed9024d5c
Now all user config is in spacemacs.org file 2020-01-14 21:56:02 +01:00
ad3e0d7ced
Most of the user configuration of Spacemacs now in Org file
Most of the content of `dotspacemacs/user-init' and
`dotspacemacs/user-config' is now loaded from `~/spacemacs.org'.
Literary programming ftw.
2020-01-14 21:10:21 +01:00
fb55a58dfa
Added `helpful' layer, removed commented out require, fixed function
`helpful' is a layer that aims to provide better help buffers, and I
prefer it to Emacs’ default help mode.

I also removed the commented out `org-tempo' require as I don’t
actually need commented out code, especially this one.

I also fixed the function `terminal-here-launch' by specifying the
name of the external terminal to call.
2020-01-09 13:51:07 +01:00
75744ab341
updated layers, lots of LSP stuff
Removed the github layer as I don’t use it.

I also had to fix some variables for the dart layer, and add some
modes excluded from evil.

=major-modes= was added for PKGBUILD support, and notmutch layer was
removed, I’m staying on Gnus.

Shell now spawns at the bottom of the screen.

Some unused packages were removed, dired-du was added.

Added some requires and configuration for LSP and dap-mode.

Added custom function to write to buffer, used from eshell mainly.

Custom flutter-related shortcuts added for dart-mode.

Updated publishing path for langue.phundrak.com

Simplified and cleaned up some lines.
2019-12-28 22:17:22 +01:00
61e1815a69
Removed unused layer, fixed LaTeX exports, added Notmuch config
gpu layer and Dionysos configs were removed due to being unused. The
Notmuch layer was added so I can test this email client, and the LaTeX
options were reworked so PDF exports now do not produce errors and
Japanese characters are supported.
2019-12-05 13:43:17 +01:00
dc71280513
Fixed header and links in Readmes, updated dotspacemacs 2019-11-30 19:45:41 +01:00
5945d47227
Vanilla shortcuts in dired, fixed image integration in LaTeX from org-mode 2019-11-27 01:36:16 +01:00
68a53bb619
Removed some old fixes now useless, unused layers, made evil bépo-compatible 2019-11-23 18:01:52 +01:00
ccedf83ac9
Switched to LSP backend, added packages to install and configuration
In Emacs, I switched to the LSP backend for C/C++, CSS, Dart, HTML, Go,
Javascript and Python. I also removed a redundant line for web-beautify, and I
removed the plantuml layer since I don’t use it.

This lead to the installation of multiple packages, some of which were already
required but not explicitly installed by the bootstrap. I added the packages
existing in the Arch repos and the AUR, and some packages will get installed by
pip or by go’s package manager. I also set up the configuration of Chicken, and
more precisely, of its documentation.
2019-11-10 10:40:34 +01:00
6e15c5a232
Split dotspacemacs, edited editing style, removed unused packages
I removed my gnus configuration from my dotspacemacs file and put it into my
~/.gnus.el file.

I also added variables to my hybrid editing style for Spacemacs, and some
packages that were either redundant (e.g. explicit cmake-mode) or unused (e.g.
dionysos) were removed.
2019-11-09 18:42:15 +01:00
Phuntsok Drak-pa
810d210715
added Gitflow, added custom shortcuts, fixed gnus configuration
Added the Magit Gitflow package to Emacs.

Also added some custom shortcuts, such as `SPC o x t f` which is an alias to
`C-u M-q` or `M-1 M-q`. This is due to the change of editing style in Spacemacs,
I went from the Emacs editing style to the hybrid editing style —that is, in
normal mode, I am using evil-mode, and in insert mode, I am using Emacs’
keybinding.

This also lead me to add a couple of shortcuts for Gnus, which had a broken IMAP
configuration (wrong port).
2019-11-06 16:49:33 +01:00
Phuntsok Drak-pa
a2e31d8a7b
added pass layer 2019-11-03 12:44:22 +01:00
Phuntsok Drak-pa
f5c0bb387f
fixed email config, added php layer 2019-10-24 23:09:34 +02:00
Phuntsok Drak-pa
935e958679
added file shortcuts, updated email settings 2019-10-24 17:57:57 +02:00
Phuntsok Drak-pa
d710d25b62 for some reason, Emacs didn’t like replacing org with html 2019-10-21 10:47:01 +02:00
Phuntsok Drak-pa
28a5cc9080 added shortcut for editing my dotfish 2019-10-21 03:05:27 +02:00
Phuntsok Drak-pa
8d8bf4c814 whitespace 2019-10-21 01:26:32 +02:00
Phuntsok Drak-pa
f795dc9d0e added shortcuts for config files 2019-10-14 22:56:24 +02:00