Skip to content

Instantly share code, notes, and snippets.

@T1ckbase
Last active July 23, 2025 09:50
Show Gist options
  • Save T1ckbase/091fdbd49c8b02ea217778d719d934e4 to your computer and use it in GitHub Desktop.
Save T1ckbase/091fdbd49c8b02ea217778d719d934e4 to your computer and use it in GitHub Desktop.

Revisions

  1. T1ckbase revised this gist Jul 23, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion neovide.lua
    Original file line number Diff line number Diff line change
    @@ -13,7 +13,7 @@ if vim.g.neovide then
    vim.g.neovide_no_idle = true
    -- vim.g.neovide_profiler = true -- frametime graph
    vim.g.neovide_cursor_animation_length = 0.02
    vim.g.neovide_cursor_short_animation_length = 0.008
    vim.g.neovide_cursor_short_animation_length = 0
    vim.g.neovide_cursor_animate_in_insert_mode = false
    vim.g.neovide_cursor_vfx_mode = "pixiedust"

  2. T1ckbase revised this gist Jul 23, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion neovide.lua
    Original file line number Diff line number Diff line change
    @@ -44,4 +44,4 @@ if vim.g.neovide then

    vim.api.nvim_del_autocmd(id)
    end, { desc = "Restart Neovide" })
    end
    end
  3. T1ckbase revised this gist Jul 10, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions neovide.lua
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,7 @@ if vim.g.neovide then
    vim.o.guifont = "JetBrainsMonoNL NF:h11"
    vim.opt.linespace = 0
    vim.g.neovide_scale_factor = 1.0
    vim.g.neovide_floating_shadow = false
    vim.g.neovide_title_background_color = "black"
    vim.g.neovide_title_text_color = "gray"
    vim.g.neovide_position_animation_length = 0.06
  4. T1ckbase revised this gist Jun 15, 2025. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions neovide.lua
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    if vim.g.neovide then
    vim.o.guifont = "JetBrainsMonoNL NF:h11:#e-subpixelantialias"
    vim.o.guifont = "JetBrainsMonoNL NF:h11"
    vim.opt.linespace = 0
    vim.g.neovide_scale_factor = 1.0
    vim.g.neovide_title_background_color = "black"
    @@ -12,7 +12,7 @@ if vim.g.neovide then
    vim.g.neovide_no_idle = true
    -- vim.g.neovide_profiler = true -- frametime graph
    vim.g.neovide_cursor_animation_length = 0.02
    vim.g.neovide_cursor_short_animation_length = 0.01
    vim.g.neovide_cursor_short_animation_length = 0.008
    vim.g.neovide_cursor_animate_in_insert_mode = false
    vim.g.neovide_cursor_vfx_mode = "pixiedust"

    @@ -30,7 +30,7 @@ if vim.g.neovide then
    { desc = "Toggle Fullscreen" }
    )

    vim.keymap.set("", "<F5>", function()
    vim.keymap.set("", "<C-F5>", function()
    local autocmd_group_id = vim.api.nvim_create_augroup("Restart", { clear = true })

    local id = vim.api.nvim_create_autocmd("VimLeavePre", {
  5. T1ckbase revised this gist Jun 14, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion neovide.lua
    Original file line number Diff line number Diff line change
    @@ -36,7 +36,7 @@ if vim.g.neovide then
    local id = vim.api.nvim_create_autocmd("VimLeavePre", {
    group = autocmd_group_id,
    pattern = "*",
    callback = function() os.execute "neovide" end,
    callback = function() vim.fn.system "neovide" end,
    })

    vim.cmd "qa"
  6. T1ckbase revised this gist Jun 14, 2025. 1 changed file with 14 additions and 0 deletions.
    14 changes: 14 additions & 0 deletions neovide.lua
    Original file line number Diff line number Diff line change
    @@ -29,4 +29,18 @@ if vim.g.neovide then
    function() vim.g.neovide_fullscreen = not vim.g.neovide_fullscreen end,
    { desc = "Toggle Fullscreen" }
    )

    vim.keymap.set("", "<F5>", function()
    local autocmd_group_id = vim.api.nvim_create_augroup("Restart", { clear = true })

    local id = vim.api.nvim_create_autocmd("VimLeavePre", {
    group = autocmd_group_id,
    pattern = "*",
    callback = function() os.execute "neovide" end,
    })

    vim.cmd "qa"

    vim.api.nvim_del_autocmd(id)
    end, { desc = "Restart Neovide" })
    end
  7. T1ckbase revised this gist Jun 13, 2025. 1 changed file with 14 additions and 7 deletions.
    21 changes: 14 additions & 7 deletions neovide.lua
    Original file line number Diff line number Diff line change
    @@ -16,10 +16,17 @@ if vim.g.neovide then
    vim.g.neovide_cursor_animate_in_insert_mode = false
    vim.g.neovide_cursor_vfx_mode = "pixiedust"

    vim.keymap.set("", "<F10>", function()
    vim.g.neovide_profiler = not vim.g.neovide_profiler
    end, { desc = "Toggle Profiler" })
    vim.keymap.set("", "<F11>", function()
    vim.g.neovide_fullscreen = not vim.g.neovide_fullscreen
    end, { desc = "Toggle Fullscreen" })
    end
    vim.keymap.set(
    "",
    "<F10>",
    function() vim.g.neovide_profiler = not vim.g.neovide_profiler end,
    { desc = "Toggle Profiler" }
    )

    vim.keymap.set(
    "",
    "<F11>",
    function() vim.g.neovide_fullscreen = not vim.g.neovide_fullscreen end,
    { desc = "Toggle Fullscreen" }
    )
    end
  8. T1ckbase revised this gist Jun 13, 2025. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions neovide.lua
    Original file line number Diff line number Diff line change
    @@ -15,4 +15,11 @@ if vim.g.neovide then
    vim.g.neovide_cursor_short_animation_length = 0.01
    vim.g.neovide_cursor_animate_in_insert_mode = false
    vim.g.neovide_cursor_vfx_mode = "pixiedust"

    vim.keymap.set("", "<F10>", function()
    vim.g.neovide_profiler = not vim.g.neovide_profiler
    end, { desc = "Toggle Profiler" })
    vim.keymap.set("", "<F11>", function()
    vim.g.neovide_fullscreen = not vim.g.neovide_fullscreen
    end, { desc = "Toggle Fullscreen" })
    end
  9. T1ckbase created this gist Jun 12, 2025.
    18 changes: 18 additions & 0 deletions neovide.lua
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    if vim.g.neovide then
    vim.o.guifont = "JetBrainsMonoNL NF:h11:#e-subpixelantialias"
    vim.opt.linespace = 0
    vim.g.neovide_scale_factor = 1.0
    vim.g.neovide_title_background_color = "black"
    vim.g.neovide_title_text_color = "gray"
    vim.g.neovide_position_animation_length = 0.06
    vim.g.neovide_scroll_animation_length = 0.04
    vim.g.neovide_scroll_animation_far_lines = 5
    vim.g.neovide_refresh_rate = 165 -- This setting is only effective when not using vsync, for example by passing --no-vsync on the commandline.
    -- vim.g.neovide_refresh_rate_idle = 165
    vim.g.neovide_no_idle = true
    -- vim.g.neovide_profiler = true -- frametime graph
    vim.g.neovide_cursor_animation_length = 0.02
    vim.g.neovide_cursor_short_animation_length = 0.01
    vim.g.neovide_cursor_animate_in_insert_mode = false
    vim.g.neovide_cursor_vfx_mode = "pixiedust"
    end