1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

ssh complete cache use whitelist (ignore known_hosts and keys) (#553)

docker run add -p(privileged) option
    nvc nvdc for neovim remote-ui

Co-authored-by: agent <agent@nuc>
This commit is contained in:
fj0r 2023-07-15 19:57:23 +08:00 committed by GitHub
parent 3fa732f1e2
commit b06dfb664e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 8 deletions

View file

@ -134,10 +134,14 @@ export def opwd [] {
nvim-lua 'OppositePwd()'
}
export def nvim-srv [port: int=1111] {
export def nvim-srv [port: int=9999] {
nvim --headless --listen $"0.0.0.0:($port)"
}
export def nvide-conn [addr: string] {
neovide --multigrid --maximized --remote-tcp addr
export def nvc [addr: string] {
nvim --remote-ui --server $addr
}
export def nvdc [addr: string] {
neovide --multigrid --maximized --server $addr
}