Commit Graph

411 Commits

Author SHA1 Message Date
Gergely Polonkai d0ec63b872 Make sure secretaria is loaded after alert
I’m not sure it is actually needed, but it’s better to be safe than sorry.
2017-04-12 08:41:19 +02:00
Gergely Polonkai c50195261d Setup alert.el based on the terminal type
If running under Termux, use the `termux` alert style; otherwise, use
`notifications`.
2017-04-12 08:30:42 +02:00
Gergely Polonkai b3c87b5d9a Change wakatime executable path to be dynamic
It now uses `executable-find` instead of a hardcoded path.
2017-04-12 07:59:06 +02:00
Gergely Polonkai 334fef4f42 Create the function termux-p
It can decide if we are running under Termux.
2017-04-12 07:59:05 +02:00
Gergely Polonkai 63e8cd46a8 Add :ensure nil to use-package calls that load built-in packages 2017-04-07 18:26:36 +02:00
Gergely Polonkai 91d93e5c39 Add the secretaria package 2017-04-07 18:24:56 +02:00
Gergely Polonkai a4e62ac605 Auto-enable rainbow in CSS & Co. modes 2017-04-07 18:24:55 +02:00
Gergely Polonkai 74176aa6a5 Change cursor color when Yasnippet can be fired 2017-04-07 18:24:24 +02:00
Gergely Polonkai 61a95107de Pin use-package to melpa-stable 2017-04-05 14:22:51 +02:00
Gergely Polonkai 8f9554007c Set use-package-always-ensure to t 2017-04-05 14:22:51 +02:00
Gergely Polonkai 1d0834fae4 Rebind helm-company to C-c j
C-S-j was not Termux (and finger) friendly.
2017-04-04 22:28:05 +02:00
Gergely Polonkai d162a66b94 Make slash complete directory names in helm-find-file 2017-04-04 22:27:59 +02:00
Gergely Polonkai 2191b1ac64 Move round-number-to-decimals binding to init.el
It is nowwtogether with all the other bindings.
2017-04-04 22:25:56 +02:00
Gergely Polonkai 407f1b1f8e Mark search result upon exiting isearch with S-return 2017-03-22 23:24:35 +01:00
Gergely Polonkai e8c3109177 Install the phi-search and phi-search-mc packages 2017-01-26 09:33:43 +01:00
Gergely Polonkai a34276b5e4 Update smartparens command list 2017-01-26 09:32:12 +01:00
Gergely Polonkai 37081cff12 Update mc key bindings 2017-01-26 09:32:12 +01:00
Gergely Polonkai 18bd13e72e Enable the narrow-to-region command 2017-01-11 09:11:53 +01:00
Gergely Polonkai 3f47daebcb Add “not” and “in” symbols to python-mode’s keywords to prettify 2017-01-11 09:11:53 +01:00
Gergely Polonkai 00efde0aa0 Install the dockerfile-mode package 2017-01-11 09:11:53 +01:00
Gergely Polonkai 97089c4fb7 Add Org ELPA to package-archives 2017-01-05 21:46:03 +01:00
Gergely Polonkai feb413f2f4 Pin the js2-mode package to melpa-stable 2016-12-22 10:46:42 +01:00
Gergely Polonkai 27e7caa898 Require the ox-md feature when Org is loaded
As I export my blog posts to Markdown, I need this feature to be present.
2016-12-22 10:45:51 +01:00
Gergely Polonkai ab8080c03d Add key bindings to git-gutter’ previous/next hunk commands 2016-12-19 11:18:01 +01:00
Gergely Polonkai 4aec887daa Remove package highlight-indent-guides
Nice-nice, but it barely works, especially with web-mode.
2016-12-19 11:17:38 +01:00
Gergely Polonkai d1668bc57d Stabilize electric-spacing
This package became unstable in melpa, and even though there is a fix
waiting to be merged, it’s not.  I roll back to the stable GNU (ELPA)
version.
2016-12-08 10:28:45 +01:00
Gergely Polonkai 60259fc443 Make ediff unfold Org trees
This makes it easier to resolve merge conflicts in Org files.
2016-12-08 10:27:13 +01:00
Gergely Polonkai 2dac4864e6 Fix web-mode config 2016-12-05 11:35:12 +01:00
Gergely Polonkai 3cf3eae02e Install the web-mode package
It is also activated for each HTML file.
2016-12-02 16:49:15 +01:00
Gergely Polonkai d00e4a0cec Fix dashboard config
Instead of overriding the dashboard-items list, add new items to it.
2016-12-02 16:49:15 +01:00
Gergely Polonkai 3984e84b48 Remove fill-column-indicator package
It causes more harm than good.
2016-12-02 16:49:15 +01:00
Gergely Polonkai c0d42b5c48 Add ¬ (not) symbol to prettify-symbols-alist 2016-11-30 17:35:46 +01:00
Gergely Polonkai 4e5bf36c20 Install the csharp-mode package 2016-11-30 17:35:46 +01:00
Gergely Polonkai bea1fa998b Make drag-stuff keys work
They weren’t actually bound…
2016-11-30 17:35:46 +01:00
Gergely Polonkai 67213f6da8 Create command kill-this-buffer-delet-this-window
It kill the current buffer and deletes the window.
2016-11-30 17:35:46 +01:00
Gergely Polonkai 2d58576715 Edit Org source block in the current window 2016-11-28 10:18:54 +01:00
Gergely Polonkai cca795ce3c Customize HTML exported checkboxes 2016-11-28 08:52:25 +01:00
Gergely Polonkai 65bcb44a4e Reconfigure Org go-to 2016-11-28 08:31:21 +01:00
Gergely Polonkai f5d29d0e1c Borrow fill-or-unfill-paragraph from sachachua 2016-11-28 05:24:47 +01:00
Gergely Polonkai 09d986d989 Make sure magithub and magit-gerrit are loaded after magit 2016-11-25 10:19:42 +01:00
Gergely Polonkai b1db7426b4 Add auto-package-update-maybe to after-init-hook
I somehow missed that step…
2016-11-25 10:18:35 +01:00
Gergely Polonkai 4cdbd9d19a Remove TAB binding of yas-expand
It caused me more trouble than not.  I will find a better binding for it later.
2016-11-23 09:50:13 +01:00
Gergely Polonkai 2349b1daa4 Install the dashboard package 2016-11-23 08:42:44 +01:00
Gergely Polonkai 8ea81a3c8a Add python projects shortener to sml config 2016-11-21 16:46:07 +01:00
Gergely Polonkai 63226f60d4 Install the po-mode package 2016-11-21 16:45:53 +01:00
Gergely Polonkai 11e0e9bb25 Implement buffer-kill undoing
`C-x k` now kills the current buffer without a question. `C-x M-k` undoes it.
2016-11-21 11:41:31 +01:00
Gergely Polonkai 0ae7c9f240 Install the company-web and enlive packages 2016-11-21 11:39:39 +01:00
Gergely Polonkai 307e4d0b27 Disable company tooltip
It’s annoying for me, even though `helm-company` has some issues.
2016-11-21 08:26:45 +01:00
Gergely Polonkai 5a836f5227 Patch up smartparens config
* Remove paren usage altogether (it was redundant:
  `show-smartparens-mode`vs. `show-paren-mode`).
* Add key binding for `sp-unwrap-sexp`
2016-11-18 15:50:11 +01:00
Gergely Polonkai 26a7641a6a Fix github-notifier config
If it doesn’t load *after* id-manager, it can’t get the token.
2016-11-18 15:20:40 +01:00
Gergely Polonkai 0b559b88c3 Install the gist package 2016-11-18 15:19:15 +01:00
Gergely Polonkai 43d7cc74b0 Install the github-notifier package
Now that I can store my passwords encrypted, I can use this again!
2016-11-18 14:42:13 +01:00
Gergely Polonkai dc691e216e Install the mediawiki package
It is configured to be used with WikEmacs.
2016-11-18 13:26:23 +01:00
Gergely Polonkai d0fba2c7c6 Extend id-manager functionality
Add new macros that can fetch the account-id and password for a given
account.
2016-11-18 13:25:12 +01:00
Gergely Polonkai 7f90feb9bd Finish configuring id-manager 2016-11-18 13:24:32 +01:00
Gergely Polonkai 4ea052b970 Move loading my own functions earlier 2016-11-18 09:47:57 +01:00
Gergely Polonkai 5a8be149cb Install anaconda-mode and company-anaconda packages 2016-11-17 23:31:35 +01:00
Gergely Polonkai 6829120d10 Create capture template for GT2 notes 2016-11-17 22:37:15 +01:00
Gergely Polonkai a80b9348cc Reconfigure ace-window
* Make it possible to scroll (up/down) and bury window buffers
* Map window selectors back to the defaults (numbers)
* Make dispatcher run always, even for only two windows
2016-11-17 16:07:27 +01:00
Gergely Polonkai 822260dad0 Reformat org-todo-keywords
Just for readability’s sake.
2016-11-17 13:36:32 +01:00
Gergely Polonkai 954881e661 Move window manipulating functions to window-manip.el 2016-11-17 13:35:33 +01:00
Gergely Polonkai 6ee76de7db Enable the erase-buffer command 2016-11-17 08:26:01 +01:00
Gergely Polonkai 2403128ced Rebind ace-window to C-x o
It is a real pain to keep track of what `other-window` means. It was
also inconvenient to press M-P on Dvorak. This new solution will be a
short-term pain until I get used to it with more than two windows, but
after that, life will be easier.
2016-11-17 08:26:01 +01:00
Gergely Polonkai d45149db80 Remove easy-kill in favour of expand-region
* easy-kill is not that easy
* I actually used for the purpose of expand-region
2016-11-16 23:01:56 +01:00
Gergely Polonkai 5e6aae007d Implement move-to-beginning/end-of line for Org-mode 2016-11-15 22:09:01 +01:00
Gergely Polonkai b48f918bdd Update auto-virtualenv config
It now activates automatically when switching to `python-mode`
2016-11-15 22:09:00 +01:00
Gergely Polonkai ab56d6f449 Add two new functions to move to beginning/end of a line
They consider visual lines and indentation.  However, they don’t work in
Org-mode yet.

Inspired by @bbatsov:
http://emacsredux.com/blog/2013/05/22/smarter-navigation-to-the-beginning-of-a-line/
2016-11-15 09:36:10 +01:00
Gergely Polonkai 33e05c054a Add key binding for transpose-windows 2016-11-15 09:36:09 +01:00
Gergely Polonkai ef42a03d3a Add key binding to visit init file and index.org
Inspired by http://emacsredux.com/blog/2013/05/18/instant-access-to-init-dot-el/
2016-11-15 00:50:49 +01:00
Gergely Polonkai e0e2fd262e Install the highlight-indent-guides package 2016-11-15 00:07:11 +01:00
Gergely Polonkai e8db11375f Fix electric-case config 2016-11-14 23:59:40 +01:00
Gergely Polonkai a24bf7d6ef Install the eshell-prompt-extras package 2016-11-14 20:29:44 +01:00
Gergely Polonkai 1dfb6091a0 Install the eshell-fringe-status package 2016-11-14 20:20:32 +01:00
Gergely Polonkai 4a114c7fc3 Install the glasses package 2016-11-14 19:44:55 +01:00
Gergely Polonkai 441513584a Auto-enable electric-spacing-mode in C-derived modes 2016-11-14 08:39:16 +01:00
Gergely Polonkai d536a23ee2 Install the hl-todo package 2016-11-11 23:29:00 +01:00
Gergely Polonkai 9fb5a2c3a1 Install the helm-pydoc package 2016-11-11 23:28:59 +01:00
Gergely Polonkai ac28c27f0f Install the helm-hunks package 2016-11-11 11:27:50 +01:00
Gergely Polonkai 0ee44cc580 Install the helm-c-yasnippet package 2016-11-11 09:52:02 +01:00
Gergely Polonkai 696904aa8e Install the easy-kill package 2016-11-10 17:08:46 +01:00
Gergely Polonkai 7b059751b5 Expand sml/replacer-regexp-list
* Add “~/Projektek/” that I use on my home machine
* Add my blog‘s directory
2016-11-10 11:48:31 +01:00
Gergely Polonkai d76643ae93 Change the title of a frame to the current file name 2016-11-10 11:48:24 +01:00
Gergely Polonkai fa68c7ce00 Move autosave and backup files to /tmp 2016-11-10 11:32:35 +01:00
Gergely Polonkai ccdc042a89 Create function open-this-file-as-other-user
It opens the current file as the specified user or root.
2016-11-10 11:31:50 +01:00
Gergely Polonkai 50d518a906 Install the gitlab package
It’s needed for my future magitlab stuff.
2016-11-10 09:49:26 +01:00
Gergely Polonkai 540eccc8a5 Fix zone-nyan config
It sometimes loaded before `zone`, when `zone-programs` is not defined yet.
2016-11-09 10:38:40 +01:00
Gergely Polonkai 6b170ac52f Bind org-toggle-link-display to C-c l 2016-11-09 10:14:19 +01:00
Gergely Polonkai 4b582382fd Install the ace-mc package 2016-11-09 10:13:56 +01:00
Gergely Polonkai 613d2c63ea Attempt to use git-gutter-fringe only in graphics mode 2016-11-09 10:13:43 +01:00
Gergely Polonkai 50bfccd7a8 Fix message in gpolonkai/zone-enable 2016-11-09 10:12:53 +01:00
Gergely Polonkai b71866dfd6 Make zone-nyan load only for graphics mode 2016-11-09 09:12:58 +01:00
Gergely Polonkai bfbf069997 Fix sml config
* Make it load after org, so org-directory is added correctly to
  `sml/replacer-regexp-list`
* Add Projects to `sml/replacer-regexp-list`
* Add Documents to `sml/replacer-regexp-list` in a way that agrees with
  XDG
2016-11-09 08:42:52 +01:00
Gergely Polonkai fdfac65961 Install the flymake-python-pyflakes package 2016-11-09 08:42:52 +01:00
Gergely Polonkai a40477411d Install the auto-virtualenv package 2016-11-09 08:42:51 +01:00
Gergely Polonkai ae47b2b574 Install the anzu package 2016-11-07 23:58:05 +01:00
Gergely Polonkai c927f77126 Move from git-gutter to git-gutter-fringe
I’m not sure (yet) if this is a good idea, though. Let’s see what this
can do in text mode…
2016-11-07 16:23:52 +01:00
Gergely Polonkai 1e02b702c8 Install the form-feed package 2016-11-07 16:17:30 +01:00
Gergely Polonkai 79c8dc6072 Install the fill-column-indicator package 2016-11-07 16:06:41 +01:00
Gergely Polonkai 555c27b4cc Install the dired-k package 2016-11-07 16:04:50 +01:00
Gergely Polonkai cbb8555ac5 Fix MELPA stable configuration 2016-11-07 14:46:53 +01:00