Giter Club home page Giter Club logo

nvim's Introduction

NeoVIM config

prepare

install dependencies

  • ripgrep

repo: https://github.com/BurntSushi/ripgrep

brew install ripgrep

install nerd fonts

Step 1 - Add Cask-Fonts Formulae

The fist step is to add the NerdFonts cask on your mac, you can do this by running the command below in your terminal:

brew tap homebrew/cask-fonts

Output:

➜   brew tap homebrew/cask-fonts
==> Tapping homebrew/cask-fonts
Cloning into '/opt/homebrew/Library/Taps/homebrew/homebrew-cask-fonts'...
remote: Enumerating objects: 67354, done.
remote: Counting objects: 100% (431/431), done.
remote: Compressing objects: 100% (201/201), done.
remote: Total 67354 (delta 300), reused 321 (delta 230), pack-reused 66923
Receiving objects: 100% (67354/67354), 13.29 MiB | 15.70 MiB/s, done.
Resolving deltas: 100% (49888/49888), done.
Tapped 2039 casks (2,072 files, 16.4MB).

Step 2 - Installing Your Target Nerd Font

Go to the link below to preview how a specific font looks before installing.

https://www.nerdfonts.com/font-downloads

Once you have located the font you wish to install, run the command:

brew install --cask <font_name>

For example, suppose you have selected the Hack font as your desired font. To install it, run the command:

brew install --cask font-jetbrains-mono

Output:

➜   brew install --cask font-hack-nerd-font
==> Downloading https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.3/Hack.zip
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/27574418/7b9eadbd-91c4-4495-afbf-28b0d9c0e3cb?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credent
######################################################################## 100.0%
==> Installing Cask font-hack-nerd-font
==> Moving Font 'Hack Regular Nerd Font Complete.ttf' to '/Users/honghao.shan/Library/Fonts/Hack Regular Nerd Font Complete.ttf'
==> Moving Font 'Hack Bold Italic Nerd Font Complete.ttf' to '/Users/honghao.shan/Library/Fonts/Hack Bold Italic Nerd Font Complete.ttf'
==> Moving Font 'Hack Bold Nerd Font Complete Mono.ttf' to '/Users/honghao.shan/Library/Fonts/Hack Bold Nerd Font Complete Mono.ttf'
==> Moving Font 'Hack Bold Nerd Font Complete.ttf' to '/Users/honghao.shan/Library/Fonts/Hack Bold Nerd Font Complete.ttf'
==> Moving Font 'Hack Italic Nerd Font Complete Mono.ttf' to '/Users/honghao.shan/Library/Fonts/Hack Italic Nerd Font Complete Mono.ttf'
==> Moving Font 'Hack Italic Nerd Font Complete.ttf' to '/Users/honghao.shan/Library/Fonts/Hack Italic Nerd Font Complete.ttf'
==> Moving Font 'Hack Regular Nerd Font Complete Mono.ttf' to '/Users/honghao.shan/Library/Fonts/Hack Regular Nerd Font Complete Mono.ttf'
==> Moving Font 'Hack Bold Italic Nerd Font Complete Mono.ttf' to '/Users/honghao.shan/Library/Fonts/Hack Bold Italic Nerd Font Complete Mono.ttf'
🍺  font-hack-nerd-font was successfully installed!

references

【全程讲解】Neovim从零配置成属于你的个人编辑器

nvim's People

Watchers

Dan Shan avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.