
Often we spend more time on the inclusion of editors than we spend on fixing or writing some one-line script. I believe that this problem can be quickly solved, because for this there are console editors
Background
, . .
, 2 β , 10 , . β . .
, "" . , , . .
?
2020 : VSCode, Sublime text, Atom, Vim, Neovim, Emacs, NotePad++, Brackets, Nano .
NeoVim?
, . , , ", ( ) " β¦ ( VSCode) 5 , 3 , 2 , ( - Python, ) 10 . 20 ( , , ) - .
: β , NeoVim β . 2 ( 5, ). NeoVim . . : " Vim', " β , β , .
Vim?
NeoVim . " ", , , . , :
*standard-plugin-list*
Standard plugins
|pi_gzip.txt| Reading and writing compressed files
|pi_health.txt| Healthcheck framework
|pi_matchit.txt| Extended |%| matching
|pi_msgpack.txt| msgpack utilities
|pi_netrw.txt| Reading and writing files over a network
|pi_paren.txt| Highlight matching parens
|pi_spec.txt| Filetype plugin to work with rpm spec files
|pi_tar.txt| Tar file explorer
|pi_zip.txt| Zip archive explorer
:help () NeoVim
( )
( )
Vim
- Vim Vimscript
- : help nvim-from-vim, Vim
NeoVim
j
β
k
β
h
β
l
β
i
β (insert)
a
β (append)
I
β
A
β
dd
β (delete)
dw
β (delete a word)
dl
β (delete a letter)
o
β (insert) ,
O
β ,
, delete
: 7dl
β 7
- visual , y
(yank)
p
β () (paste)
w
β (word)
W
β ,
b
β ( ) (, ) (backword)
B
β (, )
e
β ( ) (end of the word)
E
β ( )
gg
β
G
β
^
β
$
β
/
β (n β ; N β )
?
β
, 50 , 3 . . . β , Ctrl+F, . .

NeoVim 3-4 (, ). NeoVim β . Vim- . , , - , .
It would be dishonest if I didnβt provide a link to this wonderful editor
// I add the projectβs GitHub - approx. moderator
As Tim Berners-Lee said:
Magic ceases to exist after you understand how it works.
Just in case, I will leave here the configuration that I use:
call plug#begin()
" FuzzyFinder ( )
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
" NERDTree -
Plug 'preservim/nerdtree'
" oc -
Plug 'neoclide/coc.nvim', {'branch': 'release'}
" NERDTree
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'scrooloose/nerdcommenter'
" Git, NERDTree
Plug 'airblade/vim-gitgutter'
Plug 'ryanoasis/vim-devicons'
"
Plug 'itchyny/lightline.vim'
"
Plug 'joshdick/onedark.vim'
Plug 'cocopon/iceberg.vim'
"
Plug 'scrooloose/syntastic'
"
"Plug 'Valloric/YouCompleteMe'
" Python
"Plug 'klen/python-mode'
call plug#end()
" Vim
set nocompatible
set t_Co=256
"
" **NeoVim**
set number
set ruler
" jkl - Escape Insert
inoremap jkl <ESC>
" ,
nmap j
nmap k
nmap h
nmap l
nmap i
nmap a
nmap d
" Ctrl+n :NERDTree
nmap <C-n> :NERDTreeToggle<CR>
vmap ++ <plug>NERDCommenterToggle
nmap ++ <plug>NERDCommenterToggl
let g:NERDTreeGitStatusWithFlags = 1
let g:NERDTreeIgnore = ['^node_modules$']
" **NeoVim**
syntax on
colorscheme iceberg
" :
set noshowmode " --INSERT--
set laststatus=2
let g:lightline = {
\ 'colorscheme': 'iceberg',
\ 'active': {
\ 'left': [ [ 'mode', 'paste' ],
\ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ]
\ },
\ 'component_function': {
\ 'gitbranch': 'fugitive#head'
\ },
\ }