Commit graph

134 commits

Author SHA1 Message Date
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
Bozhidar Batsov
db2dcb82e4 Merge pull request #525 from bixuanzju/2-commits-squashed
Simplify `prelude-annotate-todo`, make it evaporate when modified.
2014-05-26 09:44:37 +03:00
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>
2014-05-21 13:07:33 +07:00
Geoff Shannon
ab06782c9b Make prefix argument optional
It seems to be the general style of how prefix args are done...
2014-05-15 13:54:38 -07:00
Geoff Shannon
3896e421d0 Find user-init-file when given prefix arg 2014-05-15 13:48:24 -07:00
Geoff Shannon
c380a3f001 Update prelude-find-user-init-file docstring
To reference the variable that it actually pulls from now
2014-05-15 13:36:58 -07:00
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)
2014-05-15 13:36:57 -07:00
Daniel Wu
7f6969cc3b made prelude-open-with work in dired mode 2014-05-14 21:40:00 -04:00
Jeremy Bi
d82fc1f45f Simplify prelude-annotate-todo, make it evaporate when modified. 2014-04-27 23:46:08 +08:00
Zhitao Gong
5d8fd5c35a annotate TODO in comments 2014-04-19 15:28:37 -05:00
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`
2014-03-20 11:05:40 +08:00
Antoine R. Dumont
f83428f9f3 Add binding C-c U for DuckDuckGo search 2014-01-14 08:41:15 +01:00
Antoine R. Dumont
7cca7f718e Add DuckDuckGo search engine in the default list. 2014-01-11 19:17:59 +01:00
Antoine R. Dumont
8e573e1eb8 Factor the search engine installation to ease the future install of new ones. 2014-01-11 19:16:04 +01:00
Bozhidar Batsov
fa6795b71f Improve prelude-eval-and-replace 2013-12-21 22:15:52 +02:00
Bozhidar Batsov
8217618525 Simplify sexp wrapping code 2013-12-07 09:14:44 +02:00
Bozhidar Batsov
7507cecb9f Fix epl-upgrade invocation 2013-12-07 01:21:54 +02:00
Bozhidar Batsov
c65b4ca336 Add prefix arg support prelude-update-packages
With a prefix arg it will update all installed packages.
2013-12-07 01:01:54 +02:00
Bozhidar Batsov
3cc9ad7400 [Fix #444] Add command prelude-update-packages 2013-12-06 16:31:58 +02:00
Bozhidar Batsov
b9000702b2 Replace mentions of WikEmacs with EmacsWiki 2013-11-19 13:52:27 +02:00
Bozhidar Batsov
523a4851a6 Extract Helm support into a separate module 2013-11-03 23:37:40 +02:00
Bozhidar Batsov
3c8c7dec05 Do an automatic package upgrade in prelude-update 2013-10-22 15:37:05 +03:00
Dillon Kearns
155737c85d Pass prelude-kill-whole-line input as number ("p") 2013-10-03 08:00:23 -07:00
Bozhidar Batsov
3c8f0c7f98 Add prelude-find-shell-init-file 2013-09-27 11:36:47 +03:00
Bozhidar Batsov
879d3f3470 Add prelude-find-user-init-file 2013-09-27 11:18:47 +03:00
Bozhidar Batsov
580628fc98 [Fix #391] Ask for confirmation before deleting a file that's not under VC 2013-09-18 11:49:57 +03:00
Bozhidar Batsov
121ad02843 Use move-text to allow moving up or down of the selected region as well 2013-09-17 13:24:03 +03:00
toctan
c0727a8404 Add prelude-github
Conflicts:
	core/prelude-core.el
2013-09-16 09:37:54 +03:00
Bozhidar Batsov
7cae1b3427 Add new command prelude-youtube 2013-08-26 17:58:02 +03:00
Bozhidar Batsov
69861a33a0 Clean up updated prelude-open-with 2013-08-09 12:16:42 +03:00
C.Li
5eb8bf5143 open file in new session, new process 2013-08-07 20:49:21 +08:00
Bozhidar Batsov
9a26a09e78 More tips 2013-07-26 17:54:20 +03:00
Bozhidar Batsov
69e5ab693c Refine fullscreen support 2013-07-26 17:36:18 +03:00
Fidel Ramos
1abba58332 Restrict fullscreen feature to X-based systems.
Recent Emacs in OSX already comes with fullscreen support.
2013-07-26 14:17:34 +02:00
Fidel Ramos
f77ad4d854 Add command to make Emacs window fullscreen.
Default keybinding is F11. The command follows freedesktop standards,
so it should work on most desktops, at least in GNU/Linux systems.
2013-07-25 19:01:02 +02:00
Bozhidar Batsov
93c94a6f82 Add commands to increment and decrement an integer at point 2013-07-25 15:51:01 +03:00
Bozhidar Batsov
dd329a53f7 Add a few more tips 2013-07-23 16:51:02 +03:00
Bozhidar Batsov
88248111d1 Add prelude-duplicate-and-comment-current-line-or-region (fixes #348) 2013-07-13 14:15:16 +03:00
Bozhidar Batsov
e12d5fbf51 Minor cleanup 2013-07-08 12:49:35 +03:00
Bozhidar Batsov
27e05c2170 Ops :-) 2013-06-29 11:44:40 +03:00
Bozhidar Batsov
427bc31866 Replace electric-indent-mode and paredit with smartparens 2013-06-29 11:09:16 +03:00
Bozhidar Batsov
f76aab7491 Add prefix arg to prelude-smart-open-line
With a prefix arg the command will invoke prelude-smart-open-line-above
2013-06-29 09:26:23 +03:00
Bozhidar Batsov
6e7e7a4557 Add some extra keybindings
`prelude-smart-open-line` is now bound to `M-o` as well
`prelude-start-open-line-above` is not bound to `M-O` as well
2013-06-15 16:57:29 +03:00
Bozhidar Batsov
457017a5a6 Fix #337 - don't promt for sudo passwd for non-existing directories 2013-06-06 23:43:50 +03:00
Bozhidar Batsov
7bae87264f Recompile the Prelude dir on prelude-update 2013-05-31 13:05:59 +03:00
Bozhidar Batsov
4d15923e2c Add new command prelude-top-join-line
Saner version of the built-in `join-line`, that joins lines from the top
to the bottom.
2013-05-30 16:50:55 +03:00
toctan
3ef47f48fb Fix prelude-smart-open-line-above 2013-05-30 11:18:18 +08:00
Bozhidar Batsov
7aa0164bfb Add missing whitespace 2013-05-23 11:29:22 +03:00
Bozhidar Batsov
3e3d022b89 Override default move-beginning-of-line behavior 2013-05-23 11:27:01 +03:00
toctan
4b6fc89a24 Do not show the tip if cursor is in the minibuffer 2013-05-19 19:16:43 +08:00
Bozhidar Batsov
9792ca0a63 Simplify prelude-rename-file-and-buffer 2013-05-09 18:55:26 +03:00
Bozhidar Batsov
a569d45a78 Quote buffer-file-name in prelude-open 2013-05-09 18:23:07 +03:00
Bozhidar Batsov
d7d3a8fc36 Improve prelude-open-with
Now it uses `xdg-open` where it makes sense. It also accepts a prefix
argument that forces manual selection of a command to run.
2013-05-06 09:40:20 +03:00
Bozhidar Batsov
f3fffbffce Make prelude-rename-file-and-buffer vc aware 2013-05-04 10:28:04 +03:00
Bozhidar Batsov
f4d71fea83 Refactor prelude-visit-term-buffer 2013-04-29 17:12:40 +03:00
Bozhidar Batsov
4c1b6b9dea Merge branch 'master' of github.com:bbatsov/prelude
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2013-04-29 08:00:29 +03:00
Bozhidar Batsov
0a56b3ffb5 Extract prelude-start-or-switch-to 2013-04-29 07:59:51 +03:00
Luke Randall
f69c6d5713 Fix indentation 2013-04-28 21:49:01 +02:00
Luke Randall
f8de1b7060 Don't try edit dired buffer as root 2013-04-28 21:18:38 +02:00
Bozhidar Batsov
b09eaf8e0e Shorten the names displayed in prelude-recentf-ido-find-file 2013-04-28 17:35:24 +03:00
Bozhidar Batsov
73b713a850 Don't use dash.el during package init 2013-04-25 15:13:52 +03:00
Luke Randall
d392932a4a Add prelude-switch-to-previous-buffer 2013-04-24 10:24:30 +02:00
Bozhidar Batsov
5ff6ae1339 Enhance sudo editing experience 2013-04-21 10:01:43 +03:00
Bozhidar Batsov
ff9bd27831 Add prelude-kill-whole-line 2013-04-09 15:18:08 +03:00
Bozhidar Batsov
0f2da2e9b2 Minor changes 2013-04-05 14:43:15 +03:00
Bozhidar Batsov
89876777f9 Make delete-file-and-buffer vc aware 2013-04-03 12:53:37 +03:00
Bozhidar Batsov
7ba3dc16dd Address a warning 2013-04-03 12:14:04 +03:00
Bozhidar Batsov
1e10d763f3 Merge branch 'master' of github.com:bbatsov/prelude
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2013-04-02 12:14:31 +03:00
Bozhidar Batsov
c94e73f52d Update line moving commands 2013-04-02 12:14:10 +03:00
Abizer Nasir
f0c2618a3e Simplify implementation of prelude-smart-open-line-above
As suggested by bbatsov.
2013-03-31 15:52:06 +01:00
Abizer Nasir
d4bf21e6be Minor corrections to doc lines in prelude-core
They sound better grammatically.
2013-03-31 13:27:51 +01:00
Abizer Nasir
773578d255 Add prelude-smart-open-line-above defun to prelude-core.el
Opens a line above the current line and indents it.

The counterpart to prelude-smart-open-line (bound to S-ret)

The new defun is bound to C-S-ret and is documented in the README.
2013-03-31 13:27:41 +01:00
Bozhidar Batsov
56f9679ea2 Add prelude-indent-defun 2013-03-28 12:43:45 +02:00
Bozhidar Batsov
3d24efbb65 Minor refactoring 2013-03-27 12:13:24 +02:00
Bozhidar Batsov
925d624f46 Add prelude-update command 2013-03-11 20:13:06 +02:00
Bozhidar Batsov
64aa0ee0c5 Clean up prelude-mode. 2013-03-07 13:09:13 +02:00
Bozhidar Batsov
00661efa2a A bit of cleanup and doc-string fixes 2013-03-07 09:57:33 +02:00
Bozhidar Batsov
71416f0008 Improve the behaviour of the visit-term command 2013-01-30 18:04:51 +02:00
Bozhidar Batsov
cab4b80766 Display truly "random" tip on startup 2013-01-28 12:30:22 +02:00
Bozhidar Batsov
1f7f6d0bbd Fix #255.
`prelude-duplicate-current-line-or-region` was broken after the introduction of
dash.el.
2013-01-19 09:01:46 +02:00
Bozhidar Batsov
269e9137ec updated copyright 2013-01-02 13:13:59 +02:00
Bozhidar Batsov
9384846e07 bye, bye cl 2012-12-17 17:43:35 +02:00
Bozhidar Batsov
b01492e7ea moved back the prelude modules into the main Prelude project 2012-12-15 22:07:25 +02:00
Renamed from prelude/prelude-core.el (Browse further)