loading...
Cover image for neovim as IDE

neovim as IDE

mainendra profile image Mainendra ・2 min read

Install neovim (macos 😉)

brew install neovim
Enter fullscreen mode Exit fullscreen mode

Others: https://github.com/neovim/neovim/wiki/Installing-Neovim

Install plugin manager (vim-plug)

vim-plug is one of the simple plugin manager

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'
Enter fullscreen mode Exit fullscreen mode

Useful (n)vim plugins

Plug 'gruvbox-community/gruvbox' - Awesome theme 😉
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } - Fuzzy finder, find almost anything
Plug 'junegunn/fzf.vim'
Plug 'wincent/ferret' - Powerful multi-file search
Plug 'tpope/vim-commentary' - comment out lines
Plug 'tpope/vim-surround' - surroundings
Plug 'editorconfig/editorconfig-vim' - maintain consistent coding styles for multiple projects
Plug 'neoclide/coc.nvim', {'branch': 'release'} - Intellisense engine for neovim 🤩
Plug 'mattn/emmet-vim' - emmet for vim
Plug 'pechorin/any-jump.vim' - Jump to definition or references
Plug 'sheerun/vim-polyglot' - collection of language pack, you can install individual language pack as you need

Useful coc plugins

Install

:CocInstall <package-name>
Enter fullscreen mode Exit fullscreen mode

coc-explorer - file explorer
coc-marketplace - coc plugins
coc-smartf - easily jump to any character
coc-prettier - formatter

Useful bash utilities

  1. Lazygit - terminal ui for git commands
  2. Lazydocker - terminal ui for docker
  3. broot - new way to navigate directory tree
  4. tmux - terminal multiplexer, Easy Guide

Useful terminals

  1. Alacritty - GPU-accelerated terminal emulator, brew cask install alacritty
  2. iterm2 - terminal emulator for macos

Discussion

pic
Editor guide
Collapse
bobrown101 profile image
Brady Brown

Im not sure what functionality any-jump provides as Ive never used it, but coc has go-to-definition and related features built right in.

Collapse
mainendra profile image
Mainendra Author

go-to-definition is good if you just want to jump to definition, any-jump will show both definitions (including multiple) and it's references too. Also it's more visual so easy to get bird eye view 😀