add the old snippet md files

This commit is contained in:
Travis Shears 2025-06-05 16:20:57 +02:00
parent fc0dd204c7
commit bcf8313a4b
110 changed files with 3048 additions and 0 deletions

View file

@ -0,0 +1,22 @@
---
title: "make emacs words closer to vim"
date: 2021-10-20T20:18:34+02:00
seo_description: "code snippet explaining how to make emacs more like vim"
draft: false
snippet_types:
- emacs
---
I love [doomacs](https://github.com/hlissner/doom-emacs) but jumping around words it bugged me underscores were not
considered part of the word like in vim. After six months of dealing with it I
stumbled upon a solution!
Simply put this in my **.doom.d/config.el**.
```emacs
(modify-syntax-entry ?_ "w")
```
source: [emacs.stackexchange](https://emacs.stackexchange.com/questions/9583/how-to-treat-underscore-as-part-of-the-word)