Commit graph

289 commits

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