mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-28 14:21:45 +00:00
Compare commits
No commits in common. "a093b14686a310e5c21373f4a5b3f30d71a504c8" and "afc8abfe8a5c061a7b5b89fb3299cf590b70d60f" have entirely different histories.
a093b14686
...
afc8abfe8a
@ -1,16 +0,0 @@
|
|||||||
-- Switch in fugitive.vim status window with the current one
|
|
||||||
vim.keymap.set('n', '<leader>gs', '<cmd>Gedit :<cr>', { desc = '[G]it [S]tatus' })
|
|
||||||
-- Fetch all changes
|
|
||||||
vim.keymap.set('n', '<leader>gF', '<cmd>Git fetch<cr>', { desc = '[G]it [F]etch' })
|
|
||||||
-- Push changes
|
|
||||||
vim.keymap.set('n', '<leader>gP', '<cmd>Git push<cr>', { desc = '[G]it [P]ush' })
|
|
||||||
-- Pull changes
|
|
||||||
vim.keymap.set('n', '<leader>gp', '<cmd>Git pull<cr>', { desc = '[G]it [P]ull' })
|
|
||||||
|
|
||||||
return {
|
|
||||||
-- Git related plugins
|
|
||||||
'tpope/vim-fugitive',
|
|
||||||
dependencies = {
|
|
||||||
'tpope/vim-rhubarb',
|
|
||||||
},
|
|
||||||
}
|
|
@ -40,6 +40,9 @@ vim.keymap.set('v', '<leader>pny', '"_dP', { desc = '[P]aste [N]o [Y]ank' })
|
|||||||
-- Populate CMD to prepare for change directory
|
-- Populate CMD to prepare for change directory
|
||||||
vim.keymap.set('n', '<leader>cd', ':cd ', { desc = 'Prepare CMD for [C]hange [D]irectory' })
|
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
|
-- 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' })
|
vim.keymap.set('n', '<leader>bd', '<cmd>bp<bar>sp<bar>bn<bar>bd<cr>', { desc = '[B]uffer [D]elete' })
|
||||||
-- Switch to between buffers
|
-- Switch to between buffers
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
return {
|
return {
|
||||||
'mfussenegger/nvim-dap',
|
'mfussenegger/nvim-dap',
|
||||||
dependencies = {
|
dependencies = {
|
||||||
-- Async IO library
|
|
||||||
'nvim-neotest/nvim-nio',
|
|
||||||
|
|
||||||
-- Creates a beautiful debugger UI
|
-- Creates a beautiful debugger UI
|
||||||
'rcarriga/nvim-dap-ui',
|
'rcarriga/nvim-dap-ui',
|
||||||
|
|
||||||
@ -19,8 +16,12 @@ return {
|
|||||||
local dapui = require 'dapui'
|
local dapui = require 'dapui'
|
||||||
|
|
||||||
require('mason-nvim-dap').setup {
|
require('mason-nvim-dap').setup {
|
||||||
automatic_setup = true,
|
automatic_setup = false,
|
||||||
handlers = {},
|
handlers = {},
|
||||||
|
-- Installed language debuggers
|
||||||
|
ensure_installed = {
|
||||||
|
'node-debug2-adapter',
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Basic debugging keymaps, feel free to change to your liking!
|
-- Basic debugging keymaps, feel free to change to your liking!
|
||||||
|
@ -19,19 +19,13 @@ require('lazy').setup({
|
|||||||
-- Practice games
|
-- Practice games
|
||||||
'ThePrimeagen/vim-be-good',
|
'ThePrimeagen/vim-be-good',
|
||||||
|
|
||||||
|
-- Git related plugins
|
||||||
|
'tpope/vim-fugitive',
|
||||||
|
'tpope/vim-rhubarb',
|
||||||
|
|
||||||
-- Processing-Java
|
-- Processing-Java
|
||||||
'sophacles/vim-processing',
|
'sophacles/vim-processing',
|
||||||
|
|
||||||
-- Git graph viewer
|
|
||||||
{
|
|
||||||
'rbong/vim-flog',
|
|
||||||
lazy = true,
|
|
||||||
cmd = { 'Flog', 'Flogsplit', 'Floggit' },
|
|
||||||
dependencies = {
|
|
||||||
'tpope/vim-fugitive',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
-- Markdown preview plugin
|
-- Markdown preview plugin
|
||||||
{
|
{
|
||||||
'iamcco/markdown-preview.nvim',
|
'iamcco/markdown-preview.nvim',
|
||||||
|
Loading…
Reference in New Issue
Block a user