Changed colorscheme to catppuccin
Added harpoon for moving between files Added sunglasses for tinting inactive splits Split config further for general options / keymaps
This commit is contained in:
parent
c3e34266e5
commit
9e6f8d4252
6 changed files with 103 additions and 46 deletions
13
init.lua
13
init.lua
|
|
@ -124,7 +124,7 @@ require('lazy').setup({
|
|||
changedelete = { text = '~' },
|
||||
},
|
||||
on_attach = function(bufnr)
|
||||
vim.keymap.set('n', '<leader>hp', require('gitsigns').preview_hunk, { buffer = bufnr, desc = 'Preview git hunk' })
|
||||
vim.keymap.set('n', '<leader>gp', require('gitsigns').preview_hunk, { buffer = bufnr, desc = 'Preview git hunk' })
|
||||
|
||||
-- don't override the built-in and fugitive keymaps
|
||||
local gs = package.loaded.gitsigns
|
||||
|
|
@ -157,7 +157,7 @@ require('lazy').setup({
|
|||
opts = {
|
||||
options = {
|
||||
icons_enabled = false,
|
||||
theme = 'dracula',
|
||||
theme = 'catppuccin',
|
||||
component_separators = '|',
|
||||
section_separators = '',
|
||||
},
|
||||
|
|
@ -449,7 +449,6 @@ require('which-key').register {
|
|||
['<leader>c'] = { name = '[C]ode', _ = 'which_key_ignore' },
|
||||
['<leader>d'] = { name = '[D]ocument', _ = 'which_key_ignore' },
|
||||
['<leader>g'] = { name = '[G]it', _ = 'which_key_ignore' },
|
||||
['<leader>h'] = { name = 'More git', _ = 'which_key_ignore' },
|
||||
['<leader>r'] = { name = '[R]ename', _ = 'which_key_ignore' },
|
||||
['<leader>s'] = { name = '[S]earch', _ = 'which_key_ignore' },
|
||||
['<leader>w'] = { name = '[W]orkspace', _ = 'which_key_ignore' },
|
||||
|
|
@ -565,5 +564,11 @@ vim.api.nvim_create_autocmd('BufWritePre', {
|
|||
require('conform').format { bufnr = args.buf }
|
||||
end,
|
||||
})
|
||||
-- The line beneath this is called `modeline`. See `:help modeline`
|
||||
|
||||
-- [[ Setting options ]]
|
||||
require 'options'
|
||||
|
||||
-- [[ Basic Keymaps ]]
|
||||
require 'keymaps'
|
||||
-- The line beneath this is called `modeline`. ee `:help modeline`
|
||||
-- vim: ts=2 sts=2 sw=2 et
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue