Commit graph

80 commits

Author SHA1 Message Date
Bozhidar Batsov 35c0937784 Use anzu for query-replace 2014-08-28 18:40:43 +03:00
Bozhidar Batsov a7bae36f8a Merge pull request #592 from toctan/set-buffer-major-mode
Set new special buffer mode according to `auto-mode-alist'
2014-07-15 13:10:10 +03:00
Bozhidar Batsov fa40fc8a7e [Fix #604] Save only the current buffer on focus lost 2014-07-14 18:54:49 +03:00
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.
2014-07-01 20:47:15 +08:00
toctan 3ac1cc8f00 Remove duplication advice of yank and yank-pop 2014-06-25 10:21:51 +08:00
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.
2014-06-25 10:21:51 +08:00
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
2014-06-25 10:21:51 +08:00
toctan ba2272a690 Prefer advice over remap exchange-point-and-mark 2014-06-08 13:18:06 +08:00
Tu Do ca9dc4676c Update document and operate-on-number key bindings
Signed-off-by: Tu Do <tuhdo1710@gmail.com>
2014-05-29 11:10:04 +07:00
toctan 93d73e0f93 Newline at end of file 2014-05-27 00:05:29 +08:00
Bozhidar Batsov 94a0dde302 Code style 2014-05-25 14:02:48 +03:00
Bozhidar Batsov 381dc28439 Exclude magit's commit message files in recentf 2014-05-25 14:00:10 +03:00
Bozhidar Batsov cc5a2ed2dd Merge pull request #532 from tatsuhirosatou/fixTrampRecentf
Fixes bbatsov/prelude#528
2014-05-21 09:33:03 +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 5ffa4bb187 Pull Prelude's custom variables into a new file
This is so we can define a custom variable to use in prelude-core
2014-05-15 13:36:57 -07:00
Gabriel J. Pérez Irizarry 055ce06b38 Fixes bbatsov/prelude#528 2014-05-09 12:07:55 -04:00
Bozhidar Batsov 0c93a1c542 Ignore in recentf all files from the elpa dir and the savefile dir 2014-04-30 12:46:32 +03:00
Bozhidar Batsov e7d9555bc3 Remove a couple of kill-related advices
Those are made redundant by the awesome easy-kill.
2014-04-19 15:05:09 +03:00
Bozhidar Batsov b51eeff933 Colorize compilation buffers out-of-the-box 2014-04-19 10:29:14 +03:00
Bozhidar Batsov 41da475ed4 Save all buffers on focus lost 2014-04-14 17:54:13 +03:00
Bozhidar Batsov 244fe33296 Merge branch 'master' of github.com:bbatsov/prelude
Conflicts:
	core/prelude-editor.el
2014-04-14 17:41:16 +03:00
Bozhidar Batsov 5538bb77b9 Add diff-hl package 2014-04-14 17:40:34 +03:00
Bozhidar Batsov f5092b31fd Add the easy-kill package 2014-04-12 17:47:06 +03:00
Bozhidar Batsov c9b6b8a76c Don't mess with Projectile's modeline text 2014-03-10 11:58:31 +02:00
Bozhidar Batsov 86ba702f48 Enable browse-kill-ring's default keybindings 2013-12-14 11:06:53 +02:00
Bozhidar Batsov 654e4eb463 Add browse-kill-ring package 2013-12-11 11:50:32 +02:00
Bozhidar Batsov d54d3956fd Improve tab's behavior
It now does both indentation and completion (when supported)
2013-12-07 09:40:05 +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
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 dae1e4d1bc Some minor changes in yank-pop 2013-11-19 12:02:36 +02:00
Bozhidar Batsov 523a4851a6 Extract Helm support into a separate module 2013-11-03 23:37:40 +02:00
Bozhidar Batsov 9eca62cd76 Define a few basic wrapping keybindings 2013-10-17 19:20:28 +03:00
Bozhidar Batsov 8fb1986b5d Disable annoying blink-matching-paren 2013-10-07 18:13:04 +03:00
Bozhidar Batsov 8bd7843a02 Replace show-parens-mode with show-smartparens-mode 2013-10-04 12:43:32 +03:00
Bozhidar Batsov e026389790 Revert "Disable anzu temporarily due to a bug in it"
This reverts commit 239571f17b.
2013-09-27 15:07:40 +03:00
Bozhidar Batsov 239571f17b Disable anzu temporarily due to a bug in it 2013-09-27 13:16:45 +03:00
Bozhidar Batsov 5d4220f5b4 Add anzu 2013-09-27 12:35:04 +03:00
Bozhidar Batsov 5a01605564 Enable smartparens only for programming modes 2013-09-26 14:33:33 +03:00
Bozhidar Batsov a1152019bc Don't kill entire symbol at point when doing sp-hybrid-kill 2013-09-26 12:31:00 +03:00
Bozhidar Batsov 0dfb6c9287 Set properly smartparens's default keymap 2013-08-22 14:58:19 +03:00
Bozhidar Batsov 578a92e004 Always auto-skip closing pair 2013-08-06 22:51:10 +03:00
Bozhidar Batsov 04b68e7482 Disable ido's annoying auto-merging of directories if no match is found 2013-08-06 22:40:31 +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
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 f341074dd8 Add flx to list of default packages 2013-07-13 10:01:19 +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