This is the version 5f4ae2b7ec124050d40d1ecb from 2020-08-29 23:20:23 comment: 'stuff...'
nvim ed
...a vim-based text editor!
basic usage ed
leave any mode by ESC ...go into "general mode"
shell mode ed
From general mode type :Some commands:
:q quit :q! quit (ignore changes) :wq save + quit
TAB can display auto complete
general mode ed
/ search n next i edit mode dd delete line yy copy line p paste line
edit mode ed
Almost like a regular text editor...
nerd tree ed
- install vim-plug
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'- install nerdtree
git clone https://github.com/preservim/nerdtree.git ~/.vim/pack/vendor/start/nerdtree vim -u NONE -c "helptags ~/.vim/pack/vendor/start/nerdtree/doc" -c q
- edit .config/nvim/init.vim
call plug#begin()
Plug 'preservim/nerdtree'
call plug#end()
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endifESC:PlugInstall
Categories: Computer