gpt4 book ai didi

c++ - 用于 C/C++ 编程的好的 gvim guifont 是什么

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:53:43 25 4
gpt4 key购买 nike

<分区>

我正在尝试为 gvim 寻找最佳字体以在 C/C++ 中编程。

我目前在 ~/.gvimrc 中有以下内容,但我不喜欢它:

if has("gui_gtk2")
set guifont=MiscFixed\ 11
else
set guifont=-misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1
endif
set columns=80 lines=50
set guioptions-=T "hide toolbar

"Try to load happy hacking teal colour scheme
"I copy this to ~/.vim/colors/hhteal.vim
silent! colorscheme hhteal
if exists("colors_name") == 0
"Otherwise modify the defaults appropriately

"background set to dark in .vimrc
"So pick appropriate defaults.
hi Normal guifg=gray guibg=black
hi Visual gui=none guifg=black guibg=yellow

"The following removes bold from all highlighting
"as this is usually rendered badly for me. Note this
"is not done in .vimrc because bold usually makes
"the colour brighter on terminals and most terminals
"allow one to keep the new colour while turning off
"the actual bolding.

" Steve Hall wrote this function for me on vim@vim.org
" See :help attr-list for possible attrs to pass
function! Highlight_remove_attr(attr)
" save selection registers
new
silent! put

" get current highlight configuration
redir @x
silent! highlight
redir END

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com