update neovide command

This commit is contained in:
LordMZTE 2023-11-04 11:50:56 +01:00
parent f2a01b87ec
commit 8cdcc193a7
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6
4 changed files with 6 additions and 4 deletions

View file

@ -4,8 +4,6 @@ fish_vi_key_bindings
# ALIASES # ALIASES
alias clip="xclip -sel clip" alias clip="xclip -sel clip"
alias nv="nvim" alias nv="nvim"
#alias nvide="rbg neovide --nofork --multigrid --"
alias nvide="rbg neovide --nofork --"
function rbg function rbg
$argv &>/dev/null & $argv &>/dev/null &

View file

@ -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

View file

@ -17,4 +17,4 @@ settings.webview.serif_font_family = font_family
settings.window.default_search_engine = "duckduckgo" settings.window.default_search_engine = "duckduckgo"
settings.window.home_page = "luakit://newtab" settings.window.home_page = "luakit://newtab"
require("editor").editor_cmd = "neovide --nofork {file}" require("editor").editor_cmd = "neovide --no-fork {file}"

View file

@ -40,7 +40,7 @@ pub fn main() !void {
//const editor_argv = [_][]const u8{ //const editor_argv = [_][]const u8{
// "neovide", // "neovide",
// "--nofork", // "--no-fork",
// "--wayland_app_id", // "--wayland_app_id",
// "vinput-editor", // "vinput-editor",
// filename, // filename,