lualine config edits
This commit is contained in:
parent
9331121a9f
commit
5c937dc1c8
19 changed files with 301 additions and 83 deletions
33
init.lua
33
init.lua
|
|
@ -1,23 +1,22 @@
|
|||
vim.g.loaded_netrw = 1
|
||||
vim.g.loaded_netrwPlugin = 1
|
||||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = " "
|
||||
vim.g.mapleader = ' '
|
||||
vim.g.maplocalleader = ' '
|
||||
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
vim.fn.system {
|
||||
'git',
|
||||
'clone',
|
||||
'--filter=blob:none',
|
||||
'https://github.com/folke/lazy.nvim.git',
|
||||
'--branch=stable', -- latest stable release
|
||||
lazypath,
|
||||
})
|
||||
}
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
|
||||
require("lazy").setup("plugins", {
|
||||
require('lazy').setup('plugins', {
|
||||
change_detection = {
|
||||
notify = false,
|
||||
},
|
||||
|
|
@ -26,16 +25,8 @@ require("lazy").setup("plugins", {
|
|||
require 'user.options'
|
||||
require 'user.keymaps'
|
||||
require 'user.colorscheme'
|
||||
require 'user.autocmds'
|
||||
-- require 'user.cmp'
|
||||
-- require 'user.lsp'
|
||||
-- require 'user.treesitter'
|
||||
-- require 'user.autopairs'
|
||||
-- require 'user.nvim-tree'
|
||||
-- require 'user.bufferline'
|
||||
vim.api.nvim_create_autocmd('TextYankPost', {
|
||||
desc = 'Highlight when yanking (copying) text',
|
||||
group = vim.api.nvim_create_augroup('kickstart-highlight-yank', { clear = true }),
|
||||
callback = function()
|
||||
vim.highlight.on_yank()
|
||||
end,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue