nixos/nvim/basics.lua

20 lines
445 B
Lua

vim.opt.termguicolors = true
vim.cmd[[colorscheme modus_operandi]]
HOME = os.getenv("HOME")
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
vim.opt.smartindent = true
vim.opt.scrolloff=10
vim.opt.splitright = true
vim.opt.splitbelow = true
vim.opt.relativenumber = true
vim.opt.clipboard = 'unnamedplus'
vim.g.mapleader = ' '
vim.opt.shortmess :append("I")
require('leap').set_default_keymaps()
require('neogit').setup()