colorscheme desert
syntax on
filetype on
au BufRead,BufNewFile *.sv set filetype=systemverilog
au BufRead,BufNewFile *.v set filetype=verilog
set number
set autoindent
set ts=2
set expandtab
set shiftwidth=4
autocmd FileType make set noexpandtab
set hlsearch
set cursorline
set cursorcolumn
set guifont=Monospace\ 13
inoremap ( ()<Esc>i
inoremap { {}<Esc>i
inoremap [ []<Esc>i
inoremap " ""<Esc>i
source ~/.vim/alias.vim
command AH :call AddHeader()
function AddHeader()
let create_time = strftime( '%H:%M:%S, %b %d, %Y, %a')
call append(0, "//**************************************************************\*")
call append(1, "//Copyright (c) 2024 XXX")
call append(2, "//XXX Confidential. All rights reserved")
call append(3, "//**************************************************************\*")
call append(4, "//")
call append(5, "//Module:".expand("%"))
call append(6, "//Block:")
call append(7, "//Author: name(name@xxx.com)")
call append(8, "//Created: ".create_time)
call append(9, "//**************************************************************\*")
call append(10, "//Abstract:")
call append(11, "//")
call append(12, "//**************************************************************\*")
endfunction