linux:misc:vim

Vim

  • Open file in vim, and use command: :set ff=unix
  • Save file

You should have unix line endings now

curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
~/.vim/plugins.vim
call plug#begin('~/.vim/plugged')
Plug 'itchyny/lightline.vim'
call plug#end()
~/.vimrc
so ~/.vim/plugins.vim
set laststatus=2
if !has('gui_running')
  set t_Co=256
endif
set noshowmode
let g:lightline = { 'colorscheme': 'wombat'}

Launch Vim and run :PlugInstall

~/.bashrc
export TERM=xterm-256color
Enter your comment:
181 +13 = 
 
  • linux/misc/vim.txt
  • Last modified: 2019/10/31 09:05
  • by 127.0.0.1