How to install neovim on ubuntu homebrew environment

So, you want to install Neovim on Ubuntu? First of all, don't forget install vim-plug (or rise neovim Unknown function: plug#begin  #245)

Here is my ~/.config/nvim/init.vim following Awesome Neovim Setup From Scratch - Full Guide, it uses Plug as plugin manager: so, run nvim init.vim and :PlugInstall in command line. You are fine if see something like this:



fixed pluginstall command unknown
Fixed :PlugInstall command unknown

Otherwise run :checkhealth to figure out what went bad. Fixing :PlugInstall unknown command.


let g:python3_host_prog='/home/linuxbrew/.linuxbrew/bin/python3'
let g:ruby_host_prog='/home/linuxbrew/.linuxbrew/opt/ruby/bin/neovim-ruby-host'
let g:loaded_node_provider=0

set number
set relativenumber
set autoindent
set tabstop=4
set shiftwidth=4
set smarttab
set softtabstop=4
set mouse=a
set encoding=UTF-8


call plug#begin()

" Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw)
Plug 'https://github.com/preservim/nerdtree' " NerdTree
Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc
Plug 'https://github.com/vim-airline/vim-airline' " Status bar
" Plug 'https://github.com/lifepillar/pgsql.vim' " PSQL Pluging needs :SQLSetType pgsql.vim
" Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview
Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme
" Plug 'https://github.com/neoclide/coc.nvim'  " Auto Completion
Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons
" Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal
" Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation
" Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors

call plug#end()


nnoremap <C-f> :NERDTreeFocus<CR>
nnoremap <C-n> :NERDTree<CR>
nnoremap <C-t> :NERDTreeToggle<CR>

:colorscheme jellybeans

let g:NERDTreeDirArrowExpandable="+"
let g:NERDTreeDirArrowCollapsible="~"

Comments

Popular posts from this blog

solved ERROR You installed yt-dlp from a manual build or with a package manager

vorago stela 100 no enciende

lanix neuron a v20