Skip to content

cedarcode/cedar-neovim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

cedar-neovim

Prerequisites

You can install Neovim using Homebrew:

$ brew install neovim

You can install Ripgrep using Homebrew:

$ brew install ripgrep

Installing

$ git clone https://github.com/cedarcode/cedar-neovim ~/.config/nvim

Plugins

Plugin management

We are using Lazy.nvim to manage plugins.

Plugins included

These are some of the plugins that are currently installed, we recommend you to read their documentation to get the most out of them:

Keymaps

These are the keymaps that are currently defined:

Navigation

  • Ctrl + p - Open a file browser
  • Ctrl + n - Open a file explorer
  • Ctrl + / - Open grep search
  • Ctrl + b - Open the current buffer
  • Ctrl + s - Search the word under the cursor

LSP

  • gd - Go to definition
  • gr - Go to references

Git

  • Ctrl + g - Open a file picker for git status
  • gb - Open the browser for the current file/commit
  • gl - Perform a git blame on the current file

Tip

For the complete list of keymaps, see the keymaps.lua file.

Customization

Add custom configuration

If you want to add custom keymaps or options, you can do so by creating a file at ~/.config/nvim/lua/config/user-customizations.lua and adding your customizations there.

For example, see the following structure:

-- ~/.config/nvim/lua/config/user-customizations.lua
vim.keymap.set("n", "<leader>e", "Some custom command",)

Add custom plugins

If you want to add custom plugins (and not track them in this repository), you can do so by creating a file at ~/.config/nvim/lua/plugins/custom/ directory and adding your custom plugins there.

For example, see the following structure:

-- ~/.config/nvim/lua/plugins/custom/myplugin.lua
return {
  "myusername/myplugin",
  config = function()
      -- Your custom configuration here
  end,
}

Important

Note that we are using Lazy.nvim to manage plugins, so you can use the same syntax as in the Lazy.nvim documentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages