在进行NeoVim编辑器配置时,使用lualine和nvim-tree的图标无法显示,发现原因是因为没有使用Nerd Font字体,安装完成后,却一直没办法应用在powershell中。找到一种解决方法,使用Windows Terminal。
下载Windows Terminal
下载Nerd Font字体
Nerd Fonts - Iconic font aggregator, glyphs/icons collection, & fonts patcher
选择Hack Nerd Font 下载
右击选择为所有用户安装
打开Windows Terminal
点击设置
选择windows PowerShell 外观进行字体选择,这样就能为windows11终端配置字体。
但不知道Windows Terminal好不好使。