---
title: "Discussion on \"Advent Of Vim, Episode 1\" | Hashnode"
description: "Discussion on \"Advent Of Vim, Episode 1\". Solving AdventOfCode challenges in 10 seconds using VIM and Neovim!"
url: "https://hashnode.com/posts/how-to-solve-advent-of-code-using-only-vim-episode-1/6570e6ab308afabeeaf214f6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Advent Of Vim, Episode 1](https://cipherlogs.com/how-to-solve-advent-of-code-using-only-vim-episode-1?utm_source=hashnode&utm_medium=feed)

Solving AdventOfCode challenges in 10 seconds using VIM and Neovim!

Dec 6, 2023 · 3 min read · cipherlogs.com  
Updated Jan 1, 2024  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#developer](https://hashnode.com/tag/developer)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Nedal](https://hashnode.com/@cipherlogs)

@cipherlogs

  
[View profile](https://hashnode.com/@cipherlogs)

Working on community-driven sprints that is transforming the lives of developers http://github.com/cipherlogs/s909

Working on community-driven sprints that will transform the lives of developers https://github.com/cipherlogs/s909

## Responses 1

Markdown supported · ⌘↵ to post

[LAST](https://hashnode.com/@last7617)

[Dec 11, 2023](https://hashnode.com/posts/how-to-solve-advent-of-code-using-only-vim-episode-1/6570e6ab308afabeeaf214f6/comment/6576c68c32862421fbab7afe)

I think you might be missing one backslash before the `eval` stuff in the "1.2Part1 Second method..." part, step 3, `:%s/.*/=eval(submatch(0))`. I'm new to vimscript, sorry if I'm wrong about it.

[Nedal](https://hashnode.com/@cipherlogs)

[Dec 11, 2023](https://hashnode.com/posts/how-to-solve-advent-of-code-using-only-vim-episode-1/6570e6ab308afabeeaf214f6/comment/6576c68c32862421fbab7afe#reply-6576c7e732862421fbab8950)

That's true, I forgot to escape the expression register `=`. Thank you.
