Commit graph

340 commits

Author SHA1 Message Date
toctan
7a51853b05 Enable electric-layout-mode only with python-mode 2014-10-15 18:23:31 +08:00
Parker McGee
80b623432f In helm-everywhere, bind "C-x C-m" to helm-M-x 2014-10-11 18:49:40 -04:00
Bozhidar Batsov
2440f7fda9 Merge pull request #707 from toctan/js2-mode
js2-mode is awesome
2014-10-11 08:53:42 +03:00
Bozhidar Batsov
5362e410c4 Merge pull request #705 from tuhdo/master
Helm cleanup
2014-10-11 08:51:21 +03:00
toctan
edd83dc60b Add json-mode 2014-10-11 11:34:45 +08:00
toctan
fa64e27914 js2-mode is awesome 2014-10-11 11:34:38 +08:00
toctan
ca4797da79 Clean up prelude-coffee.el 2014-10-11 11:32:40 +08:00
Tu Do
741cfb12e8 Helm cleanup
Such bindings prevent editing the *grep buffer.
2014-10-09 11:24:58 +07:00
Tu, Do
41d312fea0 Leaner Helm config and enable Helm version of Projectile commands 2014-10-08 22:39:20 +07:00
toctan
0da2bd461c remove curly braces from js electric-layout-rules
fix #694
2014-09-26 10:28:07 +08:00
schasse
ab763dce6f Appraisals is a ruby file, too 2014-09-24 15:28:35 +02:00
Bozhidar Batsov
cd29262c36 Don't set scss-compile-at-save in the mode hook 2014-09-18 18:07:25 +03:00
Bozhidar Batsov
5bc3ceb6d1 Merge branch 'master' of github.com:bbatsov/prelude 2014-09-18 18:06:33 +03:00
Bozhidar Batsov
07ae0bc2b3 [Fix #692] Don't set the default css indent in the css-mode-hook 2014-09-18 18:05:50 +03:00
toctan
0769eb5e7c Fix newline after colon inside a list 2014-09-18 22:37:59 +08:00
Bozhidar Batsov
00d4587105 Fix 2014-09-14 09:14:20 +03:00
Bozhidar Batsov
438c3e5bdf Move prelude-ido-goto-symbol to prelude-core 2014-09-14 09:13:16 +03:00
Bozhidar Batsov
fda768992e [Fix #663] Make guru-mode warn by default 2014-09-14 08:57:02 +03:00
Bozhidar Batsov
822a595a6b Merge pull request #684 from tuhdo/master
Set Helm prefix key independent of Helm's packages
2014-09-13 20:06:27 +03:00
Tu Do
01cb638fad Set Helm prefix key independent of Helm's packages
Since `helm-command-prefix-key' must be loaded before `helm-config', we
don't know if other Helm packages include `helm-config' and invalidate
custom prefix key. This change makes prefix binding independent from any
Helm package.

Conflicts:
	modules/prelude-helm.el
2014-09-11 12:14:43 +07:00
Bozhidar Batsov
fca390003c Enable subword-mode for yaml-mode 2014-09-10 17:56:00 +03:00
Tu Do
241fcc76d6 Set prefix key before loading helm-projectile
Because helm-projectile loads helm-config, prefix key must also be set
before helm-projectile. Comment is added for future reference
2014-09-10 14:53:29 +07:00
Tu Do
9ee54fdff7 Adjust Helm prefix key
helm-command-prefix-key is already defined with defcustom in
helm-config.el. It must be set before helm-config.el to take
effect. With current setting, "C-x c" is used instead of "C-c h" and it
conflicts with the guide on homepage. "C-x c" makes it easy to press
"C-x C-c" to close Emacs when pressing fast enough. "C-c h" is also
originally used for Helm in Prelude.
2014-09-10 14:01:14 +07:00
Bozhidar Batsov
99f1a43752 Merge pull request #641 from avsej/evil-visual-shift
Keep selection after visual shift
2014-09-10 09:41:48 +03:00
toctan
3dd60e5106 Slim helm module
- Keep only the basic configurations
- Code style
2014-09-07 09:22:38 +08:00
toctan
343ea5bc74 Typo & Code style 2014-09-05 00:31:48 +08:00
toctan
0f1f82fc86 Check if curl is available 2014-09-05 00:31:48 +08:00
toctan
8f028ffb89 Remove unnecessary helm configuration code
There options are already the default.
2014-09-05 00:31:48 +08:00
toctan
013919ff75 Do not mess up with Ido's option in helm module 2014-09-05 00:31:48 +08:00
Bozhidar Batsov
8cf9acc155 Merge pull request #667 from toctan/anaconda
Add anaconda-mode for python
2014-09-04 15:11:29 +03:00
Bozhidar Batsov
8a3e58ac86 Merge pull request #647 from ToBeReplaced/prelude-yaml
Add prelude-yaml
2014-09-04 14:08:52 +03:00
Tu Do
2f815d777e Update README and move some packages to helm-everywhere
Add Helm to table of contents and move helm-descbinds and helm-eshell to
helm-everywhere module.
2014-09-04 10:07:07 +07:00
toctan
6f72bdfd32 Add anaconda-mode for python 2014-09-04 09:49:07 +08:00
Bozhidar Batsov
6835a4ee96 Merge pull request #658 from tuhdo/master
Enable prelude-global-helm-global-mode by default
2014-09-02 09:41:24 +03:00
Tu, Do
72d0e6f159 Enable prelude-global-helm-global-mode by default
Since Helm is another option to Ido, users who want to use it fully
should benefit from the default Prelude setup. If some users don't like,
they can always disable global Helm mode according to the instructions
in the homepage. User can enable Helm everywhere with
prelude-helm-everywhere.

This change also enables Helm version of command history in shell and
eshell. It also adds minibuffer history without overrides any key
binding in minibuffer-local-map.
2014-09-02 13:30:18 +07:00
Bozhidar Batsov
e37fac9b4a Merge branch 'master' of github.com:bbatsov/prelude 2014-09-01 11:56:14 +03:00
Bozhidar Batsov
50e430f2e6 Enable which-function-mode for all major modes 2014-09-01 11:55:43 +03:00
Bozhidar Batsov
0cccfb8487 Merge pull request #655 from toctan/python-imenu
Flat index with python imenu
2014-08-31 18:28:57 +03:00
Tu, Do
10b045c29a Allow enable/disable global helm key bindings
Since some users prefer using default Prelude commands, a new global
mode is defined: prelude-global-helm-mode. When activate, Helm binds
some global key bindings to its own commands. When deactivate, Helm
removes the bindings and Prelude uses the default bindings.
2014-08-31 01:54:33 +07:00
toctan
e379c876c2 Flat index with python imenu 2014-08-30 23:30:16 +08:00
Tu, Do
bde6bb0d37 Improve Helm configuration
The current prelude-helm only uses a single command of Helm, which
is a waste given how Helm contains many other commands. When
prelude-helm is activated, users should be able to utilize all of these
useful commands. If a user wants to use Helm, he will want to use all of
its features anyway.

prelude-helm is configured that it is able to be used with this [guide](http://tuhdo.github.io/helm-intro.html).
2014-08-30 16:08:52 +07:00
ToBeReplaced
e01dfddcdb Add prelude-yaml 2014-08-24 22:58:10 -06:00
toctan
17cf2c710a Insert magic encoding comment upon save 2014-08-20 21:45:25 +08:00
toctan
41e153058c Automatically newline with block start 2014-08-20 16:12:29 +08:00
toctan
6283c1afd7 Turn on electric indent mode with python mode 2014-08-20 16:07:55 +08:00
Sergey Avseyev
720658c0e5 * modules/prelude-evil.el: keep selection after visual shift 2014-08-13 23:22:34 +03:00
Geoff Shannon
17d56f668d Redefine C-c C-s to run utop
Instead of tuareg-run-ocaml.  This avoids the problems described in
issue #626. Nominally fixes #626.
2014-08-04 15:44:20 -07:00
Geoff Shannon
6bbcd438ae Remove unnecessary autoload call 2014-08-04 15:15:40 -07:00
Bozhidar Batsov
1b9c059c48 Merge pull request #613 from roryk/upstream
fix for evil-mode in terminal
2014-08-01 18:43:58 +03:00
mike-work
0ac11b33b3 added (interactive-haskell-mode) to enable the use of interactive haskell commands (such as C-c C-l to load file) 2014-08-01 16:35:55 +01:00
Geoff Shannon
ed91fb3d7e Remove hook to activate an apparently obsolete tuareg function
Trivially fixes #614 by simply removing the offending hook.
2014-07-28 12:58:33 -07:00
Geoff Shannon
313265f69c Activate company mode support for merlin
Also, provide a commented out sample for activating autocomplete support
2014-07-28 12:52:18 -07:00
roryk
d757699536 Fix for ESC -> meta in terminal mode.
If you hit esc-key in terminal mode very quickly, it gets interpreted
as meta-key, which makes evil-mode unusable in terminal mode. The
default value of 0.01 doesn't completely fix this behavior, but
setting it to 0 does. The meta key still works fine with it at 0.
2014-07-19 13:05:47 -04:00
Alexey Romanov
4666983a5e Add fast math entry methods 2014-07-19 10:57:19 +04:00
Bozhidar Batsov
275289a497 Merge pull request #606 from alexeyr/company-auctex
Add company backends for AUCTeX
2014-07-19 09:31:57 +03:00
Alexey Romanov
27d74fe405 Company autocompletion for AUCTeX 2014-07-19 09:29:23 +04:00
Geoff Shannon
6bd092dc5b Add basic ocaml setup for prelude 2014-07-18 00:22:21 -07:00
Daniel Wu
a3f6b0e53d enabled evil-visualstar by default 2014-07-16 07:12:46 -04:00
Bozhidar Batsov
5bee586f0a [Fix #602] Associate .tpl files with web-mode 2014-07-15 11:40:18 +03:00
toctan
ffe8350530 Start slime automatically with slime-auto-start 2014-06-30 20:02:40 +08:00
toctan
158f695813 Do not bind "C-c i" to slime-inspect
This keybinding is in conflict with that of `prelude-ido-goto-symbol`,
and `slime-inspect` is already bound to "C-c I"
2014-06-30 20:02:37 +08:00
Bozhidar Batsov
5445a40453 Merge pull request #587 from swhalen/two-quicklisp-dirs
Look for Quicklisp in ~/quicklisp and ~/.quicklisp
2014-06-25 14:36:30 +03:00
Simon Whalen
d7ba68c19f Look for Quicklisp in ~/quicklisp and ~/.quicklisp
In `prelude-common-lisp.el`, look in both `~/quicklisp/` and
`~/.quicklisp/` for `slime-helper.el`, on the assumption that most users
will have Quicklisp installed in one of these two locations.

This commit fixes #582
2014-06-25 22:34:11 +12:00
toctan
07ff79872e Move smartparens pair definition out of hooks
There are two reasons for doing this:
- It's inefficient, we don't have to define the pairs every time we
  enter the mode.
- It's extremely difficult to override the pair definition, even with
  `eval-after-load` and `add-hook`
2014-06-25 11:04:49 +08:00
Doug MacEachern
3491279585 Add key bindings for godoc
C-h G -> godoc: can be used in any mode

C-h f -> godoc-at-point: go-mode only
2014-06-18 08:41:35 -07:00
Bert Chang
1d4d92b655 Rename evil-surround due to upstream changing. 2014-06-17 17:47:31 +08:00
Bozhidar Batsov
fbdb60a8ee Merge pull request #542 from avsej/yank-to-end-of-line
prelude-evil: add 'nmap Y y$' equivalent
2014-06-14 21:59:28 +03:00
Sergey Avseyev
fa45eba962 Apply prelude codestyle 2014-06-14 20:37:27 +03:00
Bozhidar Batsov
b60180b9c4 Merge pull request #572 from toctan/prelude-web
Make web-mode play nice with smartparens
2014-06-14 09:43:10 +03:00
toctan
149f9ec301 Run prelude-prog-mode-hook with CSS
I don't know if CSS should be count as a programming language, but the
utilities provided in the `prelude-prog-mode-hook`, such as
smartparens, whitespace-mode, comment annotation, are also very useful
when editing CSS files.
2014-06-14 11:17:19 +08:00
toctan
207ec885db Make web-mode play nice with smartparens
web-mode's auto paring is in conflict with smartparens. With
smartparens, since the closing '>' is inserted right after the opening
'<' and web-mode is not aware of that, the extra closing '>' would be
inserted. That's very annoying.
2014-06-14 10:48:16 +08:00
toctan
f73e348534 Remove web-mode customization
- Code indent offset is subjected to personal taste, I think we should
  stick to the web-mode default, which is sensible enough, and leave it
  to the user to decide.
- `web-mode-disable-autocompletion` is no longer used by web-mode.
- As to `newline-and-indent`, I think we should be consistent across all
  major modes. And this line of code will become useless with Emacs 24.4.
2014-06-14 10:29:27 +08:00
Rowan Thorpe
646905c505 Avoid compile warning in test for slime 2014-06-07 23:47:09 +03:00
Bozhidar Batsov
57dab8813e Merge pull request #561 from toctan/scheme-complete
Add tab compelete and eldoc for scheme
2014-06-05 15:32:06 +03:00
Bozhidar Batsov
59b8d1710b Merge pull request #566 from toctan/smart-curly-braces
Extra newline and indent when RETURN between {}
2014-06-04 19:02:43 +03:00
Bozhidar Batsov
a452530266 Merge pull request #565 from dougm/go
Add Go module
2014-06-04 19:02:29 +03:00
Doug MacEachern
d16214faa3 Add Go module 2014-06-04 08:57:56 -07:00
Bozhidar Batsov
2656ffa229 Set company-tooltip-flip-when-above to t 2014-06-04 15:57:29 +03:00
toctan
ab64e2bb3c Extra newline and indent when RETURN between {} 2014-06-04 20:23:08 +08:00
toctan
4995a8ccd9 Add geiser for scheme 2014-06-04 17:36:05 +08:00
toctan
461a560ddd Define prelude helm menu entry in its own module 2014-06-01 13:29:39 +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
Bozhidar Batsov
b998a8bd47 Don't recompile elc files outside of Prelude 2014-05-28 18:57:54 +03:00
Bozhidar Batsov
3f0322a806 Add extra keybindings for eval-defun and eval-buffer 2014-05-28 18:56:58 +03:00
Bozhidar Batsov
ef9580ca96 Get rid of the deprecated clojure-test-mode 2014-05-28 18:56:32 +03:00
Bozhidar Batsov
36822d7e3e Log nREPL messages by default 2014-05-27 18:21:25 +03:00
mike-work
5e2cf18b4c stopped highlighting issue in makefiles 2014-05-20 16:36:25 +01:00
Sergey Avseyev
1b7a80d8b7 prelude-evil: add 'nmap Y y$' equivalent 2014-05-17 12:04:06 +03:00
Bozhidar Batsov
d3954749fa [Fix #535] Correct coffee-mode's config 2014-05-15 17:38:15 +03:00
Bozhidar Batsov
e3c373ca13 Auto-join #prelude-emacs and #projectile IRC channels 2014-05-10 15:09:38 +03:00
Bozhidar Batsov
370d0fe473 Merge pull request #523 from roryk/upstream
Add prelude-evil.
2014-05-10 11:16:51 +03:00
roryk
2aa1038e0b Add prelude-evil.
A reasonable default setup for using evil-mode with prelude.
2014-04-26 11:28:48 -04:00
Antono Vasiljev
13ca5d59c1 Use ruby-mode for RABL templates 2014-04-25 16:43:29 +03:00
Sliim
4b17d9e55b Use ruby-mode for Berksfile 2014-04-25 14:18:12 +02:00
Bozhidar Batsov
ef14f87c07 Merge branch 'master' of github.com:bbatsov/prelude 2014-04-08 11:57:45 +03:00
Bozhidar Batsov
9f7d22f417 Increase a bit the idle delay 2014-04-08 11:57:18 +03:00
Bozhidar Batsov
7ef65a6a3b Remove some unneeded company config 2014-04-08 11:56:00 +03:00
Bozhidar Batsov
7f16c7b59b Merge pull request #514 from jehrhardt/puppetfiles
Add ruby-mode to Puppetfiles
2014-04-07 19:49:59 +03:00
Jan Ehrhardt
9230f7118b Add ruby-mode to Puppetfiles
Puppetfiles are similar to Gemfiles, but for librarian-puppet, that
manages dependencies on Puppet modules.
2014-04-07 18:32:08 +02:00
Bozhidar Batsov
5a228966ca Add basic company config 2014-04-07 19:22:19 +03:00