Differences
This shows you the differences between two versions of the page.
— | linux:misc:vim [2019/10/31 09:05] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Vim ====== | ||
+ | ===== Resolving | ||
+ | * 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> | ||
+ | |||
+ | <code bash ~/ | ||
+ | call plug# | ||
+ | Plug ' | ||
+ | call plug#end() | ||
+ | </ | ||
+ | |||
+ | <code bash ~/ | ||
+ | so ~/ | ||
+ | set laststatus=2 | ||
+ | if !has(' | ||
+ | set t_Co=256 | ||
+ | endif | ||
+ | set noshowmode | ||
+ | let g:lightline = { ' | ||
+ | </ | ||
+ | |||
+ | Launch Vim and run **: | ||
+ | |||
+ | <code bash ~/ | ||
+ | export TERM=xterm-256color | ||
+ | </ | ||
+ | |||