add the old snippet md files
This commit is contained in:
parent
fc0dd204c7
commit
bcf8313a4b
110 changed files with 3048 additions and 0 deletions
22
old_snippets/emacs-doom-vim-word.en.md
Normal file
22
old_snippets/emacs-doom-vim-word.en.md
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue