how to configure neovim from scratch in termux

Hello devs in today’s post we will learn how to configure neovim from scratch in termux.

Let’s learn how to install Plus that will make your life easier as a front-end developer.

Follow the steps.

1.install termux

Click on this link termu…

Hello devs in today’s post we will learn how to configure neovim from scratch in termux.

Let’s learn how to install Plus that will make your life easier as a front-end developer.

Follow the steps.

1.install termux

Click on this link termux and download the termux  and then run these commands below

pkg update
pkg upgrade

2.Install neovim

Open termux and run this command

install neovim -y

3.Install Plug-vim

Open termux and run these commands

Plug-vim

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'

configuration file

cd .config
mkdir nvim
touch init.vim

4.Install Plugs

Open termux and run these commands

nvim init.vim

After executing this command, you will enter neovim and then you will copy and paste this code below in your neovim that will install one dark theme plug in your neovim

call plug#begin()

Plug 'one-dark/onedark.nvim'

call plug#end()

colorscheme onedark

Open termux and run this command to open neovim

nvim

After entering noevim run these commands

:PlugInstall

Click ESC on your keyboard

Then run this command in neovim to exit neovim

:q

Then open neovim again and you will see that your theme will change to one dark

nvim

5.Install NERDtree

Plug for file management

You will add this code below in the same code where the one dark code is to install nerdtree

Plug 'preservim/nerdtree'

Add this code below in the same code where the one dark code is below the one dark code this code is the nerdtree configuration for when you click CTRL + n to open a toolbar file browsing

nnoremap <C-n> :NERDTree<CR>

6.Install vim-polyglot

Sytanx highlighter plug from various programming languages ​​like javascript python c c++ c# and more

You will add this code below in the same code where the one dark code is to install vim-polyglot

Plug 'sheerun/vim-polyglot'

7.Install vim-rainbow

Parent braces and square brackets highlight plug

You will add this code below in the same code where the one dark code is to install vim-rainbow

Plug 'frazrepo/vim-rainbow'

8.Install Plug lightline.vim

Neovim mode bar color plug

You will add this code below in the same code where the one dark code is to install lightline.vim

Plug 'itchyny/lightline.vim'

9.Install coc.nvim

Front end technologies autocomplete plugin

You will add this code below in the same code where the one dark code is to install coc-nvim

Plug 'neoclide/coc.nvim', {'branch': 'release'}

Now let’s install the plugs added in the previous lines of the init.vim file

Open termux and run these commands

open neovim

nvim 

Install the Plugs

:PlugInstall

Click ESC on your keyboard

Then run this command in neovim to exit neovim

:q

Open neovim again and you will see the results of the installed plugs and you will see how to change your neovim from 0 to 100.

nvim

additional settings

call plug#begin()

   Plug 'one-dark/onedark.nvim'
   Plug 'sheerun/vim-polyglot'
   Plug 'preservim/nerdtree'
   Plug 'neoclide/coc.nvim', {'branch': 'release'}
   Plug 'frazrepo/vim-rainbow'
   Plug 'itchyny/lightline.vim'

  call plug#end()

  set number
  set nocompatible
  colorscheme onedark
  nnoremap <C-n> :NERDTree<CR>

Print Share Comment Cite Upload Translate
APA
Óscar Jeremias | Sciencx (2024-03-29T05:42:39+00:00) » how to configure neovim from scratch in termux. Retrieved from https://www.scien.cx/2022/04/02/how-to-configure-neovim-from-scratch-in-termux/.
MLA
" » how to configure neovim from scratch in termux." Óscar Jeremias | Sciencx - Saturday April 2, 2022, https://www.scien.cx/2022/04/02/how-to-configure-neovim-from-scratch-in-termux/
HARVARD
Óscar Jeremias | Sciencx Saturday April 2, 2022 » how to configure neovim from scratch in termux., viewed 2024-03-29T05:42:39+00:00,<https://www.scien.cx/2022/04/02/how-to-configure-neovim-from-scratch-in-termux/>
VANCOUVER
Óscar Jeremias | Sciencx - » how to configure neovim from scratch in termux. [Internet]. [Accessed 2024-03-29T05:42:39+00:00]. Available from: https://www.scien.cx/2022/04/02/how-to-configure-neovim-from-scratch-in-termux/
CHICAGO
" » how to configure neovim from scratch in termux." Óscar Jeremias | Sciencx - Accessed 2024-03-29T05:42:39+00:00. https://www.scien.cx/2022/04/02/how-to-configure-neovim-from-scratch-in-termux/
IEEE
" » how to configure neovim from scratch in termux." Óscar Jeremias | Sciencx [Online]. Available: https://www.scien.cx/2022/04/02/how-to-configure-neovim-from-scratch-in-termux/. [Accessed: 2024-03-29T05:42:39+00:00]
rf:citation
» how to configure neovim from scratch in termux | Óscar Jeremias | Sciencx | https://www.scien.cx/2022/04/02/how-to-configure-neovim-from-scratch-in-termux/ | 2024-03-29T05:42:39+00:00
https://github.com/addpipe/simple-recorderjs-demo