Home

Neovim

Installation

On Mac, use brew: brew install vim

Settings

Install Vim Plug for plugins and check personal Gist for useful plugins.

Some of the plugins include:

call plug#begin('~/.local/share/nvim/plugged') Plug 'Yggdroot/indentLine' Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'junegunn/fzf.vim' Plug 'morhetz/gruvbox' Plug 'mattn/emmet-vim' Plug 'tpope/vim-surround' Plug 'tpope/vim-commentary' Plug 'tpope/vim-repeat' Plug 'sheerun/vim-polyglot' Plug 'fatih/vim-go' Plug 'scrooloose/nerdtree' Plug 'jlanzarotta/bufexplorer' " Plug 'Numkil/ag.nvim' Plug 'mhinz/vim-grepper' Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'tpope/vim-fugitive' Plug 'dense-analysis/ale' Plug 'tpope/vim-sleuth' " automaticlly guess indentation settings " Plug 'kien/ctrlp.vim' " Plug 'ivalkeen/vim-ctrlp-tjump' " Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } Plug 'pangloss/vim-javascript' " Plug 'leafgarland/typescript-vim' " Plug 'peitalin/vim-jsx-typescript' " Plug 'mhartington/nvim-typescript', {'for': ['typescript', 'typescript.tsx'], 'do': './install.sh' } Plug 'flowtype/vim-flow' " Plug 'amdeus/vim-xml' Plug 'amadeus/vim-jsx' Plug 'leafgarland/typescript-vim' Plug 'peitalin/vim-jsx-typescript' Plug 'elixir-editors/vim-elixir' " Plug 'neoclide/coc.nvim', {'do': { -> coc#util#install()}} " Typescript " Plug 'HerringtonDarkholme/yats.vim' " " For async completion " Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } " " For Denite features " Plug 'Shougo/denite.nvim' Plug 'elmcast/elm-vim' Plug 'tpope/vim-commentary' " Plug 'fatih/vim-go', { 'for': 'go' } " Plug 'zchee/deoplete-go', { 'for': 'go', 'do': 'make'} Plug 'nanotech/jellybeans.vim' Plug '~/dev/jellybeans_pda' " Plug 'chriskempson/base16-vim'sh " Plug 'joshdick/onedark.vim' Plug 'ludovicchabant/vim-gutentags' Plug 'RRethy/vim-hexokinase' call plug#end()

Text Objects

KeysDefinition
ciwChange inside word
ci(Change inside parenthesis
ca"Change around quotes
catChange around HTML tags

Repository

https://github.com/okeeffed/developer-notes-nextjs/content/vim/neovim

Sections


Related