fix: remove unused plugins/configs
This commit is contained in:
parent
f65d6dcc04
commit
030f50b95f
@ -1,3 +0,0 @@
|
||||
vim.g['bracey_server_allow_remote_connections'] = 1
|
||||
vim.g['bracey_server_path'] = 'http://localhost'
|
||||
-- vim.g['bracey_auto_start_browser'] = 0
|
@ -1,41 +0,0 @@
|
||||
local autocmd = require 'utils.autocmd'
|
||||
|
||||
vim.g.dashboard_default_executive = 'telescope'
|
||||
|
||||
-- local function split(text)
|
||||
-- local parts = {}
|
||||
-- for part in text:gmatch("[^\n]+") do
|
||||
-- table.insert(parts, part)
|
||||
-- end
|
||||
-- return parts
|
||||
-- end
|
||||
-- vim.g.dashboard_custom_header = split(vim.fn.system("figlet -m 2 -f slant Neovim"))
|
||||
|
||||
-- vim.g.dashboard_custom_header = {
|
||||
-- ' ███╗ ██╗ ███████╗ ██████╗ ██╗ ██╗ ██╗ ███╗ ███╗',
|
||||
-- ' ████╗ ██║ ██╔════╝██╔═══██╗ ██║ ██║ ██║ ████╗ ████║',
|
||||
-- ' ██╔██╗ ██║ █████╗ ██║ ██║ ██║ ██║ ██║ ██╔████╔██║',
|
||||
-- ' ██║╚██╗██║ ██╔══╝ ██║ ██║ ╚██╗ ██╔╝ ██║ ██║╚██╔╝██║',
|
||||
-- ' ██║ ╚████║ ███████╗╚██████╔╝ ╚████╔╝ ██║ ██║ ╚═╝ ██║',
|
||||
-- ' ╚═╝ ╚═══╝ ╚══════╝ ╚═════╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝',
|
||||
-- }
|
||||
|
||||
vim.g.dashboard_custom_header = {
|
||||
[[ _ __ _ ]],
|
||||
[[ / | / /___ ____ _ __ (_)____ ___ ]],
|
||||
[[ / |/ // _ \ / __ \ | / // // __ `__ \]],
|
||||
[[ / /| // __// /_/ / |/ // // / / / / /]],
|
||||
[[/_/ |_/ \___/ \____/|___//_//_/ /_/ /_/ ]],
|
||||
}
|
||||
|
||||
autocmd('dashboard-commands', {
|
||||
[[FileType dashboard nmap <buffer> <leader>ss :<C-u>SessionSave<cr>]],
|
||||
[[FileType dashboard nmap <buffer> <leader>sl :<C-u>SessionLoad<CR>]],
|
||||
[[FileType dashboard nnoremap <buffer> <silent> <leader>fh :DashboardFindHistory<cr>]],
|
||||
[[FileType dashboard nnoremap <buffer> <silent> <leader>ff :DashboardFindFile<cr>]],
|
||||
[[FileType dashboard nnoremap <buffer> <silent> <leader>tc :DashboardChangeColorscheme<cr>]],
|
||||
[[FileType dashboard nnoremap <buffer> <silent> <leader>fa :DashboardFindWord<cr>]],
|
||||
[[FileType dashboard nnoremap <buffer> <silent> <leader>fb :DashboardJumpMark<cr>]],
|
||||
[[FileType dashboard nnoremap <buffer> <silent> <leader>cn :DashboardNewFile<cr>]],
|
||||
}, true)
|
||||
|
@ -1,8 +0,0 @@
|
||||
local map = require 'utils.map'
|
||||
local M = {}
|
||||
|
||||
vim.g['fern#hide_cursor'] = true
|
||||
|
||||
map('n', '<leader>e', ':Fern . -drawer -reveal=% -toggle<cr>', {silent = true})
|
||||
|
||||
return M
|
@ -1,25 +0,0 @@
|
||||
-- suggested config for selecting text
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
textobjects = {
|
||||
select = {
|
||||
enable = true,
|
||||
-- Automatically jump forward to textobj, similar to targets.vim
|
||||
lookahead = true,
|
||||
keymaps = {
|
||||
-- You can use the capture groups defined in textobjects.scm
|
||||
["af"] = "@function.outer",
|
||||
["if"] = "@function.inner",
|
||||
["ac"] = "@class.outer",
|
||||
["ic"] = "@class.inner",
|
||||
-- Or you can define your own textobjects like this
|
||||
-- ["iF"] = {
|
||||
-- python = "(function_definition) @function",
|
||||
-- cpp = "(function_definition) @function",
|
||||
-- c = "(function_definition) @function",
|
||||
-- java = "(method_declaration) @function",
|
||||
-- },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -1,8 +0,0 @@
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
textsubjects = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
[';'] = 'textsubjects-smart'
|
||||
}
|
||||
},
|
||||
}
|
@ -22,22 +22,7 @@ local function usePlugins(use, use_rocks)
|
||||
}
|
||||
|
||||
-- Text object target
|
||||
-- use 'wellle/targets.vim'
|
||||
-- TODO: setup targets.vim
|
||||
|
||||
-- Live html, css, javascript reloading
|
||||
-- TODO: Do auto setup of plugin.
|
||||
-- Because you have to manually install the server at least once
|
||||
-- in the location where packer installs this.
|
||||
-- For me:
|
||||
-- > cd ~/.local/share/nvim/site/pack/packer/opt/bracey.vim
|
||||
-- > npm install --prefix server
|
||||
-- use {
|
||||
-- 'turbio/bracey.vim',
|
||||
-- cmd = { 'Bracey', 'BraceyStop', 'BraceyReload', 'BraceyEval' },
|
||||
-- run = 'npm install --prefix server',
|
||||
-- config = [[require 'config.bracey']]
|
||||
-- }
|
||||
use 'wellle/targets.vim'
|
||||
|
||||
-- Align characters vertically
|
||||
use 'godlygeek/tabular'
|
||||
@ -62,6 +47,9 @@ local function usePlugins(use, use_rocks)
|
||||
-- Allow repeating
|
||||
use 'tpope/vim-repeat'
|
||||
|
||||
-- GLSL language support
|
||||
use 'tikhomirov/vim-glsl'
|
||||
|
||||
-- Treesitter
|
||||
use {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
@ -74,16 +62,6 @@ local function usePlugins(use, use_rocks)
|
||||
requires = 'nvim-treesitter/nvim-treesitter',
|
||||
cmd = "TSPlaygroundToggle"
|
||||
}
|
||||
-- use {
|
||||
-- 'RRethy/nvim-treesitter-textsubjects',
|
||||
-- requires = 'nvim-treesitter/nvim-treesitter',
|
||||
-- config = [[require 'config.treesitter-textsubjects']],
|
||||
-- }
|
||||
-- use {
|
||||
-- 'nvim-treesitter/nvim-treesitter-textobjects',
|
||||
-- requires = 'nvim-treesitter/nvim-treesitter',
|
||||
-- config = [[require 'config.treesitter-textobjects']],
|
||||
-- }
|
||||
|
||||
-- Dev icons
|
||||
use {'kyazdani42/nvim-web-devicons', config = [[require('nvim-web-devicons').setup()]]}
|
||||
@ -101,7 +79,7 @@ local function usePlugins(use, use_rocks)
|
||||
}
|
||||
|
||||
-- Smooth smooth scrolling
|
||||
use 'psliwka/vim-smoothie'
|
||||
use { 'karb94/neoscroll.nvim', config = [[require('neoscroll').setup()]] }
|
||||
|
||||
-- Commenting
|
||||
use {
|
||||
@ -197,7 +175,7 @@ local function usePlugins(use, use_rocks)
|
||||
|
||||
-- Color themes
|
||||
use 'srcery-colors/srcery-vim'
|
||||
use 'morhetz/gruvbox'
|
||||
-- use 'morhetz/gruvbox'
|
||||
-- use 'tomasr/molokai'
|
||||
-- use 'Mangeshrex/uwu.vim'
|
||||
-- use 'ayu-theme/ayu-vim'
|
||||
@ -208,7 +186,6 @@ local function usePlugins(use, use_rocks)
|
||||
-- use 'fnune/base16-vim'
|
||||
|
||||
-- Git integration
|
||||
use 'antonk52/gitignore-grabber.nvim'
|
||||
use { 'tpope/vim-fugitive', config = [[require 'config.fugitive']] }
|
||||
use {
|
||||
'lewis6991/gitsigns.nvim',
|
||||
@ -231,9 +208,6 @@ local function usePlugins(use, use_rocks)
|
||||
-- Analyze startup time
|
||||
use 'tweekmonster/startuptime.vim'
|
||||
|
||||
-- Start screen
|
||||
-- use { 'glepnir/dashboard-nvim', config = [[require 'config.dashboard']] }
|
||||
|
||||
-- Status line and tab line
|
||||
use { 'itchyny/lightline.vim', config = [[require 'config.lightline']]}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user