Nvim: new plugins
This commit is contained in:
@@ -20,5 +20,5 @@ return {
|
|||||||
follow_tw = nil,
|
follow_tw = nil,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
enabled = false
|
enabled = true
|
||||||
}
|
}
|
||||||
|
|||||||
7
.config/nvim/lua/plugins/garbage-day.lua
Normal file
7
.config/nvim/lua/plugins/garbage-day.lua
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
return {
|
||||||
|
'zeioth/garbage-day.nvim',
|
||||||
|
event = "VeryLazy",
|
||||||
|
opts = {
|
||||||
|
wakeup_delay = 5000
|
||||||
|
}
|
||||||
|
}
|
||||||
5
.config/nvim/lua/plugins/gptmodels.lua
Normal file
5
.config/nvim/lua/plugins/gptmodels.lua
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
return {
|
||||||
|
'Aaronik/GPTModels.nvim',
|
||||||
|
config = true,
|
||||||
|
enabled = false
|
||||||
|
}
|
||||||
@@ -28,4 +28,5 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
enabled = false
|
||||||
}
|
}
|
||||||
|
|||||||
22
.config/nvim/lua/plugins/repl.lua
Normal file
22
.config/nvim/lua/plugins/repl.lua
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
return {
|
||||||
|
"petrichorma/nvim_ds_repl",
|
||||||
|
requires = "nvim-treesitter",
|
||||||
|
config = function ()
|
||||||
|
vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, {
|
||||||
|
pattern = {"*.py", "*.R"},
|
||||||
|
callback = function()
|
||||||
|
vim.keymap.set("n", '<CR>', function()
|
||||||
|
require('nvim_ds_repl').send_statement_definition()
|
||||||
|
end, {noremap = true})
|
||||||
|
vim.keymap.set("v", '<CR>', function()
|
||||||
|
require('nvim_ds_repl').send_visual_to_repl()
|
||||||
|
end, {noremap = true})
|
||||||
|
vim.keymap.set("n", '<leader>fa', function()
|
||||||
|
require('nvim_ds_repl').send_buffer_to_repl()
|
||||||
|
end, {noremap = true})
|
||||||
|
vim.api.nvim_set_keymap('n', '<leader>pp', "<cmd>lua require('nvim_ds_repl').get_envs()<CR>", {noremap = true, silent = true})
|
||||||
|
vim.api.nvim_set_keymap('n', '<leader>pj', "<cmd>lua require('nvim_ds_repl').inspect()<CR>", {noremap = true, silent = true})
|
||||||
|
end
|
||||||
|
})
|
||||||
|
end
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user