Commit graph

359 commits

Author SHA1 Message Date
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
Bozhidar Batsov
ada5e062e6 Add a basic shell module with some pretzo-related config 2014-04-04 15:13:07 +03:00
Bozhidar Batsov
7df35f074a Merge pull request #506 from Abizern/podspec
Open .podspec files in Ruby mode
2014-04-01 10:28:50 +03:00
Abizer Nasir
320944cc9a Open .podspec files in Ruby mode
.podspec files use a Ruby DSL for the CocoaPod dependency management
system, common in iOS development.

Although the Podspec file correctly opens in Ruby mode, the .podspec
file does not. This corrects that.
2014-04-01 08:25:44 +01:00
Abizer Nasir
4b680ddfc6 Correct terminator for .sbclrc 2014-04-01 08:23:01 +01:00
Abizer Nasir
46d31840e9 Open files with .cl extension in lisp-mode
I'm surprised that this isn't already the case.

Although most people use the .lisp extension, some do use .cl
2014-04-01 08:21:53 +01:00
Andrey Kouznetsov
b1854d35cb don't enable coffee-cos mode if buffer filename is nil 2014-03-26 21:02:40 +06:00
HANAI tohru
4e8003b975 FIX: coffee-mode uses coffee-tab-width instead of tab-width.
And recently it has removed `tab-width` dependency completely.
2014-03-02 16:43:50 +09:00
Bozhidar Batsov
8a3e01cd32 [Fix #484] Set OS X specific latex settings conditionally 2014-02-06 10:36:01 +02:00
Jeremy Bi
430c9825cb web-mode is now compatible with minor modes 2014-02-03 09:53:24 +08:00
Jan Ehrhardt
0a1e8e4057 Use ruby-mode for Podfile
A Podfile is used for CocoaPods to do a Bundler like dependency
management in XCode projects. Similar to a Rakefile or a Gemfile the
Podfile contains a dependency description in a Ruby based DSL.
2014-01-10 15:40:22 +01:00
Jeremy Bi
1bbdf9219c Update prelude-lisp.el
Use `completion-at-point` since `lisp-complete-symbol` is obsolete as of Emacs 24.4.
2014-01-05 12:45:19 +08:00
Bozhidar Batsov
654e4eb463 Add browse-kill-ring package 2013-12-11 11:50:32 +02:00
Bozhidar Batsov
fea2c44cbd Add wrapping commands to ielm-map 2013-12-07 09:15:12 +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
Josh Comer
58ce966e46 Fix typo in prelude-ido 2013-12-06 11:48:02 -04: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
d4a5224330 New keychord xx -> execute-extended-command 2013-12-06 16:35:56 +02:00
Bozhidar Batsov
dbe0ed889a Use prelude-require-packages everywhere 2013-11-26 12:52:29 +02:00
Bozhidar Batsov
1b922c52c2 [Fix #436] Enable smartparens-mode in latex-mode 2013-11-21 12:51:24 +02:00
Sean Fisk
b65617dd16 Fix key-chord module commentary. 2013-11-20 19:35:59 -05: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
a509b0a174 Remove obsolete markdown module 2013-11-03 23:24:21 +02:00
Bozhidar Batsov
fa42408438 Cask files are Emacs Lisp files 2013-11-03 23:09:56 +02:00
Bozhidar Batsov
82513bf204 Fix a typo in function name 2013-10-22 14:41:06 +03:00
Ranmocy Sheng
1c9935ff97 recompile elc instead of removing it when saving elisp file 2013-10-21 15:17:24 -07:00
Josh Comer
efa5ef3b02 Use correct hook for el-doc 2013-10-21 10:47:11 -03:00
Bozhidar Batsov
9eca62cd76 Define a few basic wrapping keybindings 2013-10-17 19:20:28 +03:00
Bozhidar Batsov
5cc16a8e25 Replace nrepl dep with cider 2013-10-17 15:23:04 +03:00
Bozhidar Batsov
4aa57ec81c Replace nrepl.el with cider 2013-10-17 15:22:16 +03:00
Bozhidar Batsov
2b28cfb41b Merge pull request #411 from hbin/patch-1
Don't need to require the `smartparens-ruby` explicitly.
2013-10-13 23:46:30 -07:00
Bin Huang
4a02738e6e Don't need to require the smartparens-ruby explicitly.
As of the smartparens-config will require automatically. Here is the [code](https://github.com/Fuco1/smartparens/blob/master/smartparens-config.el#L74).
2013-10-14 11:21:02 +08:00
Gabriel J. Pérez Irizarry
3231c6bf39 Fix typo, improve styling. 2013-10-10 10:29:56 -04:00
Gabriel J. Pérez Irizarry
0117ffda38 Move docs, provide link in README. 2013-10-10 10:25:19 -04:00
Bozhidar Batsov
b4b604ded0 Remove an obsolete (and incorrect) config 2013-10-08 12:14:11 +03:00
Bozhidar Batsov
4ea6fcf69b Fix inf-ruby config 2013-10-07 09:52:01 +03:00
Bozhidar Batsov
e67e9e6871 nrepl-mode is now nrepl-repl-mode 2013-10-03 14:50:51 +03:00
Bozhidar Batsov
7e20d8bf2b Highlight the : in comment annotations as well 2013-09-26 14:43:04 +03:00
Bozhidar Batsov
b3277d190e Add a comment 2013-09-26 14:34:10 +03:00
Bozhidar Batsov
5a01605564 Enable smartparens only for programming modes 2013-09-26 14:33:33 +03:00
Gabriel J. Pérez Irizarry
a63f62b8c0 Unbind conflicting prelude-mode keys. 2013-09-25 17:04:07 -04:00
Bozhidar Batsov
78b6a8083d Enable smartparens-strict-mode in Lisps 2013-09-18 12:17:51 +03:00
Bozhidar Batsov
fcff51fb41 [Fix #365] Don't indent with tabs in c-mode 2013-09-17 15:16:16 +03:00
Bozhidar Batsov
98e453c640 Enable smartparens in the minubuffer during eval-expression 2013-09-04 12:14:43 +03:00
Bozhidar Batsov
06d0c0c6ce [Fix #377] Require smartparens-latex in latex module 2013-09-02 18:42:58 +03:00
Gabriel J. Pérez Irizarry
8a182d8dd3 Fix issue disabling white-space-mode. 2013-08-01 12:58:19 -04:00
Gabriel J. Pérez Irizarry
1f141e9b08 Adds web-mode and prelude module. 2013-08-01 11:23:37 -04:00
Bozhidar Batsov
a752457a62 Rename prelude-add-comment-annotations to prelude-font-lock-comment-annotations 2013-07-24 16:26:19 +03:00
Bozhidar Batsov
b474df9609 Cleanup comment annotation highlighting a bit 2013-07-24 16:13:32 +03:00
Bozhidar Batsov
d47293858c Correct substatement indentation in c-mode (fixes #342) 2013-07-13 13:55:58 +03:00
Bozhidar Batsov
e12d5fbf51 Minor cleanup 2013-07-08 12:49:35 +03:00
capdevc
c997127958 Remove paredit stuff from prelude-common-lisp.el
The paredit backspace override without having paredit-backward-delete-key defined by paredit was breaking slime loading. I commented this out rather than deleting it since I noticed you had just commented out other paredit stuff elsewhere
2013-07-07 15:28:55 -05:00
Bozhidar Batsov
427bc31866 Replace electric-indent-mode and paredit with smartparens 2013-06-29 11:09:16 +03:00
Bozhidar Batsov
fb1164e37f Enable manually elisp-slime-nav (fixes #325) 2013-05-23 11:38:04 +03:00
Bozhidar Batsov
5e93ddc62b Fix #313 - invoke prelude-remove-elc-on-save only for Emacs Lisp buffers 2013-05-03 15:42:27 +03:00
Bozhidar Batsov
213b3c9f11 Try to resolve a potential problem with tuareg-mode and which-function-mode 2013-04-29 23:58:06 +03:00
toctan
cca24f3bb9 Recenter the screen after goto-symbol 2013-04-29 16:38:26 +08:00
Bozhidar Batsov
3996597b44 Fix a typo 2013-04-29 11:07:58 +03:00
Bozhidar Batsov
0f9bff7c71 Don't run checkdoc checker on elisp test files 2013-04-29 10:56:32 +03:00
Bozhidar Batsov
9fbef947b5 Clean up Emacs Lisp config 2013-04-29 08:00:04 +03:00
Bozhidar Batsov
3525aaa6f7 Enable subword-mode in python-mode 2013-04-21 22:29:10 +03:00
Bozhidar Batsov
2d46a71bcc python.el is now part of Emacs 2013-04-21 22:28:32 +03:00
Bozhidar Batsov
c07fccb701 Use global-flycheck-mode 2013-04-12 17:36:13 +03:00
Bozhidar Batsov
a95b60eda6 Open .jbuilder files in ruby-mode 2013-03-15 16:06:06 +02:00
Bozhidar Batsov
02b3f27e65 Cleaned up some requires here and there 2013-03-12 21:56:21 +02:00
Bozhidar Batsov
480170f7a9 Minor doc fixes 2013-03-10 19:44:52 +02:00
Bozhidar Batsov
00661efa2a A bit of cleanup and doc-string fixes 2013-03-07 09:57:33 +02:00
Bozhidar Batsov
5803d30af6 Clean up the modeline a bit with diminish.el 2013-03-06 21:43:59 +02:00
Bozhidar Batsov
18412db68d Improve the behaviour of the visit-ielm command 2013-01-30 18:09:25 +02:00
Bozhidar Batsov
b84dfee681 Introduce prelude-visit-ielm command and bind it to C-c C-z (a-la-slime) 2013-01-29 23:58:15 +02:00
Bozhidar Batsov
91a4c94730 Add imenu support for markdown-mode. 2013-01-13 15:08:21 +02:00
Bozhidar Batsov
f242489747 enable whitespace-mode in modes derived from text-mode 2013-01-05 10:38:12 +02:00
Bozhidar Batsov
26259d90b8 flycheck issue with package.el is now resolved upstream 2013-01-03 23:08:32 +02:00
Bozhidar Batsov
35b16d34e5 disable flycheck until issues with package installation are resolved upstream 2013-01-03 13:44:08 +02:00
Bozhidar Batsov
fb912ea26c added flycheck-mode 2013-01-02 18:00:12 +02:00
Bozhidar Batsov
ea106044eb enabled which-func in all modes that support it 2013-01-02 14:34:09 +02:00
Bozhidar Batsov
2d6670cf29 minor cleanup 2013-01-02 14:29:14 +02:00
Bozhidar Batsov
9cfdb2694a cleaned up some package dependency stuff 2013-01-02 14:26:54 +02:00
Bozhidar Batsov
269e9137ec updated copyright 2013-01-02 13:13:59 +02:00
Bozhidar Batsov
0d09e2a268 added clojure-test-mode 2013-01-01 21:33:28 +02:00