Skip to content

Instantly share code, notes, and snippets.

@mxro
Created May 11, 2026 05:39
Show Gist options
  • Select an option

  • Save mxro/e05135a407f6140dad33421ce43a0f75 to your computer and use it in GitHub Desktop.

Select an option

Save mxro/e05135a407f6140dad33421ce43a0f75 to your computer and use it in GitHub Desktop.
NeoVim Zen Editor Config
-- no UI clutter
vim.o.number = false
vim.o.relativenumber = false
vim.o.signcolumn = "no"
vim.o.ruler = false
vim.o.showcmd = false
vim.o.laststatus = 0
vim.o.cmdheight = 0
vim.o.showmode = false
-- no intro message
vim.o.shortmess = "I"
-- no swap/backup noise
vim.o.swapfile = false
vim.o.backup = false
vim.o.writebackup = false
-- no mouse
vim.o.mouse = ""
-- start in insert mode
vim.api.nvim_create_autocmd("VimEnter", {
callback = function()
vim.cmd("startinsert")
end,
})
vim.keymap.set('n', 'q', '<cmd>q!<CR>', { silent = true })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment