Initial neovim config -- the end of vimscript for me :)

This commit is contained in:
hollorol
2024-07-29 11:26:35 +02:00
commit 030c0482c8
13 changed files with 151 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
return {
"hollorol/angr.vim",
lazy = false,
priority = 1000,
config = function()
-- load the colorscheme here
vim.cmd([[colorscheme angr]])
end,
}
+10
View File
@@ -0,0 +1,10 @@
return {
{
'easymotion/vim-easymotion',
config = function()
-- EasyMotion configuration
vim.api.nvim_set_keymap('n', '<M-s>', '<Plug>(easymotion-s2)', {})
vim.api.nvim_set_keymap('n', '<M-l>', '<Plug>(easymotion-lineforward)', {})
end
},
}
+10
View File
@@ -0,0 +1,10 @@
return {
{
'junegunn/fzf',
run = function() vim.fn['fzf#install']() end
},
{
'junegunn/fzf.vim',
cmd = { 'Files','GFiles','Buffers','Helptags', 'Ag', 'Rg' }, -- Load when invoking FZF commands
}
}
+9
View File
@@ -0,0 +1,9 @@
return {
{'tpope/vim-fugitive'},
{'gorkunov/smartpairs.vim'},
{'SirVer/ultisnips'},
{'tpope/vim-surround'},
{'mattn/emmet-vim',
ft = { 'html', 'css', 'javascript', 'typescript', 'vue' },
}
}
+23
View File
@@ -0,0 +1,23 @@
return {
{
"R-nvim/R.nvim",
lazy = false
},
{
"nvim-treesitter/nvim-treesitter",
run = ":TSUpdate",
config = function ()
require("nvim-treesitter.configs").setup({
ensure_installed = { "markdown", "markdown_inline", "r", "rnoweb", "yaml" },
})
end
},
"R-nvim/cmp-r",
{
"hrsh7th/nvim-cmp",
config = function()
require("cmp").setup({ sources = {{ name = "cmp_r" }}})
require("cmp_r").setup({ })
end,
}
}
+3
View File
@@ -0,0 +1,3 @@
return{
'tomtom/tcomment_vim',
}
+18
View File
@@ -0,0 +1,18 @@
return {
"folke/which-key.nvim",
event = "VeryLazy",
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
},
keys = {
{
"<leader>?",
function()
require("which-key").show({ global = false })
end,
desc = "Buffer Local Keymaps (which-key)",
},
},
}