neovim-dotfiles/lua/config/general.lua
Dario48true 34bf5626f6 tmp
2025-02-26 11:05:55 +01:00

25 lines
543 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")