Giter VIP home page Giter VIP logo

nvim's Introduction

nvim/

Installation

General Dependencies

LSP/Formatting/Linting Dependencies

Optional dependencies based on your preferred LSPs and what Mason is installing.

  • NodeJS
  • Python 3.x Virtual Environment

Instructions

Install requires Neovim 0.9+. Always review the code before installing a configuration.

  1. Clone the repository and install the plugins:
git clone [email protected]:Givo29/nvim ~/.config/nvim
  1. Open Neovim

Layout

  • Lua
    • config/init.lua: General configuration and settings
    • config/lazy.lua: Lazy.nvim setup
    • plugins/*: Plugin specific configuration

Plugins

colorscheme

completion

diagnostics

formatting

fuzzy-finder

lsp

lsp-installer

marks

nvim-dev

plugin-manager

snippet

syntax

terminal-integration

utility

Undo management

Language Servers

  • bashls
  • emmet_ls
  • html
  • lua_ls
  • pylsp
  • tailwindcss
  • tsserver

Keymaps

General

  • Leader: <space>
Mode Keystroke Action
v K Move selected line up
v J Move selected line down
n J Move below line to end of current line
x <leader>p Preserve yank buffer when pasting over selected text
n, v <leader>y Yank to system clipboard

Harpoon

Mode Keystroke Action
n <leader>a Add file to harpoon buffer
n <ctrl>e Toggle quick menu
n <ctrl>h Select file 1
n <ctrl>j Select file 2
n <ctrl>k Select file 3
n <ctrl>l Select file 4

LSP

Mode Keystroke Action
n gr Find references
n gR Rename object
n gD Go to declaration
n gd Go to definition
n gi Show implementation
n gt Go to type definition
n, v ga Show code actions
n K Show documentation
n <leader>rs Restart LSP client

Formatting

Mode Keystroke Action
n gq Format current file
v gq Format current selection

Cmp (Autocomplete)

Mode Keystroke Action
i <C-Space> Show autocomplete suggestions
i <C-e> Close autocomplete suggestions
i <CR> Accept selected suggestion
i <C-k> Previous suggestion
i <C-j> Next suggestion
i <C-b> Scroll docs up
i <C-f> Scroll docs down

ToggleTerm

Mode Keystroke Action
a <ctrl>\ Toggle Terminal

Trouble

Mode Keystroke Action
n <leader>t Toggle for current buffer
n <leader>R Toggle for current project
n <leader>ts Toggle trouble symbols
n <leader>tq Toggle quick fix list

Undotree

Mode Keystroke Action
n <leader>u Toggle undotree

This readme was generated by Dotfyle

nvim's People

Contributors

givo29 avatar

Stargazers

Bernard Gray 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.