Autocommit 2024-53-25 03:53:46
This commit is contained in:
13
init.lua
13
init.lua
@@ -1,18 +1,18 @@
|
|||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
vim.opt.title = true
|
vim.opt.title = true
|
||||||
vim.opt.mouse=""
|
vim.opt.mouse = ""
|
||||||
vim.opt.wrap = true
|
vim.opt.wrap = true
|
||||||
vim.opt.fileencoding = "utf-8"
|
vim.opt.fileencoding = "utf-8"
|
||||||
vim.opt.clipboard = "unnamedplus"
|
vim.opt.clipboard = "unnamedplus"
|
||||||
vim.opt.completeopt = {"menu", "menuone", "preview", "noselect"}
|
vim.opt.completeopt = { "menu", "menuone", "preview", "noselect" }
|
||||||
vim.opt.termguicolors = false
|
vim.opt.termguicolors = false
|
||||||
vim.opt.laststatus = 3
|
vim.opt.laststatus = 3
|
||||||
--- Search
|
--- Search
|
||||||
vim.opt.ignorecase=true
|
vim.opt.ignorecase = true
|
||||||
vim.opt.smartcase=true
|
vim.opt.smartcase = true
|
||||||
--- Numbers
|
--- Numbers
|
||||||
vim.opt.number=true
|
vim.opt.number = true
|
||||||
vim.opt.relativenumber=true
|
vim.opt.relativenumber = true
|
||||||
--- Tab Options
|
--- Tab Options
|
||||||
vim.opt.smartindent = true
|
vim.opt.smartindent = true
|
||||||
vim.opt.smarttab = true
|
vim.opt.smarttab = true
|
||||||
@@ -32,7 +32,6 @@ vim.opt.sidescrolloff = 8
|
|||||||
--- Swapfile
|
--- Swapfile
|
||||||
vim.opt.swapfile = false
|
vim.opt.swapfile = false
|
||||||
vim.opt.backup = false
|
vim.opt.backup = false
|
||||||
|
|
||||||
--- Keymap
|
--- Keymap
|
||||||
-- Resource
|
-- Resource
|
||||||
vim.keymap.set("n", "<leader>r", ":source ~/.config/nvim/init.lua<cr>")
|
vim.keymap.set("n", "<leader>r", ":source ~/.config/nvim/init.lua<cr>")
|
||||||
|
|||||||
Reference in New Issue
Block a user