Skip to content

aqshafei/nvim-configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim Configs

My Neovim configs with full IDE features such as autocomplete, linting, and code actions. It uses Packer as the plugin manager.
Spell check is enabled for Markdown, Txt, Org , and Latex files. Org mode is enabled and working.

Requirements

  • Neovim 0.9.2 or later

Installation

  1. Ensure that the XDG_CONFIG_HOME environment variable is set, then run the following command:

  2. Run the following command:

./install.sh
  1. Open Neovim for the first time. Ignore any errors or warnings that may appear.

  2. Type :PackerSync in Neovim to install and sync all plugins.

Plugins List

Structure

  • init.lua is the main neovim lua init config file
  • lua/keymaps.lua all the additional keymaps
  • lua/plugins.lua Packer Plugin manager configs and plugins installation
  • plugins/ all the configs for each plugins lives here
.
├── init.lua
├── lua
│   ├── keymaps.lua 
│   └── plugins.lua 
├── plugin
│   ├── bufferline.lua  
│   ├── lsp.lua
│   ├── lualine.lua
│   ├── nvim-cmp.lua
│   ├── nvim-tree.lua
│   ├── nvim-treesitter.lua
│   ├── orgmode.lua
│   ├── telescope.lua
│   ├── toggleterm.lua
│   └── vscode.lua
├── README.md

Additional Keybindings

Some plugins already have some Keybindings preset. For example, check nvim-orgmode for more Keybindings

Global Keymap

  • Ctrl+\ to Open a Horizental Terminal

Normal Mode Keymap

  • Ctrl+o to toggle nvim-tree
  • Ctrl+p to Open Telescope
  • GD to show declaration
  • Gd to show definition
  • Gi to show implementation
  • Gr to show references
  • K to hover
  • C-k to show signature help
  • Ctrl+\ to Open a Horizental Terminal
  • Alt-Enter to show code action

Notes

  • Change the orgmode home folder in plugin/orgmode.lua
  • Edit plugin/lsp.lua to add new language servers or configure current ones