mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-06-01 08:07:48 +02:00
update neovide command
This commit is contained in:
parent
f2a01b87ec
commit
8cdcc193a7
|
@ -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 &
|
||||||
|
|
4
.config/fish/functions/nvide.fish
Normal file
4
.config/fish/functions/nvide.fish
Normal 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
|
|
@ -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}"
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue