Keyvan Hedayati
daf52c2b0a
[ Fix #623 ] Restored kill-region defadvice
When no region selected `C-w` kills current line
11 years ago
lexa
8c55c6f4bb
Added helper to open file with emacsclient using filename:line path
Most of console-based utilities prints filename in format
"filename:linenumber". So you may wish to open filename in that format.
This little 'advice' can do that. Just call
emacsclient filename:linenumber
and cursor will be positioned on requested line
11 years ago
Fanael Linithien
502b82eb52
Tell savehist to actually save "search-ring"…
…instead of "search" and "ring".
11 years ago
Bozhidar Batsov
35c0937784
Use anzu for query-replace
11 years ago
Bozhidar Batsov
fa40fc8a7e
[ Fix #604 ] Save only the current buffer on focus lost
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
Tu Do
ca9dc4676c
Update document and operate-on-number key bindings
Signed-off-by: Tu Do <tuhdo1710@gmail.com>
12 years ago
toctan
93d73e0f93
Newline at end of file
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
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
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
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
41da475ed4
Save all buffers on focus lost
12 years ago
Bozhidar Batsov
5538bb77b9
Add diff-hl package
12 years ago
Bozhidar Batsov
f5092b31fd
Add the easy-kill package
12 years ago
Bozhidar Batsov
c9b6b8a76c
Don't mess with Projectile's modeline text
12 years ago
Bozhidar Batsov
86ba702f48
Enable browse-kill-ring's default keybindings
12 years ago
Bozhidar Batsov
654e4eb463
Add browse-kill-ring package
12 years ago
Bozhidar Batsov
d54d3956fd
Improve tab's behavior
It now does both indentation and completion (when supported)
12 years ago
Bozhidar Batsov
8217618525
Simplify sexp wrapping code
12 years ago
Bozhidar Batsov
150ac9e510
[ Fix #433 ] Disable problematic binding M-[
12 years ago
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).
12 years ago
Bozhidar Batsov
dae1e4d1bc
Some minor changes in yank-pop
12 years ago
Bozhidar Batsov
523a4851a6
Extract Helm support into a separate module
12 years ago
Bozhidar Batsov
9eca62cd76
Define a few basic wrapping keybindings
12 years ago
Bozhidar Batsov
8fb1986b5d
Disable annoying blink-matching-paren
12 years ago
Bozhidar Batsov
8bd7843a02
Replace show-parens-mode with show-smartparens-mode
12 years ago
Bozhidar Batsov
e026389790
Revert "Disable anzu temporarily due to a bug in it"
This reverts commit 239571f17b .
12 years ago
Bozhidar Batsov
239571f17b
Disable anzu temporarily due to a bug in it
12 years ago
Bozhidar Batsov
5d4220f5b4
Add anzu
12 years ago
Bozhidar Batsov
5a01605564
Enable smartparens only for programming modes
12 years ago
Bozhidar Batsov
a1152019bc
Don't kill entire symbol at point when doing sp-hybrid-kill
12 years ago
Bozhidar Batsov
0dfb6c9287
Set properly smartparens's default keymap
12 years ago
Bozhidar Batsov
578a92e004
Always auto-skip closing pair
13 years ago
Bozhidar Batsov
04b68e7482
Disable ido's annoying auto-merging of directories if no match is found
13 years ago
Bozhidar Batsov
b7d8bf7126
Refactor the window switching advice code
13 years ago
Bozhidar Batsov
3b5ac377a0
Fix a typo
13 years ago
Bozhidar Batsov
fb39a6e0b5
Remember the last 500 visited files
13 years ago
Bozhidar Batsov
f3b1d679e0
Fix ido-ubiquitous deprecation warning
13 years ago
Bozhidar Batsov
f341074dd8
Add flx to list of default packages
13 years ago
Bozhidar Batsov
10116b47f0
Set sp-cancel-autoskip-on-backward-movement to nil
13 years ago
Bozhidar Batsov
daabb1e373
Use helm-projectile directly ( fixes #352 )
13 years ago