Giter Club home page Giter Club logo

neovim's Introduction

Neovim

Language

To use this config, first download some dependencies:

# Vim-plug
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
       https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'

# Some runtimes are needed, install only those you don't have
sudo pacman -S nodejs npm python python-pip ruby rubygems

# Download neovim packages
pip install neovim
gem install neovim
sudo npm i -g neovim

# Some other dependencies
sudo pacman -S xsel fzf ripgrep fd the_silver_searcher prettier
yay -S universal-ctags-git

Then execute :PlugInstall inside neovim and it should be ready.

Vscode

Copy settings.json and keybindings.json from my gist. and then install the Which Key and Neovim extensions.

This are some keybingins besides default ones:

Key Action
jk or kj Go to normal mode (from insert)
alt + [hjkl] Resize split
control + [hjkl] Navigate splits
control + s Save
control + q Save and quit
tab Next buffer
shift + tab Previous buffer
control + b Close buffer
shift + < or > Indent one level or remove it (visual)
shift + k or j Move selected line down or up (visual)

Plugin keybindings:

Key Action
space + f Fuzzy search
space + / Comment selected line or block
space + n Toggle NerdTree
space + p Format document with prettier
shift + k Function or class documentation and arg types

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.