Use this tag for questions about modifying a particular action or task within Emacs.
Questions tagged [customize]
236 questions
42
votes
3 answers
How to change the cursor type and color?
I would like to change the cursor, like in Terminal, from the block to the I-Beam cursor.
From this:
To this:
How would I do this?
Also, on a side note, how do I change the color of the cursor?

programking
- 7,064
- 9
- 41
- 62
27
votes
5 answers
How to Change size of split screen emacs windows?
If I have Emacs split horizontally and on top I'm editing elisp code and on the bottom I am in the shell. By default, Emacs makes the two windows equal in size, but I'd like the shell buffer smaller. I was wondering how I could do that.
Original…

programking
- 7,064
- 9
- 41
- 62
24
votes
3 answers
How can I get undo behavior in Evil similar to Vim's?
The default undo behavior in Evil is too coarse-grained because it considers anything taking place between entering insert mode and leaving it as one edit operation. When you enter a whole paragraph of text during one insert and then execute undo,…

tmalsburg
- 2,540
- 1
- 14
- 29
21
votes
3 answers
Set column widths in `ibuffer`
Is there a way to customize the widths of the columns in ibuffer? Specifically, I want to widen the Name column to be able to read more of the buffer names before they get truncated. I have tried Buffer-menu-name-width, but it seems that the…

nispio
- 8,175
- 2
- 35
- 73
20
votes
3 answers
Is there a way to change color of active window's fringe?
To better distinguish between focused window and rest that are not I would love to change this window's fringe color. Discovering customize with fringe keyword I found only how to change its bg color without ability to set different colors for…

sandric
- 1,221
- 9
- 19
19
votes
3 answers
describe-face character not under / unreachable by the cursor
I like using a combination of describe-face and customize-face to adjust the appearance of my working environment. Sometime this workflow fails when I want to change the face of a location I can not reach with the cursor; mode-line, header-line,…

remvee
- 561
- 6
- 13
12
votes
2 answers
Make Buffer List take focus?
How can I make it so that when I press C-xC-b to access the Buffer List that that buffer automatically takes focus instead of having to switch to it manually with C-xo? I can't find a variable that customizes this.

Chris
- 699
- 3
- 13
12
votes
2 answers
How can I change where the customize puts custom-set-variables
Basically I would like to have (custom-set-variables ...) in a seperate file and for me to load that file.
This is just for the purpose of organisation of my init file.
How can I change the default location of custom-set-variables?

Jessie
- 317
- 1
- 6
12
votes
2 answers
Emacs always ask to trust colour theme at startup
My Emacs always prompts me if it should trust selected colour theme or not. I always answer y and y to trust and remember my choice. I'm loading colour theme manually:
(load-theme 'my-favourite-theme)
I suppose this is because easy customizations…

Geradlus_RU
- 625
- 7
- 17
11
votes
1 answer
How to use .dir-locals.el with Projectile?
I'm trying to ignore some file patterns while performing helm-projectile-grep and some with helm-projectile-find-file. I've found that it could be achieved using .dir-locals.el here.
Following this chunk of documentation I've made my .dir-locals.el…

foki
- 886
- 8
- 22
11
votes
2 answers
Word wrap line option by default
Recently I discovered emacs as a text editor for my latex documents. So far, I am excited with how powerful the editor is. However, I have a problem with line wrapping.
More precisely, in the option menu I choose line wrapping in this buffer -->…

Yorgos
- 255
- 2
- 9
10
votes
1 answer
How to customize syntax highlight for just a given mode
I would like to change the syntax highlighting in my lua-mode.el without affecting other major modes.
Just as an example, I would like "key words" like if, then, else to be in bold and blue typeface when in lua-mode (instead of the default pink)…

Pier Paolo
- 275
- 3
- 10
10
votes
3 answers
Can I change the background color of the inactive minibuffer?
I tried it with the following settings:
(add-hook 'minibuffer-setup-hook
(lambda ()
(make-local-variable 'face-remapping-alist)
(add-to-list 'face-remapping-alist '(default (:background "green")))))
(set-face-background…

Lenar Hoyt
- 1,163
- 7
- 25
10
votes
1 answer
How can I add a new colon-command to Evil?
evil-mode introduces vim-style colon commands (such as :wq to save and close).
I have a few commands (such as kill-buffer, org-babel-tangle) that I'd like to be able to run through this instead of the keybindings they currently have.
How can I add…

J David Smith
- 2,635
- 1
- 16
- 27
9
votes
2 answers
How can I fill the entire line number bar with a custom background color?
In the screenshot below I have simply set the background of the linum face to some color, however there is a blank region at the end of the buffer and there are gaps between the lines when line wrapping (global-visual-line-mode) is enabled:
…

Lenar Hoyt
- 1,163
- 7
- 25