Commit graph

15 commits

Author SHA1 Message Date
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)