summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--config.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.org b/config.org
index 99a43f3..3eff38a 100644
--- a/config.org
+++ b/config.org
@@ -1391,6 +1391,13 @@ Use ibuffer instead of list-buffers
   (global-set-key [remap list-buffers] 'ibuffer)
 #+end_src
 
+** Clicking around
+By default, clicking on a character will always put the point in front of that character.  But it generally feels nicer for a click to put the point on the nearest side of the character to where the mouse clicked, to allow for slightly sloppier clicking.
+
+#+begin_src elisp
+  (setopt mouse-prefer-closest-glyph t)
+#+end_src
+
 * Writing code
 ** Indentation: tabs and whitespace settings
 In general, my rules for inserting tabs are that the tab key should insert tabs.  I personally prefer tabs to spaces, because tabs work reasonably well whatever font or tab width one chooses to set, whereas spaces are the same width for everyone, except when someone uses a proportional font in which case they are narrower than expected.  Furthermore, people tend to use spaces for alignment, which looks bad when you can't rely on every character being the same width.