0.0.1
This commit is contained in:
commit
36c66e33e6
17 changed files with 348 additions and 0 deletions
25
init.lua
Normal file
25
init.lua
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = " "
|
||||
|
||||
vim.opt.backspace = "2"
|
||||
vim.opt.laststatus = 2
|
||||
vim.opt.autowrite = true
|
||||
vim.opt.cursorline = true
|
||||
vim.opt.autoread = true
|
||||
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.shiftround = true
|
||||
vim.opt.expandtab = true
|
||||
|
||||
vim.opt.number = true
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
require("config.lazy")
|
||||
|
||||
vim.keymap.set("n", "<leader>h", ":noh<CR>")
|
||||
|
||||
-- terminal
|
||||
vim.keymap.set("t", "<Esc>", [[<C-\><C-n>]], { desc = "Exit terminal mode" })
|
||||
|
||||
vim.keymap.set("n", "<leader>t", ":tabnew<CR>", { desc = "Open tab" })
|
||||
Loading…
Add table
Add a link
Reference in a new issue