Compare commits

..

No commits in common. 'master' and 'feature/lua-configs' have entirely different histories.

@ -11,8 +11,7 @@ map <C-b> : w % <Bar> AsyncRun md2pdf "%" <CR>
map <A-p> : w % <Bar> AsyncRun md2beamer "%" <CR>
map <A-b> : w % <Bar> AsyncRun md2docx % <CR>
map <C-z> : !zathura %:r.pdf & <CR>
inoremap <leader>b ****<esc>hi
inoremap <leader>i **<esc>i
inoremap ;b ****<esc>hi
command Stab Tabularize /\s\+\zs\s/l1c0
nnoremap ;t :Tabularize /\s\+\zs\s/l1c0<CR>
set tw=1000

@ -205,7 +205,6 @@ require("lazy").setup({
},
"christoomey/vim-tmux-navigator",
"kana/vim-textobj-user",
"mechatroner/rainbow_csv",
{
"GCBallesteros/vim-textobj-hydrogen",
dependencies = {
@ -271,7 +270,6 @@ require("lazy").setup({
repl_open_cmd = "horizontal bot 20 split"
end,
},
"norcalli/nvim-colorizer.lua",
"ixru/nvim-markdown",
"KeitaNakamura/tex-conceal.vim",
"christoomey/vim-tmux-navigator",
@ -557,6 +555,7 @@ require("lazy").setup({
"stylua", -- Used to format lua code
"black",
"clang-format",
"ormolu",
"beautysh",
"latexindent",
"prettier",
@ -768,13 +767,12 @@ require("lazy").setup({
-- change the command in the config to whatever the name of that colorscheme is
--
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`
"morhetz/gruvbox",
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
"zenbones-theme/zenbones.nvim",
dependencies = "rktjmp/lush.nvim",
config = function()
-- Load the colorscheme here
vim.cmd.colorscheme("zenwritten")
vim.cmd.colorscheme("gruvbox")
end,
},
@ -839,60 +837,7 @@ require("lazy").setup({
end,
},
"airblade/vim-gitgutter",
"tpope/vim-abolish",
{
"danymat/neogen",
setup = {
snippet_engine = "luasnip",
},
config = function()
require("neogen").setup({})
local opts = { noremap = true, silent = true }
vim.api.nvim_set_keymap("n", "<Leader>dg", ":lua require('neogen').generate()<CR>", opts)
end,
version = "*",
},
"dhruvasagar/vim-table-mode",
{
"folke/trouble.nvim",
opts = {}, -- for default options, refer to the configuration section for custom setup.
cmd = "Trouble",
keys = {
{
"<leader>xx",
"<cmd>Trouble diagnostics toggle<cr>",
desc = "Diagnostics (Trouble)",
},
{
"<leader>xX",
"<cmd>Trouble diagnostics toggle filter.buf=0<cr>",
desc = "Buffer Diagnostics (Trouble)",
},
{
"<leader>cs",
"<cmd>Trouble symbols toggle focus=false<cr>",
desc = "Symbols (Trouble)",
},
{
"<leader>cl",
"<cmd>Trouble lsp toggle focus=false win.position=right<cr>",
desc = "LSP Definitions / references / ... (Trouble)",
},
{
"<leader>xL",
"<cmd>Trouble loclist toggle<cr>",
desc = "Location List (Trouble)",
},
{
"<leader>xQ",
"<cmd>Trouble qflist toggle<cr>",
desc = "Quickfix List (Trouble)",
},
},
},
})
require("colorizer").setup()
--Set rustfmt command
vim.g["rustfmt_command"] = "rustfmt +nightly"
--Disable semantic highlights
@ -943,12 +888,3 @@ vim.api.nvim_create_user_command("FormatEnable", function()
end, {
desc = "Re-enable autoformat-on-save",
})
function file_exists(name)
local f = io.open(name, "r")
return f ~= nil and io.close(f)
end
if file_exists("/home/aselimov/.config/.stlight") then
vim.opt.background = "light"
end

Loading…
Cancel
Save