22 lines
627 B
Markdown
22 lines
627 B
Markdown
---
|
|
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)
|