Commit graph

341 commits

Author SHA1 Message Date
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
44851ad5d5 Fix command name 2013-07-23 18:32:46 +03:00
Bozhidar Batsov
dd329a53f7 Add a few more tips 2013-07-23 16:51:02 +03:00
Bozhidar Batsov
1ad14ccf91 Clean up package installation code 2013-07-23 15:53:17 +03:00
Bozhidar Batsov
cc29e0f2bb Update keybindings a bit 2013-07-23 15:18:50 +03:00
Bozhidar Batsov
bdb9969ea2 Revert "flx-ido does not exist but flx does"
This reverts commit 6821b1d79b.
2013-07-17 21:18:18 +03:00
Bozhidar Batsov
84f44e0e58 Remove a problematic keybinding 2013-07-17 18:12:53 +03:00
Bozhidar Batsov
1d8ce75ffd Add a few keybindings making use of the Super key 2013-07-17 16:12:29 +03:00
Bozhidar Batsov
b7d8bf7126 Refactor the window switching advice code 2013-07-17 15:28:30 +03:00
Bozhidar Batsov
3b5ac377a0 Fix a typo 2013-07-17 13:10:40 +03:00
Levi Strope
6821b1d79b flx-ido does not exist but flx does
I had to change flx-ido to flx to avoid the following:

error: Package `flx-ido' is not available for installation
2013-07-16 21:13:05 -07:00
Bozhidar Batsov
07c1118a22 Add flx-ido to the list of default packages 2013-07-17 00:17:13 +03:00
Bozhidar Batsov
fb39a6e0b5 Remember the last 500 visited files 2013-07-15 11:56:25 +03:00
Bozhidar Batsov
f3b1d679e0 Fix ido-ubiquitous deprecation warning 2013-07-14 23:32:06 +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
f341074dd8 Add flx to list of default packages 2013-07-13 10:01:19 +03:00
Bozhidar Batsov
e70cd713f1 Add grizzl to the default list of packages 2013-07-13 09:25:53 +03:00
Bozhidar Batsov
10116b47f0 Set sp-cancel-autoskip-on-backward-movement to nil 2013-07-11 11:38:49 +03:00
Bozhidar Batsov
daabb1e373 Use helm-projectile directly (fixes #352) 2013-07-11 11:23:15 +03:00
Bozhidar Batsov
d4ba498d18 When copying the current line discard its newline (fixes #347) 2013-07-08 18:34:57 +03:00
Bozhidar Batsov
e12d5fbf51 Minor cleanup 2013-07-08 12:49:35 +03:00
Bozhidar Batsov
03b1c505f2 Remove melpa package from list of default packages 2013-07-08 12:11:36 +03:00
Bozhidar Batsov
610133b511 Remove yasnippets from the list of default packages
Prelude provided just a basic config anyways. Anyone can still install
the package manually and enable it in his/her personal config.
2013-06-29 15:47:57 +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
9116d5a0c8 Map Option to Super and Fn to Hyper
More keybinding options is never a bad thing.
2013-06-29 09:25:21 +03:00
Bozhidar Batsov
797435e8b3 Remove M-O keybinding
It interfered with the Terminal's handling of arrow keys.

This fixes #343.
2013-06-29 09:24:42 +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
1393245cfa Bind prelude-top-join-line to C-^ 2013-06-02 19:27:29 +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
Bozhidar Batsov
0e4b66d07a Remove problematic kk keychords 2013-05-23 11:10:55 +03:00
toctan
fbcb0396a0 Merge branch 'master' of https://github.com/bbatsov/prelude 2013-05-20 12:13:25 +08:00
Bozhidar Batsov
a463633f7f 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-05-19 22:14:55 +03:00
Bozhidar Batsov
01c8da8385 Bind KK to delete-horizontal-space 2013-05-19 22:14:36 +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
e1c4c129c0 Merge pull request #320 from toctan/master
Add autoloads of major modes for PKGBUILD and .zshrc file
2013-05-19 02:40:10 -07:00
Bozhidar Batsov
c058e3c473 Add kk keychord for just-one-space 2013-05-19 12:24:53 +03:00
toctan
798b7df54e Add autoloads for PKGBUILD and .zsh file 2013-05-18 00:24:56 +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
4b907b9620 Don't try to save files when you don't have the permissions to do so 2013-05-08 13:52:20 +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
ecbcc19c6d Add a few more ace-jump keychords 2013-05-04 12:26:35 +03:00
Bozhidar Batsov
f8bd9a6a78 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-05-04 10:28:22 +03:00
Bozhidar Batsov
f3fffbffce Make prelude-rename-file-and-buffer vc aware 2013-05-04 10:28:04 +03:00
Bozhidar Batsov
2866052b6c Enable erase-buffer 2013-05-04 10:27:32 +03:00
Abizer Nasir
7895dc6e42 Bind 'uu' to undo-tree-visualize 2013-05-03 16:22:01 +01:00
Bozhidar Batsov
72294d1e70 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-30 23:40:15 +03:00
Bozhidar Batsov
1f8baf08eb Enhance a bit stock dired config 2013-04-30 23:39:54 +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
Bozhidar Batsov
9ad2ae6202 Add a few more packages to auto-install 2013-04-29 22:46:22 +03:00
Bozhidar Batsov
f4d71fea83 Refactor prelude-visit-term-buffer 2013-04-29 17:12:40 +03:00
Bozhidar Batsov
37aa47f427 Disable yas-minor-mode in term-mode 2013-04-29 17:12:15 +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
f7d126fae9 Add some missing docstrings 2013-04-28 16:37:09 +03:00
Bozhidar Batsov
f24e116421 A couple of minor improvements 2013-04-28 16:29:56 +03:00
Bozhidar Batsov
c0742219a6 Merge pull request #305 from toctan/master
Add smex and ido-ubiquitous for better `M-x`
2013-04-28 06:23:51 -07:00
Bozhidar Batsov
c698fafe6d Restore compatibility with Emacs 24.2 2013-04-28 13:12:57 +03:00
toctan
bdd9ceb7c8 Correct the packages alphabetical order 2013-04-25 20:32:06 +08:00
toctan
7ef5a9ac79 Merge branch 'master' of https://github.com/bbatsov/prelude 2013-04-25 20:23:06 +08:00
Bozhidar Batsov
73b713a850 Don't use dash.el during package init 2013-04-25 15:13:52 +03:00
toctan
0ad998d618 Add smex and ido-ubiquitous for better M-x 2013-04-25 00:05:33 +08:00
Luke Randall
2ef43e5fcf Add key chord for prelude-switch-to-previous-buffer 2013-04-24 10:24:44 +02:00
Luke Randall
d392932a4a Add prelude-switch-to-previous-buffer 2013-04-24 10:24:30 +02:00
Bozhidar Batsov
557dd31b84 Don't auto-install python-mode anymore
It's part of Emacs 24.3 now
2013-04-23 14:26:11 +03:00
Bozhidar Batsov
5ff6ae1339 Enhance sudo editing experience 2013-04-21 10:01:43 +03:00
Bozhidar Batsov
74100057b3 Enable dired-x by default 2013-04-13 18:36:47 +03:00
Bozhidar Batsov
555cc79d89 Minor change 2013-04-12 19:05:40 +03:00
Bozhidar Batsov
0339d5a4b3 Introduce key-chord to the default-packages 2013-04-11 18:27:32 +03:00
Bozhidar Batsov
ff9bd27831 Add prelude-kill-whole-line 2013-04-09 15:18:08 +03:00
Bozhidar Batsov
29f5157bf3 Make backward kill line respect indentation 2013-04-09 14:43:48 +03:00
Bozhidar Batsov
1bf7a3f8a8 Add a keybinding for backward line killing 2013-04-08 18:50:05 +03:00
Bozhidar Batsov
00b16e5ce7 Code style 2013-04-06 17:48:13 +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
772e01c483 Fix a typo 2013-03-28 18:10:42 +02:00
Bozhidar Batsov
38959dd81b Code style 2013-03-28 17:30:03 +02:00
Bozhidar Batsov
cf0230f98c Code style 2013-03-28 17:22:33 +02:00
Bozhidar Batsov
89ea1f19f0 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-03-28 12:44:32 +02:00
Bozhidar Batsov
56f9679ea2 Add prelude-indent-defun 2013-03-28 12:43:45 +02:00
Bozhidar Batsov
75a6769019 Merge pull request #285 from nathanstitt/clean-whitespace-on-save
Make cleaning white space on save an option
2013-03-27 10:45:47 -07:00
Nathan Stitt
fcdae17485 Add prelude-clean-whitespace-on-save to README.md
Also fix incorrect indentation in prelude-editor.el changes.
Good catch bbotsov!
2013-03-27 12:30:10 -05:00
Bozhidar Batsov
a3d8809a5c Fix docstring 2013-03-27 19:06:28 +02:00
Bozhidar Batsov
d24e5ed664 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-03-27 12:13:46 +02:00
Bozhidar Batsov
3d24efbb65 Minor refactoring 2013-03-27 12:13:24 +02:00
Nathan Stitt
2860441f7e Allow configuring cleaning white space on save
This condition is checked when saving if the existing
whitespace-cleanup is set instead of when the when prog-mode is is
entered.  This way it can be over-ridden by either dir-locals or
file-local variables.
2013-03-25 17:35:00 -05:00
Manuel Rivas
0b1cff43b0 fix ensure module exec-path-from-shell 2013-03-23 11:59:55 +01:00
Bozhidar Batsov
b46ec6dad3 Remove poorly supported magithub package 2013-03-23 10:55:47 +02:00
Bozhidar Batsov
432e602977 A few minor changes regarding OSX support 2013-03-23 10:52:23 +02:00
Bozhidar Batsov
2d3d1e12a8 Remove some problematic menu-bar-mode logic 2013-03-22 14:22:12 +02:00
Bozhidar Batsov
3ac3415a2c C-M-h is more useful as mark-defun 2013-03-15 17:32:39 +02:00
Bozhidar Batsov
02b3f27e65 Cleaned up some requires here and there 2013-03-12 21:56:21 +02:00
Bozhidar Batsov
3f29bd26f1 Add a couple of jump-to-def keybindings 2013-03-12 14:58:44 +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
5803d30af6 Clean up the modeline a bit with diminish.el 2013-03-06 21:43:59 +02:00
Bozhidar Batsov
d3a9c0bb8b Enhance git support
Added a couple of git related modes to the default distribution:

* git-commit-mode
* gitconfig-mode
* gitignore-mode
2013-02-27 14:25:56 +02:00
Bozhidar Batsov
29e156f967 Fix #264 - disable autoindent on yank for python-mode 2013-02-10 18:12:57 +02:00
Bozhidar Batsov
d324388bdc Add undo-tree to the default Prelude packages 2013-02-07 00:34:02 +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
202451cb57 Remove dubious workaround for package.el timeout problem. 2013-01-17 12:19:57 +02:00
Bozhidar Batsov
90a6a5c8e1 Map Command to Meta as well. 2013-01-17 12:17:57 +02:00
Bozhidar Batsov
2211e1137a Auto-install slim-mode. 2013-01-17 12:17:35 +02:00
Bozhidar Batsov
5a8a724abb Fix the toggle behavior of prelude-mode. 2013-01-13 16:16:17 +02:00
Bozhidar Batsov
97bab294cc Move Prelude's menu item under Tools. 2013-01-13 15:07:26 +02:00
Bozhidar Batsov
104c84e905 Add ace-jump-mode to the default package set. 2013-01-13 15:06:57 +02:00
Bozhidar Batsov
f242489747 enable whitespace-mode in modes derived from text-mode 2013-01-05 10:38:12 +02:00
Bozhidar Batsov
f6683e9dc6 fixed a typo 2013-01-02 18:37:03 +02:00
Bozhidar Batsov
fb912ea26c added flycheck-mode 2013-01-02 18:00:12 +02:00
Bozhidar Batsov
269e9137ec updated copyright 2013-01-02 13:13:59 +02:00
Bozhidar Batsov
43cb5ecf8c enabled winner-mode by default 2013-01-01 21:38:50 +02:00
Bozhidar Batsov
e8cd914e50 code style 2013-01-01 21:31:58 +02:00
Bozhidar Batsov
5c2b033d42 show the prelude-mode-map in prelude-mode's help 2013-01-01 21:27:22 +02:00
Bozhidar Batsov
0bc3897191 added an autoload and a keybinding for zap-up-to-char 2012-12-26 10:38:03 +02:00
Bozhidar Batsov
1c5658d882 by popular demand - added elisp-slime-nav 2012-12-23 15:33:27 +02:00
Bozhidar Batsov
152546ff48 reenabled whitespace-mode by default and made it a lot less intrusive 2012-12-23 11:24:55 +02:00
Bozhidar Batsov
2f098392c7 fixed #246 - uncommented yasnippet init code 2012-12-20 15:12:10 +02:00
Bozhidar Batsov
1a61031c53 auto-install scala-mode2 instead of scala-mode 2012-12-20 14:25:07 +02:00
Bozhidar Batsov
9384846e07 bye, bye cl 2012-12-17 17:43:35 +02:00
Bozhidar Batsov
bb6f87c904 fixed #241 - fixed a typo in a function name 2012-12-15 23:05:47 +02:00
Bozhidar Batsov
b01492e7ea moved back the prelude modules into the main Prelude project 2012-12-15 22:07:25 +02:00