Fork and customize config
This commit is contained in:
parent
4a37a0a9b1
commit
e137556250
6 changed files with 155 additions and 35 deletions
|
|
@ -1,5 +1,26 @@
|
|||
-- You can add your own plugins here or in other files in this directory!
|
||||
-- I promise not to create any merge conflicts in this directory :)
|
||||
--
|
||||
-- See the kickstart.nvim README for more information
|
||||
return {}
|
||||
return {
|
||||
{ "github/copilot.vim", },
|
||||
{ "myusuf3/numbers.vim", },
|
||||
{ "tpope/vim-eunuch", },
|
||||
{ "tpope/vim-repeat", },
|
||||
{ "tpope/vim-surround" },
|
||||
|
||||
{
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
opts = {}
|
||||
},
|
||||
|
||||
{
|
||||
"windwp/nvim-autopairs",
|
||||
config = function()
|
||||
require("nvim-autopairs").setup {}
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"kristijanhusak/vim-dirvish-git",
|
||||
dependencies = {
|
||||
"justinmk/vim-dirvish",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
10
lua/custom/plugins/nvim-base16.lua
Normal file
10
lua/custom/plugins/nvim-base16.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
return {
|
||||
'norcalli/nvim-base16.lua',
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function()
|
||||
local base16 = require 'base16'
|
||||
|
||||
base16(base16.themes[vim.env.BASE16_THEME or "3024"], true)
|
||||
end,
|
||||
}
|
||||
20
lua/custom/plugins/reveal.lua
Normal file
20
lua/custom/plugins/reveal.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
-- RevealInFinder
|
||||
-- ---------------------------------------------------------------------------
|
||||
|
||||
-- set this to leader-e
|
||||
vim.cmd([[
|
||||
function! s:RevealInFinder()
|
||||
if filereadable(expand("%"))
|
||||
let l:command = "open -R %"
|
||||
elseif getftype(expand("%:p:h")) == "dir"
|
||||
let l:command = "open %:p:h"
|
||||
else
|
||||
let l:command = "open ."
|
||||
endif
|
||||
execute ":silent! !" . l:command
|
||||
redraw!
|
||||
endfunction
|
||||
command! Reveal call <SID>RevealInFinder()
|
||||
]])
|
||||
|
||||
return {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue