Skip to content

husol/nvim-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

nvim-setup

Plugin file for setting up nvim

  • Install main libraries
$ brew install neovim
$ brew install gopls
$ 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'
  • Setup config by copying config file from this repository to ~/.config/nvim directory

  • Install Plugins

$ nvim +PlugInstall

Some useful shortcut keys

  1. Leader key was mapped to ','
gd : Go to definition

gi : Go to implementation

tab + T: Display directory tree

ctrl-o : Go back previous open file

ctrl-p : Open fzf search window

ctrl-u : Scroll page up

ctrl-d : Scroll page down

,ae : switch to test file

,-tab : switch between previous file
  1. On fzf window, we can use Ctrl + K / J to move up / down on file list and Ctrl + U / D to move up / down on preview window

About

Plugin file for setting up nvim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •