From 8cdcc193a73aa7784eff62572b02fe991511930d Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Sat, 4 Nov 2023 11:50:56 +0100 Subject: [PATCH] update neovide command --- .config/fish/config.fish | 2 -- .config/fish/functions/nvide.fish | 4 ++++ .config/luakit/usersettings.lua.cgt | 2 +- scripts/vinput/src/main.zig | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .config/fish/functions/nvide.fish diff --git a/.config/fish/config.fish b/.config/fish/config.fish index de7da70..b136c5c 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -4,8 +4,6 @@ fish_vi_key_bindings # ALIASES alias clip="xclip -sel clip" alias nv="nvim" -#alias nvide="rbg neovide --nofork --multigrid --" -alias nvide="rbg neovide --nofork --" function rbg $argv &>/dev/null & diff --git a/.config/fish/functions/nvide.fish b/.config/fish/functions/nvide.fish new file mode 100644 index 0000000..0f6cc92 --- /dev/null +++ b/.config/fish/functions/nvide.fish @@ -0,0 +1,4 @@ +# Basically an alias except it runs neovide as a job instead of completely detaching. +function nvide --wraps neovide + neovide --no-fork $argv & +end diff --git a/.config/luakit/usersettings.lua.cgt b/.config/luakit/usersettings.lua.cgt index 504ae7b..e49be68 100644 --- a/.config/luakit/usersettings.lua.cgt +++ b/.config/luakit/usersettings.lua.cgt @@ -17,4 +17,4 @@ settings.webview.serif_font_family = font_family settings.window.default_search_engine = "duckduckgo" settings.window.home_page = "luakit://newtab" -require("editor").editor_cmd = "neovide --nofork {file}" +require("editor").editor_cmd = "neovide --no-fork {file}" diff --git a/scripts/vinput/src/main.zig b/scripts/vinput/src/main.zig index 3165bdf..5cef5b6 100644 --- a/scripts/vinput/src/main.zig +++ b/scripts/vinput/src/main.zig @@ -40,7 +40,7 @@ pub fn main() !void { //const editor_argv = [_][]const u8{ // "neovide", - // "--nofork", + // "--no-fork", // "--wayland_app_id", // "vinput-editor", // filename,