#!/bin/bash # ref: vim plugins added to 020_vim.sh # # .vimrc #" 80 characters line #set colorcolumn=81 #"execute "set colorcolumn=" . join(range(81,335), ',') #highlight ColorColumn ctermbg=Black ctermfg=DarkRed #" Highlight trailing spaces #" http://vim.wikia.com/wiki/Highlight_unwanted_spaces #highlight ExtraWhitespace ctermbg=red guibg=red #match ExtraWhitespace /\s\+$/ #autocmd BufWinEnter * match ExtraWhitespace /\s\+$/ #autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@