Giter Club home page Giter Club logo

astronvim_with_coc_or_mason's Introduction

AstroNvim User Configuration Example

A user configuration template for AstroNvim

now i use mason more, so this branch mason only have lsp. if you want to use coc, switch branch to main, and set vim.g.lsp_type = "coc"

vim.g.lsp_type = "coc" -- use coc as lsp server
vim.g.lsp_type = "lsp" -- use mason as lsp server

recommend

brew install fzf

NOTE

vim.lsp.buf.hover() KK jump into signature help float window.

Displays hover information about the symbol under the cursor in a floating
window. Calling the function twice will jump into the floating window.

๐Ÿ› ๏ธ Installation

Make a backup of your current nvim and shared folder

mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bak

Clone AstroNvim

git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim

Create a new user repository from this template

Press the "Use this template" button above to create a new repository to store your user configuration.

You can also just clone this repository directly if you do not want to track your user configuration in GitHub.

Clone the repository

git clone https://github.com/chaozwn/astronvim_with_coc_or_mason ~/.config/nvim/lua/user

Start Neovim

nvim

General Mappings

Action Mappings
Leader key Space
Resize up Ctrl + Up
Resize Down Ctrl + Down
Resize Left Ctrl + Left
Resize Right Ctrl + Right
Up Window Ctrl + k
Down Window Ctrl + j
Left Window Ctrl + h
Right Window Ctrl + l
Force Write Ctrl + s
Force Quit Ctrl + q
New File Leader + n
Close Buffer Leader + c
Next Tab (real vim tab) ]t
Previous Tab (real vim tab) [t
Comment Leader + /
Horizontal Split \
Vertical Split |

astronvim_with_coc_or_mason's People

Contributors

chaozwn 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.