Skip to content

πŸ‘¨πŸ»β€πŸ’» My personal Neovim configuration setup

Notifications You must be signed in to change notification settings

emiliosheinz/nvim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

78 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Neovim Config

This repository serves as my personal Neovim configuration setup, tailored to enhance my development workflow. It includes various plugins, settings, and custom key mappings designed to improve productivity and streamline coding tasks. Below, you'll find detailed explanations of the key components and instructions for setting up the configuration on your own machine.

Neovim preview

✨ Features and Plugins

⚑️ Requirements

  • Neovim >= 0.10.0
  • Git >= 2.19.0 (for cloning this repo)
  • a Nerd Font (optional, but needed to display some icons)
  • lazygit (if you want to use lazygit)
  • a C compiler for nvim-treesitter. See this for more information
  • ripgrep for telescope.nvim
  • iTerm2 or any terminal that supports true color and undercurl

πŸ› οΈ Instalation

  • Make sure to backup your current Neovim config if you have one:

    # required
    mv ~/.config/nvim{,.backup}
    
    # optional but recommended
    mv ~/.local/share/nvim{,.backup}
    mv ~/.local/state/nvim{,.backup}
    mv ~/.cache/nvim{,.backup}
  • Clone this repo into your Neovim config folder

    git clone https://github.com/emiliosheinz/nvim-config ~/.config/nvim
  • Remove the .git folder, so you can add it to your own repo later

    rm -rf ~/.config/nvim/.git
  • Start Neovim πŸ₯³

    nvim

πŸ“š Usage

In this section you'll find some useful key mappings, commands, and workflows to help you get started with the configuration.

Find and replace on multiple files

Reference: https://www.youtube.com/watch?v=9JCsPsdeflY

  1. Search for the term you wan to replace using Telescope: <leader>fs
  2. Send all the results to the quickfix list using <C-q>
  3. Run :cfdo %s/old/new/g | update | bd to replace all occurrences of old with new in all files in the quickfix list

πŸ’‘ Pro tip: In case you want to preview the changes before applying them, you can use the c flag in the :s command. This will open a confirmation window for each occurrence.

About

πŸ‘¨πŸ»β€πŸ’» My personal Neovim configuration setup

Topics

Resources

Stars

Watchers

Forks

Languages