filetype plugin indent on" show existing tab with 4 spaces widthsettabstop=4" when indenting with '>', use 4 spaces widthsetshiftwidth=4" On pressing tab, insert 4 spacessetexpandtab
Powerline
Need to install powerline with pip
Config:
VimL
12345
" Allow Powerline stylesetrtp+=.local/lib/python3.7/site-packages/powerline/bindings/vim/
" These lines setup the environment to show graphics and colors correctly.setlaststatus=2sett_Co=256
in vim [backspace] or backwards delete leaves a wired symbol ^? and does not delete anything?
Add this to your ~/.vimrc:
VimL
12
" Allow backspacenoremap!<C-?><C-h>
The source of this error relates to stty and maybe VNC.
on stackoverflow
or maybe
Bash
123
# in .bashrc# fix for vim backspace
sttyerase'^?'
VIM Diff
Visually compare two files, highlighting the differences. You can easily switch between files (CTRL+w) and move parts from one file to another (do do obtain or dp do put).