This commit is contained in:
Andrey Parhomenko 2023-08-31 10:06:39 +03:00
parent 3e1e7afea9
commit 5ba70a0c1c
3 changed files with 11 additions and 5 deletions

View file

@ -1,6 +1,11 @@
-- Surdeus init file. -- Surdeus init file.
-- surdeus@gmail.com -- surdeus@gmail.com
-- Reload all the modules without caching.
for name, _ in pairs(package.loaded) do
package.loaded[name] = nil
end
vim.cmd.language("en_US") vim.cmd.language("en_US")
vim.opt.swapfile = false vim.opt.swapfile = false
@ -8,6 +13,7 @@ vim.o.number = true
vim.o.cursorline = true vim.o.cursorline = true
vim.o.guicursor = 'n-v-c-sm-i-ci-ve:block,r-cr-o:hor20,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor' vim.o.guicursor = 'n-v-c-sm-i-ci-ve:block,r-cr-o:hor20,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor'
require("indent") require("indent")
require("maps") require("maps")

View file

@ -4,16 +4,17 @@ local package = {}
package.colors = { package.colors = {
none = "none", none = "none",
black = "#000000", black = "#000000",
white = "#FFFFFF", white = "#ffffff",
gray = "#777777", gray = "#777777",
lgray = "#BBBBBB", lgray = "#BBBBBB",
red = "#FF0000", red = "#ff0000",
green = "#00FF00", lgreen = "#44ff44",
green = "#00ff00",
dgreen = "#00bb00", dgreen = "#00bb00",
blue = "#0000FF", blue = "#0000ff",
lblue = "#0089ff", lblue = "#0089ff",
purple = "#cc33ff", purple = "#cc33ff",

View file

@ -7,7 +7,6 @@ local map = vim.api.nvim_set_keymap
local opts = {silent = true} local opts = {silent = true}
map('n', '\\rconf', ':source $HOME/lib/nvim/init.lua\n', opts) map('n', '\\rconf', ':source $HOME/lib/nvim/init.lua\n', opts)
map('n', '\\econf', ':e $HOME/lib/nvim/init.lua\n', opts) map('n', '\\econf', ':e $HOME/lib/nvim/init.lua\n', opts)
map('n', '\\rmap', ':source $HOME/lib/nvim/lua/maps.lua\n', opts)
map('n', '\\emap', ':e $HOME/lib/nvim/lua/maps.lua\n', opts) map('n', '\\emap', ':e $HOME/lib/nvim/lua/maps.lua\n', opts)
-- Moving around. -- Moving around.