Skip to content

About

Configuration files for Neovim, synced through cronjobs

Resources

Stars

3 stars

Watchers

2 watching

Forks

Repository files navigation

My Neovim Configuration

This repository contains my personal Neovim configuration. Feel free to explore and use any parts of it that you find useful! This is a combination of amazing configurations I found online and a few personal changes

Installation

  1. Make sure you have Neovim installed.

  2. Clone this repository to your local machine:

    sudo apt install curl git zsh -y 
    mkdir -p ~/.config/nvim
    git clone https://github.com/hashaam1217/NvimConfig ~/.config/nvim
    sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
        https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
    git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
    sed -i "s/robbyrussell/bira/g" ~/.zshrc # Changing Theme to the one I like 
    sed -i "s/git/git zsh-autosuggestions zsh-syntax-highlighting/g" ~/.zshrc # Adding plugins using ohmyzsh
    source ~/.zshrc
  3. Install the required plugins (requires vimplug) by opening Neovim and running:

    :PlugInstall
    
  4. Enjoy your customized Neovim setup!

Features

  • Deoplete for autocompletion
  • GitGutter for showing Git changes
  • ALE for linting
  • Airline for a nice status line
  • Markdown support with Treesitter
  • SystemVerilog syntax highlighting and completion
  • Telescope for fuzzy file navigation
  • FZF/Ctrlp for searching files

Key Mappings

  • ,d: Vertical split
  • ,s: Horizontal split
  • ,w: Switch between panes
  • ,]: Next tab
  • ,[: Previous tab
  • ,T: New tab
  • ,fd: Insert current date
  • ,ev: Edit init.vim (your Neovim config file)
  • ,evs: Source init.vim to apply changes

tree-sitter issue with nvim, todo later

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

About

Configuration files for Neovim, synced through cronjobs

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages