Commit graph

420 commits

Author SHA1 Message Date
Bozhidar Batsov 19f71e5937 [Fix #813] Add missing smartrep require 2015-02-22 20:25:34 +02:00
Bozhidar Batsov dc861b7c8b [Fix #798] Prompt for confirmation in prelude-kill-other-buffers 2015-02-13 09:53:07 +02:00
Bozhidar Batsov 2a386116f1 Use gfm-mode instead of plain markdown-mode 2015-02-10 13:16:33 +02:00
Bozhidar Batsov e58e0bef5e Switch the bindings for zop-to-char and zop-up-to-char 2015-02-07 12:47:31 +02:00
Bozhidar Batsov 8fd5b0db53 Add the zop-to-char package 2015-02-07 12:46:05 +02:00
Bozhidar Batsov c4e9a587c5 Require imenu for prelude-goto-symbol 2015-01-26 19:33:34 +02:00
k1-hedayati c46079e698 Revert "[Fix #782] Added magit-filenotify"
This reverts commit 003bbc4e0b.

Conflicts:
	core/prelude-packages.el
2015-01-19 23:14:46 +03:30
Bozhidar Batsov 8ba85830d9 Remove fringe size customization
Flycheck and diff-hl make heavy use of the fringe and look better with
8-pixel wide fringe.
2015-01-18 14:08:22 +02:00
Aleksey Kladov c09871bf36 fix magit-filenotify error
The error was due to unnecessary in add-to-list.
2015-01-17 22:30:40 +03:00
k1-hedayati 92eed7a9fe Added cython-mode to auto install list 2015-01-16 10:50:07 +03:30
k1-hedayati 37b72fb2f1 [Fix #764] Removed redundant command
`prelude-copy-file-name-to-clipboard` is redundant due to easy-kill package
2015-01-15 12:30:03 +03:30
k1-hedayati 5476324772 [Fix #783] Removed rainbow-mode from prelude-packages 2015-01-15 12:30:03 +03:30
k1-hedayati 58550466ad [Fix #779] Moved elisp-slime-nav to elisp module 2015-01-15 12:30:03 +03:30
k1-hedayati 003bbc4e0b [Fix #782] Added magit-filenotify 2015-01-15 12:30:03 +03:30
roryk 63687ccb10 autosave undo history 2014-12-30 12:31:18 -05:00
Mark Sikora 3832c6d82e Auto install protobuf-mode 2014-12-24 14:38:32 -05:00
Bozhidar Batsov 76c2e99070 Merge pull request #761 from k1-hedayati/restore-kill-region-defadvice
[Fix #623] Restored kill-region defadvice
2014-12-22 09:10:26 +02:00
Bozhidar Batsov f19aeda388 Merge pull request #762 from k1-hedayati/remove-ack
[Close #547] Removed ack-and-a-half from prelude
2014-12-22 09:09:42 +02:00
Keyvan Hedayati bd97b03872 [Close #547] Removed ack-and-a-half from prelude 2014-12-22 10:29:49 +03:30
Keyvan Hedayati daf52c2b0a [Fix #623] Restored kill-region defadvice
When no region selected `C-w` kills current line
2014-12-22 09:53:12 +03:30
Bozhidar Batsov dc82375714 Update copyright years 2014-12-07 11:37:46 +02:00
lexa 8c55c6f4bb Added helper to open file with emacsclient using filename:line path
Most of console-based utilities prints filename in format
"filename:linenumber". So you may wish to open filename in that format.
This little 'advice' can do that. Just call

emacsclient filename:linenumber

and cursor will be positioned on requested line
2014-11-30 22:18:25 +03:00
Doug MacEachern 4517a2f594 Add prelude-term-buffer-name variable
This provides multi-term support via .dir-locals.el for example.
2014-11-14 16:40:00 -08:00
Bozhidar Batsov 3a9ee203b8 Bind info-display-manual to C-h C-i 2014-11-13 15:58:28 +02:00
Mark Sikora 0a0d179b4d Use new melpa.org address 2014-10-25 16:37:15 -04:00
Bozhidar Batsov a33c5f19d4 Merge pull request #714 from k1-hedayati/master
Added .kv to auto install list
2014-10-17 09:26:44 +03:00
Keyvan Hedayati df9dd065c9 Added .kv to auto install list
Kivy is a python framework for building desktop and android apps, it has a specific language called Kv language and files of this language should have `.kv` extension.
2014-10-16 23:54:28 +03:30
toctan 28b9df0673 Custom theme via prelude-theme variable 2014-10-15 21:15:55 +08:00
toctan 33481e5a7d Auto install thrift-mode 2014-10-11 11:14:23 +08:00
Bozhidar Batsov 3017a15150 Rename prelude-ido-goto-symbol to prelude-goto-symbol 2014-09-19 12:05:50 +03:00
Bozhidar Batsov adb9ad3529 Remove redundant feature check 2014-09-19 12:03:26 +03:00
Bozhidar Batsov 8f06d26de2 [Fix #580] Preserve symbols order in prelude-ido-goto-symbol 2014-09-14 09:45:10 +03:00
Bozhidar Batsov 5644022e06 Clean up a bit prelude-ido-goto-symbol 2014-09-14 09:21:15 +03:00
Bozhidar Batsov 438c3e5bdf Move prelude-ido-goto-symbol to prelude-core 2014-09-14 09:13:16 +03:00
Bozhidar Batsov 01b36917f1 [Fix #664] Remove controversial other-window remapping
This also closes #656.
2014-09-13 17:35:59 +03:00
Fanael Linithien 502b82eb52 Tell savehist to actually save "search-ring"…
…instead of "search" and "ring".
2014-09-09 19:18:20 +02:00
toctan 108adcdbc3 Fix prelude-open-with on gnu/linux/freebsd 2014-09-08 10:56:35 +08:00
toctan 933fed932f Fix prelude-open-with
Currently, `prelude-open-with` does not work with files whose name has a
space or non-ascii character in it. I guess `shell-quote-argument` is
not needed for `start-process`.

I also refactor the code a little bit, and since we dot not care about
the output of `open`, so I removed the buffer name passed to `start-process`
2014-09-04 23:37:24 +08:00
toctan 2596e88803 Do not auto indent in conf-mode and yaml-mode 2014-09-04 22:20:38 +08:00
Bozhidar Batsov 8a3e58ac86 Merge pull request #647 from ToBeReplaced/prelude-yaml
Add prelude-yaml
2014-09-04 14:08:52 +03:00
Bozhidar Batsov 5b4b911b02 Merge branch 'master' of github.com:bbatsov/prelude 2014-08-28 18:41:05 +03:00
Bozhidar Batsov 35c0937784 Use anzu for query-replace 2014-08-28 18:40:43 +03:00
ToBeReplaced e01dfddcdb Add prelude-yaml 2014-08-24 22:58:10 -06:00
Aleksei Gusev 6f05616b60 Update documentation and tips for projectile keys 2014-08-24 10:17:47 +03:00
Tobias Adam 7bcfcf6b21 Remove two keybinding tips concerning Super
- <s-f> was removed in commit d49a8e9a16.
- <s-m> was removed in commit 0e1632868e.
2014-08-14 14:28:05 +02:00
Tobias Adam 6ab7ed461c Remove the documentation for the <s-g> keybinding
It was removed in commit d49a8e9a16 and it
is now bound to the god-local-mode command.
2014-08-14 12:47:15 +02:00
Tobias Adam 0a140202cb Remove the documentation for the <s-x> keybinding
It was removed in commit 0e1632868e and it
is now the standard kill-region command.
2014-08-14 12:43:58 +02:00
Bozhidar Batsov e20088d581 Merge branch 'master' of github.com:bbatsov/prelude 2014-08-12 12:54:54 +03:00
Bozhidar Batsov adae582b79 Associate .elixir files with elixir-mode 2014-08-12 12:54:35 +03:00
toctan 2d11c0bc4b A better prelude-view-url
- remove HTTP headers, what we care most of the time is the content
- `set-auto-mode` is way better than the naive xml, html tag check
2014-07-30 20:46:19 +08:00
toctan 2f22cb2684 Fix editing remote unwriteable file
With the original advice, if we try to find a not writeable file on a
remote machine, the extra tramp prefix would be inserted. As a result,
we actually end up in a blank new file.
2014-07-30 20:16:12 +08:00
Daniel Wu 6c337b21a0 fixed a bug in prelude-create-scratch-buffer 2014-07-25 08:03:13 -04:00
Bozhidar Batsov bd366b4701 Add the git-timemachine package 2014-07-22 19:18:29 +03:00
Bozhidar Batsov f6781cdc23 Toggle god-local-mode instead of god-mode 2014-07-17 00:38:40 +03:00
Jory Graham e1f9016432 Use the phrase 'open a line' in both tips 2014-07-15 20:34:10 -04:00
Bozhidar Batsov a7bae36f8a Merge pull request #592 from toctan/set-buffer-major-mode
Set new special buffer mode according to `auto-mode-alist'
2014-07-15 13:10:10 +03:00
Bozhidar Batsov fa40fc8a7e [Fix #604] Save only the current buffer on focus lost 2014-07-14 18:54:49 +03:00
Bozhidar Batsov 978808b745 Add a shorter prefix for all Projectile commands 2014-07-14 17:50:45 +03:00
Bozhidar Batsov d49a8e9a16 Add god-mode 2014-07-14 17:42:34 +03:00
toctan 4dab9a193a Respect initial-major-mode creating scratch buffer 2014-07-01 20:50:17 +08:00
toctan bc53a7008a Set buffer mode according to `auto-mode-alist'
With this, after we create a special buffer, the major-mode get set
automatically. For example, we create a new buffer named "ruby.rb",
`ruby-mode` was automatically enabled.
2014-07-01 20:47:15 +08:00
toctan 3ac1cc8f00 Remove duplication advice of yank and yank-pop 2014-06-25 10:21:51 +08:00
toctan 491bc0617f Do not indent region with indent sensitive modes
- Rename and move yank indent vars into prelude-custom.el
- Add coffee-mode to prelude-indent-sensitive-modes
- Do not mess up indentation when cleanup with indentation sensitive
  modes, such as Python.
2014-06-25 10:21:51 +08:00
toctan d226fd63f7 Clean up prelude-cleanup-buffer code
- Create a macro `with-region-or-buffer` to replace the prelude wrapper
  around `untabify` and `indent-region`
- Remove the function operated on buffers, cause we only need the dwim
  one
2014-06-25 10:21:51 +08:00
toctan ba2272a690 Prefer advice over remap exchange-point-and-mark 2014-06-08 13:18:06 +08:00
toctan ab6ecdedfd Do not deactivate-mark if region active 2014-06-08 12:54:24 +08:00
Bozhidar Batsov fcc82c75ff Auto-install swift-mode when needed 2014-06-05 16:20:18 +03:00
toctan 0e75110769 Rename buffer not visiting files 2014-06-04 20:11:18 +08:00
toctan 461a560ddd Define prelude helm menu entry in its own module 2014-06-01 13:29:39 +08:00
toctan 639cecb759 Remove redundant helm-prelude key binding code 2014-06-01 13:27:47 +08:00
Bozhidar Batsov 80101de017 [Fix #559] Add an autoload for vkill 2014-05-31 16:12:38 +03:00
Bozhidar Batsov 699f14b80c Add vkill as an alternative to proced on OS X 2014-05-31 12:43:02 +03:00
Bozhidar Batsov 50ccd6db23 Merge pull request #553 from toctan/proced-binding
Binding proced only in Linux
2014-05-31 12:39:07 +03:00
Bin Huang 9b7e0b6ce4 1. Rename prelude-indent-region-or-buffer to prelude-indent-buffer-or-region.
2. Add prelude-cleanup-buffer-or-region.
3. Add prelude-untabify-buffer-or-region.
4. Update menus and kbds.
2014-05-31 01:56:38 +08:00
Bin Huang 81953ad033 Move the prelude tips for key-chord-mode to it's module file. 2014-05-29 17:16:05 +08:00
Tu Do ca9dc4676c Update document and operate-on-number key bindings
Signed-off-by: Tu Do <tuhdo1710@gmail.com>
2014-05-29 11:10:04 +07:00
toctan d529ef86a5 Do not bind proced with OS X 2014-05-28 21:10:10 +08:00
toctan 1df4cb8043 Fix define-key 'help-command 2014-05-27 16:03:47 +08:00
Tu Do ed4036f95d Add discover-my-major
A better interface for getting information about major mode features. It can
complement the built-in "C-h m" (describe-mode): "C-h m" can be thought of
a full mode help, while discover-my-major a quick mode help, in the following
ways:

- Show key binding with description
- Cursor is automatically switched to discover-my-major help buffer, and to quit
the help buffer, simply press 'q'. In stock "C-h m", user has to manually switch,
scroll up/down to look for major mode commands. Finally, user closes the buffer
either by "C-x 0", or winner-mode undo (C-c <left>), which requires more key strokes.
- Display just enough information. In "C-h m", it displays every thing, from
major mode to minor modes, enabling minor modes and description of every modes.
- More polished user interface.

It's also better than smex-major-mode-commands, since smex-major-mode-commands
does not show key bindings and description.
2014-05-27 10:40:10 +07:00
Anton Ilin 702cb20c36 Add dockerfile-mode to the prelude-auto-install-alist 2014-05-26 21:18:33 +03:00
Bozhidar Batsov af4137fe0c Merge pull request #549 from toctan/require-eof
Newline at end of file
2014-05-26 19:14:19 +03:00
toctan 93d73e0f93 Newline at end of file 2014-05-27 00:05:29 +08:00
Bozhidar Batsov c0550168f3 Define a few keybindings in terms of help-command 2014-05-26 19:02:46 +03:00
Bozhidar Batsov db2dcb82e4 Merge pull request #525 from bixuanzju/2-commits-squashed
Simplify `prelude-annotate-todo`, make it evaporate when modified.
2014-05-26 09:44:37 +03:00
Bozhidar Batsov 94a0dde302 Code style 2014-05-25 14:02:48 +03:00
Bozhidar Batsov 381dc28439 Exclude magit's commit message files in recentf 2014-05-25 14:00:10 +03:00
Bozhidar Batsov cc5a2ed2dd Merge pull request #532 from tatsuhirosatou/fixTrampRecentf
Fixes bbatsov/prelude#528
2014-05-21 09:33:03 +03:00
Tu Do 5bf38b05da Add operate-on-number
Replace prelude functions for increment and decrement of numbers.

Signed-off-by: Tu Do <tu.h.do@dektech.com.au>
2014-05-21 13:07:33 +07:00
Geoff Shannon 0a8d8b22f0 Fix suggested use of prelude-user-init-file
to something that will actually work correctly.
2014-05-15 23:16:53 -07:00
Geoff Shannon ab06782c9b Make prefix argument optional
It seems to be the general style of how prefix args are done...
2014-05-15 13:54:38 -07:00
Geoff Shannon 3896e421d0 Find user-init-file when given prefix arg 2014-05-15 13:48:24 -07:00
Geoff Shannon 1ac728d6a7 Use expand-file-name instead of concat 2014-05-15 13:43:51 -07:00
Geoff Shannon c380a3f001 Update prelude-find-user-init-file docstring
To reference the variable that it actually pulls from now
2014-05-15 13:36:58 -07:00
Geoff Shannon b30cc884b9 Rewrite the doc string to be less bad 2014-05-15 13:36:58 -07:00
Geoff Shannon 7bb680b1df Add to documentation for new variable
Describe a simple and easy way to specify which file should be used as the "init-file."
2014-05-15 13:36:58 -07:00
Geoff Shannon eba385e3d9 Fix checkdoc problems with new custom file 2014-05-15 13:36:58 -07:00
Geoff Shannon 57ef5bb249 Add new prelude custom variable for user-init-file
This way the prelude-find-user-init-file can actually take you to a
useful file (instead of to init.el)
2014-05-15 13:36:57 -07:00
Geoff Shannon 5ffa4bb187 Pull Prelude's custom variables into a new file
This is so we can define a custom variable to use in prelude-core
2014-05-15 13:36:57 -07:00
Bozhidar Batsov 5366fdc3ea Merge branch 'master' of github.com:bbatsov/prelude 2014-05-15 17:12:12 +03:00
Bozhidar Batsov 97889cb77d Add ace-window and use it as other-window replacement 2014-05-15 17:11:49 +03:00
Daniel Wu 7f6969cc3b made prelude-open-with work in dired mode 2014-05-14 21:40:00 -04:00
Gabriel J. Pérez Irizarry 055ce06b38 Fixes bbatsov/prelude#528 2014-05-09 12:07:55 -04:00
Bozhidar Batsov 0c93a1c542 Ignore in recentf all files from the elpa dir and the savefile dir 2014-04-30 12:46:32 +03:00
Jeremy Bi d82fc1f45f Simplify prelude-annotate-todo, make it evaporate when modified. 2014-04-27 23:46:08 +08:00
Bozhidar Batsov 95a7eb2689 Revert "Enable desktop-save-mode by default"
This reverts commit 2383e5730c.

Conflicts:
	core/prelude-ui.el
2014-04-25 14:06:36 +03:00
Zhitao Gong 5d8fd5c35a annotate TODO in comments 2014-04-19 15:28:37 -05:00
Bozhidar Batsov e7d9555bc3 Remove a couple of kill-related advices
Those are made redundant by the awesome easy-kill.
2014-04-19 15:05:09 +03:00
Bozhidar Batsov b51eeff933 Colorize compilation buffers out-of-the-box 2014-04-19 10:29:14 +03:00
Bozhidar Batsov 53409cc355 Save desktop without asking anything 2014-04-15 17:08:03 +03:00
Bozhidar Batsov 2383e5730c Enable desktop-save-mode by default 2014-04-15 15:51:37 +03:00
Bozhidar Batsov 698b24661f Recognize Rust source files automatically 2014-04-15 13:18:51 +03:00
Bozhidar Batsov e84e180511 Recognize Elixir source files automatically 2014-04-15 13:17:23 +03:00
Bozhidar Batsov 41da475ed4 Save all buffers on focus lost 2014-04-14 17:54:13 +03:00
Bozhidar Batsov 244fe33296 Merge branch 'master' of github.com:bbatsov/prelude
Conflicts:
	core/prelude-editor.el
2014-04-14 17:41:16 +03:00
Bozhidar Batsov 5538bb77b9 Add diff-hl package 2014-04-14 17:40:34 +03:00
Bozhidar Batsov 01bb1c9e90 Code style 2014-04-13 11:46:49 +03:00
Bozhidar Batsov f5092b31fd Add the easy-kill package 2014-04-12 17:47:06 +03:00
Bozhidar Batsov ec1241f976 Correct conflicting keybinding 2014-04-05 15:57:55 +03:00
Abizer Nasir 58e15b93fc Add ace-jump-buffer to Prelude
Keybindings set to `C-c k` and `S->`
2014-04-03 19:44:10 +01:00
Jeremy Bi 1c93689701 Attempt to refactor two "duplicate" functions.
Attempt to extract a generic function `prelude-get-positions-of-line-or-region` from `prelude-duplicate-current-line-or-region` and `prelude-duplicate-and-comment-current-line-or-region`
2014-03-20 11:05:40 +08:00
Bozhidar Batsov 08494c79db Merge branch 'master' of github.com:bbatsov/prelude 2014-03-10 11:59:12 +02:00
Bozhidar Batsov c9b6b8a76c Don't mess with Projectile's modeline text 2014-03-10 11:58:31 +02:00
Antoine R. Dumont f83428f9f3 Add binding C-c U for DuckDuckGo search 2014-01-14 08:41:15 +01:00
Antoine R. Dumont 7cca7f718e Add DuckDuckGo search engine in the default list. 2014-01-11 19:17:59 +01:00
Antoine R. Dumont 8e573e1eb8 Factor the search engine installation to ease the future install of new ones. 2014-01-11 19:16:04 +01:00
Bozhidar Batsov 015c2de3b6 Bind ace-jump-mode to s-. as well 2014-01-02 11:38:49 +02:00
Bozhidar Batsov f573fd99e4 Change C-c SPC to C-c j to avoid a conflict in org-mode
In org-mode C-c SPC is bound to `org-table-blank-field`
2014-01-02 11:35:58 +02:00
Bozhidar Batsov 7909617b9e Don't use C-x SPC as it's used in Emacs 24.4 by default for rectangular selection 2013-12-27 17:15:25 +02:00
Bozhidar Batsov fa6795b71f Improve prelude-eval-and-replace 2013-12-21 22:15:52 +02:00
Bozhidar Batsov 86ba702f48 Enable browse-kill-ring's default keybindings 2013-12-14 11:06:53 +02:00
Bozhidar Batsov 654e4eb463 Add browse-kill-ring package 2013-12-11 11:50:32 +02:00
Bozhidar Batsov d54d3956fd Improve tab's behavior
It now does both indentation and completion (when supported)
2013-12-07 09:40:05 +02:00
Bozhidar Batsov 8217618525 Simplify sexp wrapping code 2013-12-07 09:14:44 +02:00
Bozhidar Batsov 150ac9e510 [Fix #433] Disable problematic binding M-[ 2013-12-07 08:45:05 +02:00
Bozhidar Batsov 7507cecb9f Fix epl-upgrade invocation 2013-12-07 01:21:54 +02:00
Bozhidar Batsov c65b4ca336 Add prefix arg support prelude-update-packages
With a prefix arg it will update all installed packages.
2013-12-07 01:01:54 +02:00
Bozhidar Batsov 3cdb7f32ad [Fix #447] Extract ido config into a module
This should make it simpler to disable ido completely if you want to use
an alternative library (like `icomplete` or `icicles` for instance).
2013-12-06 17:10:04 +02:00
Bozhidar Batsov 3cc9ad7400 [Fix #444] Add command prelude-update-packages 2013-12-06 16:31:58 +02:00
Bozhidar Batsov dbe0ed889a Use prelude-require-packages everywhere 2013-11-26 12:52:29 +02:00
Bozhidar Batsov b9000702b2 Replace mentions of WikEmacs with EmacsWiki 2013-11-19 13:52:27 +02:00
Bozhidar Batsov dae1e4d1bc Some minor changes in yank-pop 2013-11-19 12:02:36 +02:00
Bozhidar Batsov 3239f5c724 [Fix #399] Extract key-chord into a separate module 2013-11-03 23:50:09 +02:00
Bozhidar Batsov 523a4851a6 Extract Helm support into a separate module 2013-11-03 23:37:40 +02:00
Bozhidar Batsov e2ffd09fbd Code style 2013-11-03 23:17:53 +02:00
Bozhidar Batsov 45d0347b07 Remove obsolete dep to git-commit-mode 2013-11-03 23:16:15 +02:00
Bozhidar Batsov 015e3abd9b [Fix #426] Remove M-O keybinding
It caused problems in terminals.
2013-10-31 23:11:12 +02:00
Bozhidar Batsov b78ce3925c [#421] Bind prelude-smart-open-line-above to M-O 2013-10-24 17:43:28 +03:00
Bozhidar Batsov 3c8c7dec05 Do an automatic package upgrade in prelude-update 2013-10-22 15:37:05 +03:00
Bozhidar Batsov 9eca62cd76 Define a few basic wrapping keybindings 2013-10-17 19:20:28 +03:00
Bozhidar Batsov 8fb1986b5d Disable annoying blink-matching-paren 2013-10-07 18:13:04 +03:00