Compare commits
2 Commits
2c5824b33c
...
6f05067485
Author | SHA1 | Date | |
---|---|---|---|
6f05067485 | |||
e02760fae3 |
@ -26,12 +26,19 @@ export http_proxy='http://192.168.3.7:7890'
|
||||
export https_proxy='http://192.168.3.7:7890'
|
||||
|
||||
alias mWork='sudo mount -t nfs 192.168.3.7:/volume2/work /home/fengbh/nasWork'
|
||||
alias mNas='sudo mount -t nfs 192.168.3.7:/volume3/pt_data /home/fengbh/docker/disk/pt_data'
|
||||
|
||||
PATH=$PATH:/home/fengbh/local/sdcc-4.4.0-rc2/bin
|
||||
PATH=$PATH:/home/fengbh/local/verible/bin
|
||||
PATH=/home/fengbh/local/vim/bin:$PATH
|
||||
PATH=/home/fengbh/work/verilator/bin:$PATH
|
||||
PATH=/home/fengbh/local/verilator/bin:$PATH
|
||||
|
||||
#######################################################################
|
||||
# 电源相关 #
|
||||
#######################################################################
|
||||
alias ns='gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type '\''nothing'\'
|
||||
alias ss='gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type '\''suspend'\'
|
||||
alias gs='gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type'
|
||||
alias gst='gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout'
|
||||
|
||||
#******************** 一些函数 ********************
|
||||
set_vnc(){
|
||||
|
10
vim/.vimrc
10
vim/.vimrc
@ -3,7 +3,7 @@
|
||||
" License : MIT
|
||||
" Author : Feng Bohan <1953356163@qq.com>
|
||||
" Date : 2025-04-18 08:39:57
|
||||
" Last Modified Date: 2025-04-27 09:08:13
|
||||
" Last Modified Date: 2025-04-30 16:07:00
|
||||
" Last Modified By : Feng Bohan <1953356163@qq.com>
|
||||
" Copyright © 2025 Shanghai Fudan Microelectronics Group Co.,Ltd. All Rights Reserved.
|
||||
|
||||
@ -162,9 +162,9 @@ call plug#end()
|
||||
" 1:All messages are detected.
|
||||
" 2:Ignore lint messages.
|
||||
" 3:Ignore lint and warning messages.
|
||||
autocmd FileType verilog_systemverilog silent :VerilogErrorFormat vcs 2
|
||||
autocmd FileType verilog_systemverilog let &makeprg='vlogan +v2k -full64 +vcs+flush+all +lint=all -sverilog +libext+.v+.sv -q %'
|
||||
autocmd BufWritePost * if &filetype == "verilog_systemverilog" | exec ":make" | endif
|
||||
"autocmd FileType verilog_systemverilog silent :VerilogErrorFormat vcs 2
|
||||
"autocmd FileType verilog_systemverilog let &makeprg='vlogan +v2k -full64 +vcs+flush+all +lint=all -sverilog +libext+.v+.sv -q %'
|
||||
"autocmd BufWritePost * if &filetype == "verilog_systemverilog" | exec ":make" | endif
|
||||
|
||||
"Following an Instance
|
||||
"A framework is provided to follow a module instance to its module declaration as long as its respective entry exists in the tags file. To do so simply execute within the instance to follow it to its declaration.:VerilogFollowInstance
|
||||
@ -371,7 +371,7 @@ silent! call repeat#set("\<Plug>MyWonderfulMap", v:count)
|
||||
" configure for vim-header
|
||||
"=============================================================================
|
||||
" 启用自动插入(新建文件时)
|
||||
let g:header_auto_add_header = 1
|
||||
let g:header_auto_add_header = 0
|
||||
let g:header_auto_update_header = 1
|
||||
"let g:header_field_project = 'Your Project'
|
||||
let g:header_field_filename_path = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user