Last active
April 29, 2024 12:47
-
-
Save abanoubha/7aaf5ff87d8772d7d8a456a42c0bfaac to your computer and use it in GitHub Desktop.
simple nvim config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vim.wo.number = true | |
vim.opt.relativenumber = true | |
vim.o.mouse = 'a' | |
vim.o.clipboard = 'unnamedplus' | |
vim.o.undofile = true | |
vim.o.ignorecase = true | |
vim.o.smartcase = true | |
vim.o.updatetime = 250 | |
vim.o.timeoutlen = 300 | |
-- Automatically remove trailing spaces when saving | |
vim.cmd[[autocmd BufWritePre * :%s/\s\+$//e]] | |
-- vim.cmd[[colorscheme murphy]] | |
vim.cmd.colorscheme("murphy") | |
-- tab is 2 spaces | |
vim.opt.tabstop = 2 | |
vim.opt.shiftwidth = 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment