Commit Graph

429 Commits

Author SHA1 Message Date
Gergely Polonkai 776ab5caf4 Update Org config 2017-08-07 10:44:24 +02:00
Gergely Polonkai fc012859cd Add SysAdmin Day to the calendar 2017-08-07 10:44:24 +02:00
Gergely Polonkai 1b2f60d236 Add shortcut for bury-buffer 2017-08-07 10:44:24 +02:00
Gergely Polonkai 6a4a3ce871 Remove the magithub package
I don’t use it that often; also, it has more bugs than what is confortable
recently.
2017-08-07 10:44:24 +02:00
Gergely Polonkai 9cf095303a Add function to prettify symbol list 2017-08-07 08:30:39 +02:00
Gergely Polonkai 0be142e232 Switch from electric-spacing to electric-operator
It’s more reliable, and it doesn’t mess up operator characters within
strings.  It has its own quirks, though.
2017-04-20 15:52:09 +02:00
Gergely Polonkai 0b431b5228 Update the header line a bit more
Moved some elements from the mode line to the header line.  Now only design remains.
2017-04-20 15:51:22 +02:00
Gergely Polonkai 4cbebe800b Move multiple-cursors key bindings to a separate prefix map
It becomes a prefix map anyway, but it’s much easier to rebind later if the
need arises.
2017-04-20 15:51:21 +02:00
Gergely Polonkai ce943b24ae Add some help commands to find function/variable declarations 2017-04-20 15:50:40 +02:00
Gergely Polonkai 88ae0712fc Remove magit-gerrit from the configuration
I don’t use Gerrit anymore
2017-04-20 15:50:40 +02:00
Gergely Polonkai 3ceaf233fd Load thingatpt with use-package
It was not a problem, just let’s be consequent.
2017-04-20 15:50:10 +02:00
Gergely Polonkai d8bcdd0272 Move email address to customizations 2017-04-20 15:50:10 +02:00
Gergely Polonkai 3fbee21d44 Add the less-css-mode package 2017-04-19 21:57:15 +02:00
Gergely Polonkai 224f200756 Clean up :ensure clauses in use-package calls
As `use-package-always-ensure` is `t`, we don’t need all these lines (but we
need an extra `:ensure nil` for builtins.
2017-04-19 21:57:01 +02:00
Gergely Polonkai f9d430ff8b Switch regex/normal search bindings and add key for org-store-link 2017-04-17 23:10:25 +02:00
Gergely Polonkai 41958481ce Add CANCELED state to org-todo-keywords 2017-04-12 09:17:14 +02:00
Gergely Polonkai b374797da4 First attempt to create a meaningful header line 2017-04-12 09:13:16 +02:00
Gergely Polonkai ae782bc170 Make browse-url work in Termux
To do so, we override the `browse-url-default-browser` command.  It’s a
shame there is no better way to do it.
2017-04-12 08:49:08 +02:00
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