Giter Site home page Giter Site logo

config-nvim's Introduction

Neovim Configuration

This directory contains the plugin and user configuration files used by NeoVim to manage and install plugins. The vim directory contains standard .vimrc and other settings files for core vim.

Updating plugin configuration

First, make the changes necessary to the plugin configurations (adding dependencies, changing startup scripts, etc)

Next, run :PackerSync; make sure all of the new changes are synchronized correctly.

Then, create a snapshot of the current packer configuration. :PackerSnapshot <filename>. This will create a snapshot file inside of nvim/snapshots

Lastly, update the snapshot configuration inside of nvim/lua/user/plugins.lua to point to the new filename. This locks the plugin versions being used until the next time a synchronize and snapshot is run.

Shortcuts

Leader character: ,

General

  • n - Normal mode
  • i - Insert mode
Mode Shortcut Effect
General
n zz Center cursor
n z. Center cursor, move cursor to front of line
n #gg Go to line #
n G Go to last line
n <leader>rn Rename symbol under cursor
n :%s/<find>/<replace>/gc Globally confirm replacement of <find> with <replace>. Omit c to skip confirmation, omit % to only replace once
n <C-O> Jump back to previous location (eg. after going to a function definition)
n <C-I>/<Tab> Jump forward location (eg. after going back with <C-O>)
Coc
i <cr> Accept suggestion
i <c-j> Trigger snippets
i <c-space> Trigger completion list
n [g Previous diagnostics
n ]g Next diagnostics
n gd Go to definition of symbol
n gy Go to type definition of symbol
n gi Go to implementation of symbol
n gr Go to references of symbol
n K Show documentation of symbol
Mason
Attached on a buffer load for each language server
n gD Go to declaration of symbol
n gd Go to definition of symbol
n gi Go to implementation of symbol
n gr Go to references of symbol
n K Show symbol information
n <C-k> Show signature help for symbol
Rust-specific
n <C-space> Trigger hover actions
n <leader>a Trigger code action group
Telescope
n <leader>ff Find file with browser
n <leader>fg Find file with grep (having RipGrep installed is recommended)
n <leader>fb Browse open buffers
n <leader>fh Browse help
Tree
n <leader>e Open/close tree browser
n f Filter files
Mason
n :Mason Open Mason plugin browser
Packer
n :PackerSync Update cached Packer configuration
n :PackerSnapshot [name] Add new snapshot called [name]
Dap-UI
n <cr> Expand
n o Open
n d Remove
n e Edit
n r Repl
n t Toggle
Treesitter
n <leader>J Function.outer
n <leader>Q Class.outer
ToggleTerm
n <c-\> Open/close terminal
CMP
n <C-b> Scroll docs up
n <C-f> Scroll docs down
n <C-Space> Trigger completions
n <C-e> Close completions
n <CR> Accept currently selected completion

config-nvim's People

Contributors

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