Commit graph

20 commits

Author SHA1 Message Date
Vincent Ambo
5b5f051b13 refactor: Reutilise multi-term commands for Alacritty buffers
In practice I never use multi-term, but it's nice to have the same
buffer selection functionality for Alacritty buffers.
2019-02-10 21:43:54 +01:00
Vincent Ambo
ee143eaf14 fix: Run GHCi-workaround /after/ switching to REPL buffer
This simply changes the advice position. This way around makes more
sense in case that the REPL is just being started up.
2019-02-10 21:43:54 +01:00
Vincent Ambo
bab9f15a33 fix: Add temporary workaround for Intero + GHC 8.4 bug
Adds a workaround for commercialhaskell/intero#569 by adding a
function that disables the offending GHCi flag in the Intero REPL, and
advising the `intero-repl` and `intero-repl-load` commands to always
execute it.

I did not manage to locate a common entrypoint to the REPL, but it's
probably not worth spending more time on as this will be fixed
properly in a future GHC release.
2019-02-10 21:43:54 +01:00
Vincent Ambo
e0a8a6f35f feat(functions): Add function to start inferior Erlang via Nix 2019-02-10 21:43:54 +01:00
Vincent Ambo
f0dfc8b06d feat(functions): Add ivy-browse-repositories function
Quick helper to switch between all relevant projects.
2018-06-18 16:39:57 +02:00
Vincent Ambo
ecf68e357c feat(functions): Add predicate function to determine last window
Adds a function that can be used to check whether the current buffer
is displayed in the "last" window of the active frame.

The intention is to use this predicate to modify the modeline display
to only show miscellaneous information (time, battery percentage etc.)
on the last window instead of duplicating it.
2018-06-15 00:02:04 +02:00
Vincent Ambo
d146f1089b feat(functions): Add M-x nixos-man
Opens the configuration.nix man page
2018-06-08 15:14:09 +02:00
Vincent Ambo
0806463a00 fix(mail): Add hack to "warm up" GPG agent before sending mail
This is required in order to let password lookups work correctly when
shelling out to password-store from MSMTP, as it won't be calling
pinentry correctly otherwise.
2018-06-06 10:22:06 +02:00
Vincent Ambo
66e86d2546 feat(functions): Add custom ivy-password-store function
The default `ivy-pass` function shells out to `pass` in such a way
that using pinentry with emacs doesn't work, causing EXWM to freeze
until `C-g` is hit, after which the password entry buffer pops up.

That was very inconvenient - however, the new auth-source integration
with pass works correctly and this commit introduces a new function
and bindings for using the same functionality as before but doing the
actual password-reading via auth-source.
2018-06-06 09:46:01 +02:00
Vincent Ambo
91dac5f692 refactor(functions): Use display-line-numbers instead of linum 2018-06-01 17:07:46 +02:00
Vincent Ambo
456f692b88 feat(functions): Add ivy-run-external-command
Adds an ivy-based function akin to Helm's helm-run-external-command,
but without all the things I don't need/want.
2018-05-01 16:02:53 +02:00
Vincent Ambo
f93f03661b feat(functions): Add function to toggle final-newline behaviour 2017-11-22 23:55:21 +01:00
Vincent Ambo
18462a2f28 feat(functions): Add M-x emacs-config helper 2017-11-13 10:21:37 +01:00
Vincent Ambo
0511e7eb97 fix: Fix warnings & errors detected by elisp compiler
Minor things that came up when byte-compiling the configuration.
2017-11-12 22:44:31 +01:00
Vincent Ambo
5fcabc204a feat(functions): Add functions to insert nix-store paths
These can be useful - for example - while debugging nix things in eshell.
2017-11-12 19:00:49 +01:00
Vincent Ambo
5e48ce3f9b feat: Add nix-mode & nix-config function
* install nix-mode by default
* add a function to quickly open the system configuration.nix
2017-10-15 20:23:51 +02:00
Vincent Ambo
774aea8edd feat: Switch from ido/smex to Helm 2017-10-15 13:30:10 +02:00
Vincent Ambo
d45518f7c3
Add bindings for whitespace cleanup, line jumping & Fefes Blog 2015-03-11 14:42:58 +01:00
Vincent Ambo
4cca819886
Minor changes
* use ace-jump-line-mode for quick line jumping
* column-number-mode enabled by default
2015-02-20 11:45:37 +01:00
Vincent Ambo
1f70abb176
Move all configuration to subfolder 2014-10-21 19:37:19 +02:00
Renamed from init-functions.el (Browse further)