dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

zen-mode.lua (1356B)


      1 -- $HOME/.config/nvim/lua/linus/plugins/zen-mode.lua
      2 return {
      3   "folke/zen-mode.nvim",
      4   opts = {
      5     border = "none",
      6     zindex = 40,
      7     window = {
      8       backdrop = 0.95,
      9       width = 100,
     10       height = 1,
     11       options = {
     12         -- signcolumn = "no",
     13         -- number = false,
     14         -- relativenumber = false,
     15         -- cursorline = false,
     16         -- cursorcolumn = false,
     17         -- foldcolumn = "0",
     18         -- list = false,
     19       },
     20     },
     21     plugins = {
     22       options = {
     23         enabled = true,
     24         ruler = false,
     25         showcmd = false,
     26       },
     27       twilight = { enabled = true },
     28       gitsigns = { enabled = false },
     29       tmux = { enabled = false },
     30       diagnostics = { enabled = false },
     31       todo = { enabled = false },
     32       neovide = {
     33         enabled = false,
     34         scale = 1.2,
     35         disable_animations = {
     36           neovide_animation_length = 0,
     37           neovide_cursor_animate_command_line = false,
     38           neovide_scroll_animation_length = 0,
     39           neovide_position_animation_length = 0,
     40           neovide_cursor_animation_length = 0,
     41           neovide_cursor_vfx_mode = "",
     42         },
     43       },
     44     },
     45     on_open = function(win)
     46       -- Beispiel: vim.wo[win].wrap = true
     47         vim.wo[win].wrap = true
     48     end,
     49     on_close = function() end,
     50   },
     51 }
     52 -- keymaps
     53 -- $HOME/.config/nvim/lua/linus/keys.lua