Show pageOld revisionsBacklinksExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Vim ====== ===== Resolving **/usr/bin/env: ‘node\r’: No such file or directory** ===== * Open file in vim, and use command: **:set ff=unix** * Save file You should have unix line endings now ===== Vim plugins installer (vim-plug) and LightLine status bar replacement ===== <code bash>curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim</code> <code bash ~/.vim/plugins.vim> call plug#begin('~/.vim/plugged') Plug 'itchyny/lightline.vim' call plug#end() </code> <code bash ~/.vimrc> so ~/.vim/plugins.vim set laststatus=2 if !has('gui_running') set t_Co=256 endif set noshowmode let g:lightline = { 'colorscheme': 'wombat'} </code> Launch Vim and run **:PlugInstall** <code bash ~/.bashrc> export TERM=xterm-256color </code> linux/misc/vim.txt Last modified: 2019/10/31 09:05by 127.0.0.1