Skip to content

miguelfrndz/NeoVim-Config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

NeoVim-Config

Personal NeoVim Configuration.

Keyboard Shortcuts

  • Toggle Diagnostics (disabled by default): <Leader>e (by default <Leader> is assigned to \)
  • NvimTree Toggle (File Explorer, enabled by default): <C-n>
  • Telescope File Finder: <C-p>
  • Telescope Live Grep: <C-f>
  • Within the autocomplete functions of the selected LSP-Server:
    • Next Suggestion: <C-n>
    • Previous Suggestion: <C-p>
    • Up in the Suggestion Documentation: <C-u>
    • Down in the Suggestion Documentation: <C-d>

NeoVim Installation

(I suggest you rather follow the official installation steps)

In order to download the latest version of neovim:

curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod u+x nvim.appimage
./nvim.appimage

In order to create a shortcut as nvim:

sudo ln -s ./nvim.appimage /usr/bin/nvim

Configuration Setup

In order to setup the current configuration, move the init.lua file to ~/.config/nvim/init.lua

Appendix A - .zshrc Setup

Additionaly, you can add the following lines to your .zshrc configuration file to enable autocompletion and slash-completion:

# Enable completion
autoload -U compinit
compinit

# Add a "/" after ".." when pressing Tab
zstyle ':completion:*' special-dirs true
export PATH="/usr/local/sbin:$PATH"

About

Personal NeoVim Configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages