toctan
e28d03818d
Respect `delete-by-moving-to-trash`
close bbatsov/prelude#864
10 years ago
Bozhidar Batsov
2b6615381d
[ Fix #827 ] Make it possible to disable the tips
11 years ago
Geoff Shannon
67cf26cbbd
Don't open a file as root if it is owned by the current user
Fixes #839 .
The reasoning behind this is that if we own a file, we can change it's
permissions with `chmod` so there's probably a good reason it's not
writable.
11 years ago
Geoff Shannon
cd9ea1edee
Change how the "re-open file as root" functionality works
Fixes #850
Use find-file-hook instead of advising ido-find-file.
11 years ago
Geoff Shannon
61d45f8e6e
Extract a function for reopening a file as root
11 years ago
Swaroop
bcde6a59bd
Add tip on keyboard shortcut for ace-jump-mode
11 years ago
Andrzej Pronobis
925ed507b1
Fixed the problem with ido/untabify defadvice triggering got redefined error
11 years ago
Swaroop C H
e3831fc993
Add tip on keyboard shortcut to open recent file
11 years ago
Swaroop C H
cdc4314081
Add Prelude tip on keyboard shortcut to join lines
11 years ago
Bozhidar Batsov
c2da437aa4
Update copyright years
11 years ago
Bozhidar Batsov
dc861b7c8b
[ Fix #798 ] Prompt for confirmation in prelude-kill-other-buffers
11 years ago
Bozhidar Batsov
c4e9a587c5
Require imenu for prelude-goto-symbol
11 years ago
k1-hedayati
37b72fb2f1
[ Fix #764 ] Removed redundant command
`prelude-copy-file-name-to-clipboard` is redundant due to easy-kill package
11 years ago
Bozhidar Batsov
dc82375714
Update copyright years
11 years ago
Doug MacEachern
4517a2f594
Add prelude-term-buffer-name variable
This provides multi-term support via .dir-locals.el for example.
11 years ago
Bozhidar Batsov
3017a15150
Rename prelude-ido-goto-symbol to prelude-goto-symbol
11 years ago
Bozhidar Batsov
adb9ad3529
Remove redundant feature check
11 years ago
Bozhidar Batsov
8f06d26de2
[ Fix #580 ] Preserve symbols order in prelude-ido-goto-symbol
11 years ago
Bozhidar Batsov
5644022e06
Clean up a bit prelude-ido-goto-symbol
11 years ago
Bozhidar Batsov
438c3e5bdf
Move prelude-ido-goto-symbol to prelude-core
11 years ago
toctan
108adcdbc3
Fix prelude-open-with on gnu/linux/freebsd
11 years ago
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`
11 years ago
Aleksei Gusev
6f05616b60
Update documentation and tips for projectile keys
11 years ago
Tobias Adam
7bcfcf6b21
Remove two keybinding tips concerning Super
- <s-f> was removed in commit d49a8e9a16 .
- <s-m> was removed in commit 0e1632868e .
11 years ago
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.
11 years ago
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.
11 years ago
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
12 years ago
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.
12 years ago
Daniel Wu
6c337b21a0
fixed a bug in prelude-create-scratch-buffer
12 years ago
Jory Graham
e1f9016432
Use the phrase 'open a line' in both tips
12 years ago
toctan
4dab9a193a
Respect initial-major-mode creating scratch buffer
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
toctan
0e75110769
Rename buffer not visiting files
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
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
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
c380a3f001
Update prelude-find-user-init-file docstring
To reference the variable that it actually pulls from now
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
Daniel Wu
7f6969cc3b
made prelude-open-with work in dired mode
12 years ago
Jeremy Bi
d82fc1f45f
Simplify `prelude-annotate-todo`, make it evaporate when modified.
12 years ago
Zhitao Gong
5d8fd5c35a
annotate TODO in comments
12 years ago
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`
12 years ago
Antoine R. Dumont
f83428f9f3
Add binding `C-c U` for DuckDuckGo search
12 years ago
Antoine R. Dumont
7cca7f718e
Add DuckDuckGo search engine in the default list.
12 years ago
Antoine R. Dumont
8e573e1eb8
Factor the search engine installation to ease the future install of new ones.
12 years ago