neovim-dotfiles/lua/config/general.lua
2025-04-30 20:08:59 +02:00

27 lines
575 B
Lua
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

vim.opt.tabstop = 4
vim.opt.softtabstop = 0
vim.opt.shiftwidth = 0
vim.opt.shell = "/bin/bash"
vim.cmd("set wrap smoothscroll")
vim.opt.rnu = true
vim.opt.nu = true
vim.cmd([[set listchars=eol:$,tab:>-,trail:~,extends:>,precedes:<,space:•]])
vim.keymap.set("n", "<leader>hc", ":set list!<CR>", { silent = true })
vim.keymap.set("n", ".", ":", {})
vim.keymap.set("i", "jk", "", {})
vim.opt.termguicolors = true
vim.opt.hlsearch = false
vim.opt.incsearch = true
vim.opt.scrolloff = 6
vim.cmd("nnoremap j gj")
vim.cmd("nnoremap k gk")
vim.g.zig_fmt_parse_errors = 0