Code Monkey home page Code Monkey logo

nvim's Introduction

neovim config

Instration

Linux

git clone https://github.com/arakkkkk/nvim ~/.config/nvim
sudo apt install nvim

https://github.com/neovim/neovim/wiki/Installing-Neovim#appimage-universal-linux-package

Windows

git clone https://github.com/arakkkkk/nvim AppData/Local/nvim
winget install Neovim.Neovim

Plugins

See all plugins in here.

LSP completion

  1. Install LS with :Mason.
  2. Set up automatically.
  • nvim-lspconfig
  • nvim-cmp

Formatter

  1. Install Formatter with :Mason.
  2. Set up formatter with conform.nvim.
  • nvim/lua/configs/conform.lua

Linter

  1. Install Formatter with :Mason.
  2. Set up formatter with nvim-lint.nvim.
  • nvim/lua/configs/lint.lua

Usage

Keymap

See all keymaps in here.

key action plugin
ff Find file(file name) telescope.nvim
fg Search file telescope.nvim
fo File history telescope.nvim
e File tree nvim-tree.lua
t Code outline aerial.nvim
K Code information lspsaga.nvim
gd Jump definition lspsaga.nvim
ga Code action lspsaga.nvim
[e / ]e Next / Previous diagnostics lspsaga/nvim
j Jump cursole hop.nvim
/// Move cursole smart-splits.nvim
/ Shift buffer bufferline.nvim
<C-> Floating term toggleterm.nvim
ss
siw

Others

How to add LSP

  1. Select and install LSP with Mason by :Mason

check lsp status

:LspInfo

For python development

pip install pynvim

commands

Registers

  • "
    • clipboard
    • clipboard
  • r
    • command to quick run
  • c
    • command to run with !

nvim's People

Contributors

arakkkkk avatar

Watchers

 avatar

nvim's Issues

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.