Add init lua file with more configs and keybind (#5)
Reviewed-on: #5
This commit was merged in pull request #5.
This commit is contained in:
+18
-1
@@ -1 +1,18 @@
|
|||||||
vim.opt.colorcolumn = '100'
|
vim.opt.colorcolumn = '100'
|
||||||
|
vim.opt.number = true
|
||||||
|
vim.opt.relativenumber = true
|
||||||
|
vim.opt.mouse = 'a'
|
||||||
|
|
||||||
|
vim.schedule(function()
|
||||||
|
vim.opt.clipboard = "unnamedplus"
|
||||||
|
end)
|
||||||
|
|
||||||
|
vim.opt.undofile = true
|
||||||
|
|
||||||
|
vim.opt.ignorecase = true
|
||||||
|
vim.opt.smartcase = true
|
||||||
|
|
||||||
|
vim.opt.signcolumn = "number"
|
||||||
|
vim.opt.updatetime = 250
|
||||||
|
vim.opt.cursorline = true
|
||||||
|
vim.opt.scrolloff = 10
|
||||||
+5
-1
@@ -1 +1,5 @@
|
|||||||
vim.keymap.set('n', '<leader>..', vim.cmd.Ex)
|
-- Open file explorer
|
||||||
|
vim.keymap.set("n", "<leader>..", vim.cmd.Ex)
|
||||||
|
|
||||||
|
-- Clear highlights with <Esc>
|
||||||
|
vim.keymap.set("n", "<Esc>", "<cmd>nohlsearch<CR>")
|
||||||
Reference in New Issue
Block a user