mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 08:39:42 -04:00
Initial
This commit is contained in:
commit
a79fc67d37
647 changed files with 123931 additions and 0 deletions
26
homeConfig/dotfiles/nvim/init.lua
Normal file
26
homeConfig/dotfiles/nvim/init.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
-- Line Numbering
|
||||
vim.o.relativenumber = true
|
||||
vim.o.number = true
|
||||
vim.cmd('highlight LineNr ctermfg=DarkGray')
|
||||
|
||||
-- Enable clipboard
|
||||
vim.o.clipboard = "unnamedplus"
|
||||
|
||||
|
||||
-- Load packer.nvim
|
||||
local packer_install_path = vim.fn.stdpath('data') .. '/site/pack/packer/start/packer.nvim'
|
||||
if vim.fn.empty(vim.fn.glob(packer_install_path)) > 0 then
|
||||
vim.fn.execute('!git clone https://github.com/wbthomason/packer.nvim ' .. packer_install_path)
|
||||
vim.cmd 'packadd packer.nvim'
|
||||
end
|
||||
dofile(vim.fn.stdpath('config') .. '/plugins.lua')
|
||||
|
||||
-- Keep Cursor
|
||||
vim.o.guicursor = ''
|
||||
|
||||
-- Indentation
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.tabstop = 2
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue