[feature] editor settings for Powershell
This commit is contained in:
parent
4d17db0bd6
commit
0bbb2976aa
2
config/nvim/ginit.vim
Normal file
2
config/nvim/ginit.vim
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Guifont 等距更纱黑体 T SC:h12
|
||||||
|
source $VIMRUNTIME/mswin.vim
|
|
@ -5,6 +5,8 @@
|
||||||
|
|
||||||
Set-PSReadLineOption -EditMode Emacs
|
Set-PSReadLineOption -EditMode Emacs
|
||||||
$Env:Path += ";$PSScriptRoot\bin"
|
$Env:Path += ";$PSScriptRoot\bin"
|
||||||
|
$Env:KUBE_EDITOR = 'nvim'
|
||||||
|
$Env:EDITOR = 'nvim'
|
||||||
Set-Alias -Name k kubectl
|
Set-Alias -Name k kubectl
|
||||||
$isPs7 = $host.Version.Major -ge 7
|
$isPs7 = $host.Version.Major -ge 7
|
||||||
if ( $isPs7 ) {
|
if ( $isPs7 ) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user