关于oh-my-posh其实是zsh美化版本的oh-my-zsh,在linux上是zsh,在powershell中就是oh-my-posh,这是用来美化终端命令显示的,提供很多内置的主题。比如我用的xtoys效果如下: 配置oh-my-posh主题 为了更好的兼容性,建议设置windows terminal字体为: 具体的设置方法可以在终端设置中选择对于的终端,再选择外观设置。 ...
打开windows Powershell的位置:"C:/Windows/System32/WindowsPowerShell/v1.0", 在此路径下添加一个名为profile.ps1的文件,打开编辑,输入文本: # There's usually much more than this in my profile!$SCRIPTPATH="C:\Program Files\Git\usr\share\vim"# 此行根据$VIMPATH寻找相应vim路径即可,此行不用更改$...
然后将Monokai.vim保存到~/.vim/colors下; 2.配置~/.vimrc文件,添加 syntax enable 、 colorscheme...
关于oh-my-posh其实是zsh美化版本的oh-my-zsh,在linux上是zsh,在powershell中就是oh-my-posh,这是用来美化终端命令显示的,提供很多内置的主题。比如我用的xtoys效果如下:配置oh-my-posh主题 为了更好的兼容性,建议设置windows terminal字体为:具体的设置方法可以在终端设置中选择对于的终端,再选择外观设置。 接下...
在powershell 中使用 vim # Microsoft.PowerShell_profile.ps1$SCRIPTPATH="C:\Program Files\Git\usr\share\vim"$VIMPATH="C:\Program Files\Git\usr\bin\vim.exe"Set-Aliasvi$VIMPATHSet-Aliasvim$VIMPATH 本文作者:guangzan 本文链接:https://www.cnblogs.com/guangzan/p/16451355.html ...
打开windows Powershell的位置:"C:/Windows/System32/WindowsPowerShell/v1.0", 在此路径下添加一个名为profile.ps1的文件,打开编辑,输入文本: # There's usually much more than this in my profile! $SCRIPTPATH = "C:\Program Files\Git\usr\share\vim" # 此行根据$VIMPATH寻找相应vim路径即可 ...
在powershell 中执行“vim ~/.vimrc” 按一下 “:”键(英文 “:”),输入 “set paste”并按回车进入粘贴模式,此模式文本粘贴将会保留原有的文本格式,而不会自动格式化。 然后按 “i” 键,进入编辑模式。 把下面的内容复制进去。 " 按一下空格往下翻两行map <Space> 2j"老板键 按 F2 保存退出 ...
{"$schema": "https://aka.ms/terminal-profiles-schema","alwaysShowTabs": false,"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", // 默认使用的终端(我的是powershell) guid 匹配"initialCols": 120, // 默认列宽度"initialRows": 30, // 默认行高度// 快捷键"keybindings": [{...
" Don't load another plug-in for this buffer let b:did_ftplugin = 1 setlocal tw=0 "setlocal comments=# setlocal commentstring=#%s setlocal formatoptions=tcqro "setlocal iskeyword+=# " Change the browse dialog on Win32 to show mainly PowerShell-related files if has("gui_win32") let b...
使用PowerShell操作Windows服务的命令小结 cmd下开启telnet的方法 Linux 出现telnet: 127.0.0.1: Connection refused错误解决办法 CentOS7 下安装telnet服务的实现方法 zookeper搭建 宝塔面板添加伪静态 centos 7下nginx安装脚本 在ubuntu中部署samba服务器的方法 在Linux ubuntu下安装mongodb的方法 mysql8 centos7 安装 ...