GithubHelp home page GithubHelp logo

nvim's Introduction

_   _                 _           
| \ | | ___  _____   _(_)_ __ ___  
|  \| |/ _ \/ _ \ \ / / | '_ ` _ \ 
| |\  |  __/ (_) \ V /| | | | | | |
|_| \_|\___|\___/ \_/ |_|_| |_| |_|

Version: 0.1.3
Maintainer: Dusan Malusev
repository: https://github.com/malusev998/nvim.git

Requirements

  • neovim >= 0.5
  • ranger >= 3.9 (needed for file manager integration)
  • lua >= 5.4
  • npm >= 8.1 (needed for installing language servers)

Clone this repository

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

Install language servers

sudo npm i -g pyright \
              typescript-language-server \
              bash-language-server \
              vscode-langservers-extracted \
              dockerfile-language-server-nodejs \
              yaml-language-server \
              intelephense

Keybindings

Default Keybindings. Take note the <leader> key is by default set to ,

General

keybinding description mode
<leader>f launch ranger normal
<leader>c clear search highlights normal
<leader>q quit all windows/buffers and exit normal
<leader>o spawn integrated terminal normal
<leader>tm toggle table mode normal

Splits

keybinding description mode
<leader>v vertical split normal
<leader>h horizontal split normal
Ctrl + h move to the left split normal
Ctrl + j move to the bottom split normal
Ctrl + k move to the top split normal
Ctrl + l move to the right split normal
Ctrl + Left resize vertical split to the left normal
Ctrl + Right resize vertical split to the right normal
Ctrl + Up resize horizontal split to the top normal
Ctrl + Down resize horizontal split to the bottom normal

LSP

keybinding description mode
<leader>gd go to definition normal
<leader>gD go to declaration normal
<leader>gr find all references normal
<leader>gi go to implementation normal
<leader>gh spawn hover menu normal
<leader>gs display signature information normal
<leader>gn Move to next diagnostic normal
<leader>gp Move to previous diagnostic normal

Completion

keybinding description mode
Ctrl + d Scroll docs down insert
Ctrl + f Scroll docs up insert
Ctrl + k Move to previous completion insert
Ctrl + j Move to next completion insert
Ctrl + Space Activate completion insert
Ctrl + e Close completion menu insert
Return Confirm selection insert

Licensing

This configuration is free software.

All source code is licensed under GNU GPL, either version 3 of the license or, at your option, any later version.

nvim's People

Contributors

codelieutenant avatar dusnm avatar

Stargazers

 avatar

Watchers

 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.