Switch nightfox for onedark
Remove some unused plugins and prune unused files
This commit is contained in:
parent
8a6ad56378
commit
07c3ab7986
|
@ -1,29 +0,0 @@
|
|||
local options = {
|
||||
transparent = true,
|
||||
modules = {
|
||||
aerial = true,
|
||||
cmp = true,
|
||||
fidget = true,
|
||||
gitsigns = true,
|
||||
gitgutter = true,
|
||||
hop = true,
|
||||
lsp_trouble = true,
|
||||
notify = true,
|
||||
nvimtree = true,
|
||||
telescope = true,
|
||||
treesitter = true,
|
||||
diagnostic = {
|
||||
enable = true,
|
||||
backgroud = true,
|
||||
},
|
||||
native_lsp = {
|
||||
enable = true,
|
||||
backgroud = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
require('nightfox').setup {
|
||||
options = options,
|
||||
}
|
||||
require('nightfox').compile()
|
||||
vim.cmd("colorscheme nightfox")
|
|
@ -1,7 +0,0 @@
|
|||
require('sniprun').setup {
|
||||
selected_interpreters = { 'Python3_fifo' },
|
||||
repl_enable = { 'Python3_fifo' },
|
||||
display = {
|
||||
"NvimNotify"
|
||||
},
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
require 'config_filetypes.config_python'
|
|
@ -13,7 +13,6 @@ end
|
|||
vim.g.mapleader = ' '
|
||||
-- Misc
|
||||
imap('jk', '<Esc>')
|
||||
nmap('<leader>hq', '<cmd>Gitsigns setqflist all<cr>')
|
||||
nmap('<leader>aa', '<cmd>AerialToggle<cr>')
|
||||
|
||||
-- Telescope
|
||||
|
@ -26,10 +25,6 @@ nmap('<leader>fe', '<cmd>Telescope diagnostics<cr>')
|
|||
nmap('<leader>fs', '<cmd>Telescope treesitter<cr>')
|
||||
nmap('<leader>fz', '<cmd>Telescope current_buffer_fuzzy_find<cr>')
|
||||
|
||||
-- Hop
|
||||
nmap('<leader>hl', '<cmd>HopLine<cr>')
|
||||
nmap('<leader>hw', '<cmd>HopWord<cr>')
|
||||
|
||||
-- Nvim-tree
|
||||
nmap('<leader>n', '<cmd>NvimTreeToggle<cr>')
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
-- Neovide options
|
||||
vim.g.neovide_transparency = 0.95
|
||||
vim.g.neovide_confirm_quit = true
|
||||
vim.g.neovide_fullscreen = false
|
||||
vim.g.neovide_remember_window_size = false
|
||||
vim.g.neovide_cursor_animation_length = 0.0
|
||||
-- vim.g.neovide_cursor_trail_size = 0.8
|
||||
vim.g.neovide_cursor_antialiasing = true
|
|
@ -9,9 +9,15 @@ require('packer').startup {
|
|||
function(use)
|
||||
use 'wbthomason/packer.nvim'
|
||||
use {
|
||||
"EdenEast/nightfox.nvim",
|
||||
"navarasu/onedark.nvim",
|
||||
config = function ()
|
||||
require 'config_plugins.config_nightfox'
|
||||
require("onedark").setup {
|
||||
transparent = true,
|
||||
lualine = {
|
||||
transparent = true,
|
||||
},
|
||||
}
|
||||
require("onedark").load()
|
||||
end
|
||||
}
|
||||
use {
|
||||
|
@ -25,7 +31,6 @@ require('packer').startup {
|
|||
}
|
||||
use 'kyazdani42/nvim-web-devicons'
|
||||
use 'nvim-lua/plenary.nvim'
|
||||
use 'christoomey/vim-tmux-navigator'
|
||||
use {
|
||||
'neovim/nvim-lspconfig',
|
||||
'hrsh7th/nvim-cmp',
|
||||
|
@ -111,21 +116,6 @@ require('packer').startup {
|
|||
require 'config_plugins.config_telescope'
|
||||
end
|
||||
}
|
||||
use {
|
||||
'michaelb/sniprun',
|
||||
run = 'bash install.sh',
|
||||
opt = true,
|
||||
cmd = { 'SnipRun', 'SnipInfo', 'SnipReset' },
|
||||
config = function()
|
||||
require 'config_plugins.config_sniprun'
|
||||
end
|
||||
}
|
||||
use {
|
||||
'phaazon/hop.nvim',
|
||||
config = function()
|
||||
require('hop').setup()
|
||||
end
|
||||
}
|
||||
use {
|
||||
'folke/trouble.nvim',
|
||||
config = function()
|
||||
|
@ -135,7 +125,10 @@ require('packer').startup {
|
|||
use {
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
config = function()
|
||||
require('indent_blankline').setup()
|
||||
require('indent_blankline').setup {
|
||||
show_current_context = true,
|
||||
show_current_context_start = false,
|
||||
}
|
||||
end
|
||||
}
|
||||
end,
|
||||
|
|
Loading…
Reference in a new issue