Initial neovim config -- the end of vimscript for me :)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
return {
|
||||
"hollorol/angr.vim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function()
|
||||
-- load the colorscheme here
|
||||
vim.cmd([[colorscheme angr]])
|
||||
end,
|
||||
}
|
||||
@@ -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
|
||||
},
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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' },
|
||||
}
|
||||
}
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
return{
|
||||
'tomtom/tcomment_vim',
|
||||
}
|
||||
@@ -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)",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user