31 lines
949 B
Bash
31 lines
949 B
Bash
#!/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\+\%#\@<!$/
|
|
#autocmd InsertLeave * match ExtraWhitespace /\s\+$/
|
|
#autocmd BufWinLeave * call clearmatches()
|
|
#
|
|
#Plugin 'joe-skb7/cscope-map'
|
|
#Plugin 'bogado/file-line'
|
|
#Plugin 'majutsushi/tagbar'
|
|
|
|
# https://stackoverflow.com/questions/33676829/vim-configuration-for-linux-kernel-development
|
|
|
|
# cscope: will be used to navigate the code (switch between functions, etc.).
|
|
# ctags: needed for Tagbar plugin and for Omni completion
|
|
apt install \
|
|
cscope \
|
|
universal-ctags
|