Switch nightfox for onedark

Remove some unused plugins and prune unused files
This commit is contained in:
Evie Litherland-Smith 2023-01-31 15:22:04 +00:00
parent 8a6ad56378
commit 07c3ab7986
6 changed files with 13 additions and 70 deletions

View file

@ -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")

View file

@ -1,7 +0,0 @@
require('sniprun').setup {
selected_interpreters = { 'Python3_fifo' },
repl_enable = { 'Python3_fifo' },
display = {
"NvimNotify"
},
}

View file

@ -1 +0,0 @@
require 'config_filetypes.config_python'

View file

@ -13,7 +13,6 @@ end
vim.g.mapleader = ' ' vim.g.mapleader = ' '
-- Misc -- Misc
imap('jk', '<Esc>') imap('jk', '<Esc>')
nmap('<leader>hq', '<cmd>Gitsigns setqflist all<cr>')
nmap('<leader>aa', '<cmd>AerialToggle<cr>') nmap('<leader>aa', '<cmd>AerialToggle<cr>')
-- Telescope -- Telescope
@ -26,10 +25,6 @@ nmap('<leader>fe', '<cmd>Telescope diagnostics<cr>')
nmap('<leader>fs', '<cmd>Telescope treesitter<cr>') nmap('<leader>fs', '<cmd>Telescope treesitter<cr>')
nmap('<leader>fz', '<cmd>Telescope current_buffer_fuzzy_find<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 -- Nvim-tree
nmap('<leader>n', '<cmd>NvimTreeToggle<cr>') nmap('<leader>n', '<cmd>NvimTreeToggle<cr>')

View file

@ -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

View file

@ -9,9 +9,15 @@ require('packer').startup {
function(use) function(use)
use 'wbthomason/packer.nvim' use 'wbthomason/packer.nvim'
use { use {
"EdenEast/nightfox.nvim", "navarasu/onedark.nvim",
config = function () config = function ()
require 'config_plugins.config_nightfox' require("onedark").setup {
transparent = true,
lualine = {
transparent = true,
},
}
require("onedark").load()
end end
} }
use { use {
@ -25,7 +31,6 @@ require('packer').startup {
} }
use 'kyazdani42/nvim-web-devicons' use 'kyazdani42/nvim-web-devicons'
use 'nvim-lua/plenary.nvim' use 'nvim-lua/plenary.nvim'
use 'christoomey/vim-tmux-navigator'
use { use {
'neovim/nvim-lspconfig', 'neovim/nvim-lspconfig',
'hrsh7th/nvim-cmp', 'hrsh7th/nvim-cmp',
@ -111,21 +116,6 @@ require('packer').startup {
require 'config_plugins.config_telescope' require 'config_plugins.config_telescope'
end 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 { use {
'folke/trouble.nvim', 'folke/trouble.nvim',
config = function() config = function()
@ -135,7 +125,10 @@ require('packer').startup {
use { use {
"lukas-reineke/indent-blankline.nvim", "lukas-reineke/indent-blankline.nvim",
config = function() config = function()
require('indent_blankline').setup() require('indent_blankline').setup {
show_current_context = true,
show_current_context_start = false,
}
end end
} }
end, end,