33 lines
1.1 KiB
Lua
33 lines
1.1 KiB
Lua
-- Basic settings
|
|
vim.o.number = true -- Enable line numbers
|
|
vim.o.relativenumber = true -- Enable relative line numbers
|
|
vim.o.tabstop = 4 -- Number of spaces a tab represents
|
|
vim.o.shiftwidth = 4 -- Number of spaces for each indentation
|
|
vim.o.expandtab = true -- Convert tabs to spaces
|
|
vim.o.smartindent = true -- Automatically indent new lines
|
|
vim.o.wrap = false -- Disable line wrapping
|
|
vim.o.cursorline = true -- Highlight the current line
|
|
vim.o.termguicolors = true -- Enable 24-bit RGB colors
|
|
vim.filetype.add({extension = {svx = "markdown"}})
|
|
|
|
local kitten = vim.fn.expand("~/.local/share/kitty-ssh-kitten/kitty/bin/kitten")
|
|
vim.opt.clipboard = "unnamedplus"
|
|
vim.g.clipboard = {
|
|
name = 'OSC 52',
|
|
copy = {
|
|
['+'] = require('vim.ui.clipboard.osc52').copy('+'),
|
|
-- ['*'] = require('vim.ui.clipboard.osc52').copy('*'),
|
|
},
|
|
paste = {
|
|
['+'] = require('vim.ui.clipboard.osc52').paste('+'),
|
|
-- ['*'] = require('vim.ui.clipboard.osc52').paste('*'),
|
|
},
|
|
}
|
|
-- Syntax highlighting and filetype plugins
|
|
vim.cmd('syntax enable')
|
|
vim.cmd('filetype plugin indent on')
|
|
|
|
require("config.lazy")
|
|
|
|
--vim.cmd[[colorscheme tokyonight]]
|