fix: add convenience to reloading and windows
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
bdba67e617
commit
e1e3ff7954
2 changed files with 8 additions and 0 deletions
|
@ -29,10 +29,14 @@ opt("updatetime", 100)
|
||||||
opt("mouse", "a")
|
opt("mouse", "a")
|
||||||
opt("mousescroll", "ver:1,hor:1")
|
opt("mousescroll", "ver:1,hor:1")
|
||||||
|
|
||||||
|
vim.cmd[[autocmd FocusGained * CheckTime]]
|
||||||
|
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
vim.g.copilot_no_tab_map = true
|
vim.g.copilot_no_tab_map = true
|
||||||
vim.g.maplocalleader = ","
|
vim.g.maplocalleader = ","
|
||||||
|
|
||||||
|
vim.wo.wrap = false
|
||||||
|
|
||||||
require("plugins")
|
require("plugins")
|
||||||
require("mappings")
|
require("mappings")
|
||||||
require("treesitter")
|
require("treesitter")
|
||||||
|
|
|
@ -42,3 +42,7 @@ map("i", "<A-d>", "◊")
|
||||||
-- ayu toggle
|
-- ayu toggle
|
||||||
map("n", "<A-j>", ":let ayucolor=\"dark\"<CR>:colorscheme ayu<CR>")
|
map("n", "<A-j>", ":let ayucolor=\"dark\"<CR>:colorscheme ayu<CR>")
|
||||||
map("n", "<A-k>", ":let ayucolor=\"light\"<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")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue