Bozhidar Batsov
fa40fc8a7e
[ Fix #604 ] Save only the current buffer on focus lost
12 years ago
Bozhidar Batsov
978808b745
Add a shorter prefix for all Projectile commands
12 years ago
Bozhidar Batsov
d49a8e9a16
Add god-mode
12 years ago
toctan
4dab9a193a
Respect initial-major-mode creating scratch buffer
12 years ago
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.
12 years ago
toctan
3ac1cc8f00
Remove duplication advice of yank and yank-pop
12 years ago
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.
12 years ago
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
12 years ago
toctan
ba2272a690
Prefer advice over remap exchange-point-and-mark
12 years ago
toctan
ab6ecdedfd
Do not deactivate-mark if region active
12 years ago
Bozhidar Batsov
fcc82c75ff
Auto-install swift-mode when needed
12 years ago
toctan
0e75110769
Rename buffer not visiting files
12 years ago
toctan
461a560ddd
Define prelude helm menu entry in its own module
12 years ago
toctan
639cecb759
Remove redundant helm-prelude key binding code
12 years ago
Bozhidar Batsov
80101de017
[ Fix #559 ] Add an autoload for vkill
12 years ago
Bozhidar Batsov
699f14b80c
Add vkill as an alternative to proced on OS X
12 years ago
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.
12 years ago
Bin Huang
81953ad033
Move the prelude tips for key-chord-mode to it's module file.
12 years ago
Tu Do
ca9dc4676c
Update document and operate-on-number key bindings
Signed-off-by: Tu Do <tuhdo1710@gmail.com>
12 years ago
toctan
d529ef86a5
Do not bind proced with OS X
12 years ago
toctan
1df4cb8043
Fix define-key 'help-command
12 years ago
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.
12 years ago
Anton Ilin
702cb20c36
Add dockerfile-mode to the prelude-auto-install-alist
12 years ago
toctan
93d73e0f93
Newline at end of file
12 years ago
Bozhidar Batsov
c0550168f3
Define a few keybindings in terms of help-command
12 years ago
Bozhidar Batsov
94a0dde302
Code style
12 years ago
Bozhidar Batsov
381dc28439
Exclude magit's commit message files in recentf
12 years ago
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>
12 years ago
Geoff Shannon
0a8d8b22f0
Fix suggested use of prelude-user-init-file
to something that will actually work correctly.
12 years ago
Geoff Shannon
ab06782c9b
Make prefix argument optional
It seems to be the general style of how prefix args are done...
12 years ago
Geoff Shannon
3896e421d0
Find user-init-file when given prefix arg
12 years ago
Geoff Shannon
1ac728d6a7
Use expand-file-name instead of concat
12 years ago
Geoff Shannon
c380a3f001
Update prelude-find-user-init-file docstring
To reference the variable that it actually pulls from now
12 years ago
Geoff Shannon
b30cc884b9
Rewrite the doc string to be less bad
12 years ago
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."
12 years ago
Geoff Shannon
eba385e3d9
Fix checkdoc problems with new custom file
12 years ago
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)
12 years ago
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
12 years ago
Bozhidar Batsov
97889cb77d
Add ace-window and use it as other-window replacement
12 years ago
Daniel Wu
7f6969cc3b
made prelude-open-with work in dired mode
12 years ago
Gabriel J. Pérez Irizarry
055ce06b38
Fixes bbatsov/prelude#528
12 years ago
Bozhidar Batsov
0c93a1c542
Ignore in recentf all files from the elpa dir and the savefile dir
12 years ago
Jeremy Bi
d82fc1f45f
Simplify `prelude-annotate-todo`, make it evaporate when modified.
12 years ago
Bozhidar Batsov
95a7eb2689
Revert "Enable desktop-save-mode by default"
This reverts commit 2383e5730c .
Conflicts:
core/prelude-ui.el
12 years ago
Zhitao Gong
5d8fd5c35a
annotate TODO in comments
12 years ago
Bozhidar Batsov
e7d9555bc3
Remove a couple of kill-related advices
Those are made redundant by the awesome easy-kill.
12 years ago
Bozhidar Batsov
b51eeff933
Colorize compilation buffers out-of-the-box
12 years ago
Bozhidar Batsov
53409cc355
Save desktop without asking anything
12 years ago
Bozhidar Batsov
2383e5730c
Enable desktop-save-mode by default
12 years ago
Bozhidar Batsov
698b24661f
Recognize Rust source files automatically
12 years ago