1
0
Fork 0

fix: add convenience to reloading and windows

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2022-10-18 15:39:49 -04:00
parent bdba67e617
commit e1e3ff7954
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47
2 changed files with 8 additions and 0 deletions

View file

@ -29,10 +29,14 @@ opt("updatetime", 100)
opt("mouse", "a")
opt("mousescroll", "ver:1,hor:1")
vim.cmd[[autocmd FocusGained * CheckTime]]
vim.g.mapleader = " "
vim.g.copilot_no_tab_map = true
vim.g.maplocalleader = ","
vim.wo.wrap = false
require("plugins")
require("mappings")
require("treesitter")

View file

@ -42,3 +42,7 @@ map("i", "<A-d>", "◊")
-- ayu toggle
map("n", "<A-j>", ":let ayucolor=\"dark\"<CR>:colorscheme ayu<CR>")
map("n", "<A-k>", ":let ayucolor=\"light\"<CR>:colorscheme ayu<CR>")
-- horizontal scrolling
map("n", "<C-l>", "zl")
map("n", "<C-h>", "zh")