v1.4
This commit is contained in:
parent
32e42f43f1
commit
0cbe91d02e
8
init.lua
8
init.lua
|
@ -217,7 +217,13 @@ vim.keymap.set('n', 'N', 'Nzzzv', opts)
|
|||
vim.keymap.set('n', '<leader>v', '<C-w>v', opts) -- split window vertically
|
||||
vim.keymap.set('n', '<leader>h', '<C-w>s', opts) -- split window horizontally
|
||||
vim.keymap.set('n', '<leader>se', '<C-w>=', opts) -- make split windows equal width & height
|
||||
vim.keymap.set('n', '<leader>xs', ':close<CR>', opts) -- close current split window
|
||||
-- vim.keymap.set('n', '<leader>xs', ':close<CR>', opts) -- close current split windowleader>xs
|
||||
|
||||
-- Resize splits
|
||||
vim.keymap.set('n', '<leader>+', '<C-w>+', { noremap = true, silent = true }) -- increase height
|
||||
vim.keymap.set('n', '<leader>-', '<C-w>-', { noremap = true, silent = true }) -- decrease height
|
||||
vim.keymap.set('n', '<leader>>', '<C-w>>', { noremap = true, silent = true }) -- increase width
|
||||
vim.keymap.set('n', '<leader><', '<C-w><', { noremap = true, silent = true }) -- decrease width
|
||||
|
||||
-- Navigate between splits
|
||||
vim.keymap.set('n', '<C-k>', ':wincmd k<CR>', opts)
|
||||
|
|
|
@ -110,4 +110,29 @@ return {
|
|||
vim.cmd [[highlight NotifyBackground guibg=#000000]]
|
||||
end,
|
||||
},
|
||||
{ 'fladson/vim-kitty' },
|
||||
{
|
||||
'f-person/git-blame.nvim',
|
||||
-- load the plugin at startup
|
||||
event = 'VeryLazy',
|
||||
-- Because of the keys part, you will be lazy loading this plugin.
|
||||
-- The plugin wil only load once one of the keys is used.
|
||||
-- If you want to load the plugin at startup, add something like event = "VeryLazy",
|
||||
-- or lazy = false. One of both options will work.
|
||||
opts = {
|
||||
-- your configuration comes here
|
||||
-- for example
|
||||
enabled = true, -- if you want to enable the plugin
|
||||
message_template = ' <summary> • <date> • <author> • <<sha>>', -- template for the blame message, check the Message template section for more options
|
||||
date_format = '%m-%d-%Y %H:%M:%S', -- template for the date, check Date format section for more options
|
||||
virtual_text_column = 1, -- virtual text start column, check Start virtual text at column section for more options
|
||||
},
|
||||
},
|
||||
{
|
||||
'FabijanZulj/blame.nvim',
|
||||
init = function()
|
||||
vim.api.nvim_set_keymap('n', '<Leader>gB', ':BlameToggle<CR>', { noremap = true, silent = true })
|
||||
end,
|
||||
config = true,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -135,11 +135,11 @@ return {
|
|||
required_width = 122, -- min width of window required to show this column
|
||||
},
|
||||
last_modified = {
|
||||
enabled = true,
|
||||
enabled = false,
|
||||
required_width = 88, -- min width of window required to show this column
|
||||
},
|
||||
created = {
|
||||
enabled = true,
|
||||
enabled = false,
|
||||
required_width = 110, -- min width of window required to show this column
|
||||
},
|
||||
symlink_target = {
|
||||
|
@ -215,7 +215,7 @@ return {
|
|||
filesystem = {
|
||||
filtered_items = {
|
||||
visible = false, -- when true, they will just be displayed differently than normal items
|
||||
hide_dotfiles = true,
|
||||
hide_dotfiles = false,
|
||||
hide_gitignored = true,
|
||||
hide_hidden = true, -- only works on Windows for hidden files/directories
|
||||
hide_by_name = {
|
||||
|
|
Loading…
Reference in New Issue