---
title: "Discussion on \"Refactoring using Vim\" | Hashnode"
description: "Discussion on \"Refactoring using Vim\". How I refactored my variable across multiple files using vim\nProblem:\nA variable that needed to be refactored in over 100 occurrences but exclude my imports and also add a new line in each of my files that had that variable.\nGoal:\n//My component\nimpo..."
url: "https://hashnode.com/posts/refactoring-using-vim/66aa07e479592e4f45ef9ce2"
---

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

Discussion

# [Refactoring using Vim](https://raid3n.hashnode.dev/refactoring-using-vim?utm_source=hashnode&utm_medium=feed)

How I refactored my variable across multiple files using vim Problem: A variable that needed to be refactored in over 100 occurrences but exclude my imports and also add a new line in each of my files that had that variable. Goal: //My component impo...

Jul 31, 2024 · 2 min read · raid3n.hashnode.dev  
Read the article

-   [#vim](https://hashnode.com/tag/vim)
-   [#refactoring](https://hashnode.com/tag/refactoring)
-   [#neovim](https://hashnode.com/tag/neovim)

## Written by

[Fahad Rizwan](https://hashnode.com/@Raiden16F7)

@Raiden16F7 · Pakistan

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

React Native Developer | UI Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
