Translated vanilla completely
This commit is contained in:
@@ -4,6 +4,12 @@ vim.cmd("filetype on")
|
||||
vim.cmd("filetype plugin on")
|
||||
vim.cmd("syntax on")
|
||||
|
||||
-- Spell
|
||||
vim.opt.spell = true
|
||||
vim.opt.spl = "en_us,de_de"
|
||||
vim.opt.sps = "fast,timeout:100"
|
||||
|
||||
|
||||
-- Editor configuration
|
||||
vim.opt.number = true
|
||||
vim.opt.tabstop = 4
|
||||
@@ -12,6 +18,8 @@ vim.opt.expandtab = true
|
||||
vim.opt.splitright = true
|
||||
vim.opt.splitbelow = true
|
||||
vim.g.mapleader = ","
|
||||
vim.cmd("set clipboard+=unnamedplus")
|
||||
vim.cmd("autocmd! CursorHold,CursorHoldI *.md write")
|
||||
|
||||
-- GUI
|
||||
vim.opt.cursorline = true
|
||||
@@ -23,6 +31,9 @@ vim.opt.showmatch = true
|
||||
|
||||
-- set color scheme
|
||||
vim.opt.termguicolors = true
|
||||
vim.cmd("colorscheme slate")
|
||||
vim.keymap.set("n", "<M-+>", ":colo tokyonight-day<CR>")
|
||||
vim.keymap.set("n", "<M-->", ":colo tokyonight-storm<CR>")
|
||||
|
||||
vim.opt.mouse = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user