mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-25 12:51:45 +00:00
move git-related plugins to custom/fugitive
This commit is contained in:
parent
afc8abfe8a
commit
82c98b224a
10
lua/custom/plugins/fugitive.lua
Normal file
10
lua/custom/plugins/fugitive.lua
Normal file
@ -0,0 +1,10 @@
|
||||
-- Switch in fugitive.vim status window with the current one
|
||||
vim.keymap.set('n', '<leader>gs', '<cmd>Gedit :<cr>', { desc = '[G]it [S]tatus' })
|
||||
|
||||
return {
|
||||
-- Git related plugins
|
||||
'tpope/vim-fugitive',
|
||||
dependencies = {
|
||||
'tpope/vim-rhubarb',
|
||||
},
|
||||
}
|
@ -40,9 +40,6 @@ vim.keymap.set('v', '<leader>pny', '"_dP', { desc = '[P]aste [N]o [Y]ank' })
|
||||
-- Populate CMD to prepare for change directory
|
||||
vim.keymap.set('n', '<leader>cd', ':cd ', { desc = 'Prepare CMD for [C]hange [D]irectory' })
|
||||
|
||||
-- Switch in fugitive.vim status window with the current one
|
||||
vim.keymap.set('n', '<leader>gs', '<cmd>Gedit :<cr>', { desc = '[G]it [S]tatus' })
|
||||
|
||||
-- Delete current buffer without closing window
|
||||
vim.keymap.set('n', '<leader>bd', '<cmd>bp<bar>sp<bar>bn<bar>bd<cr>', { desc = '[B]uffer [D]elete' })
|
||||
-- Switch to between buffers
|
||||
|
@ -19,10 +19,6 @@ require('lazy').setup({
|
||||
-- Practice games
|
||||
'ThePrimeagen/vim-be-good',
|
||||
|
||||
-- Git related plugins
|
||||
'tpope/vim-fugitive',
|
||||
'tpope/vim-rhubarb',
|
||||
|
||||
-- Processing-Java
|
||||
'sophacles/vim-processing',
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user