diff --git a/home/neovim/default.nix b/home/neovim/default.nix index 6418e45..f836f08 100644 --- a/home/neovim/default.nix +++ b/home/neovim/default.nix @@ -34,13 +34,13 @@ ]; extraPython3Packages = pyPkgs: with pyPkgs; [ pylint ]; # plugins = [ pkgs.vimPlugins.lazy-nvim ]; - extraLuaConfig = builtins.readFile ./init.lua; - }; - home.file.lua = { - recursive = true; - source = ./lua; - target = "/.config/nvim/lua"; + # extraLuaConfig = builtins.readFile ./init.lua; }; + # home.file.lua = { + # recursive = true; + # source = ./lua; + # target = "/.config/nvim/lua"; + # }; home.packages = [ pkgs.neovide ]; diff --git a/home/neovim/init.lua b/home/neovim/init.lua deleted file mode 100644 index e27f6bf..0000000 --- a/home/neovim/init.lua +++ /dev/null @@ -1,98 +0,0 @@ --- luacheck: globals vim - -local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" -if not vim.loop.fs_stat(lazypath) then - vim.fn.system({ - "git", - "clone", - "--filter=blob:none", - "https://github.com/folke/lazy.nvim.git", - "--branch=stable", -- latest stable release - lazypath, - }) -end -vim.opt.rtp:prepend(lazypath) - -vim.g.mapleader = "," -vim.g.maplocaleader = "\\" - -require("lazy").setup('plugins') - -vim.opt.wrap = false -vim.opt.number = true -vim.opt.compatible = false -vim.opt.mouse = "a" -- mouse support -vim.opt.showcmd = true -- show incomplete cmds down the bottom -vim.opt.showmode = true -- show current mode -vim.opt.showmatch = true -- set show matching parenthesis -vim.opt.visualbell = true -- no sounds -vim.opt.autoread = true -- reload files changed outside of vim -vim.opt.backspace = [[indent,eol,start]] -- allow backspacing over everything in insert mode -vim.opt.ignorecase = true -- ignore case when searching -vim.opt.shiftround = true -- use multiple of shiftwidth when indenting with '<' and '>' -vim.opt.smartcase = true -- ignore case if searching pattern is all lowecase, case-sensitive otherwise -vim.opt.smarttab = true -- insert tabs on the start of a line according to shiftwidth, not tabstop -vim.opt.hlsearch = true -- highlight search terms -vim.opt.incsearch = true -- show search matches as you type -vim.opt.hidden = true -vim.opt.ruler = true -vim.opt.clipboard = "unnamed" -- system clipboard -vim.opt.colorcolumn = "80" - --- vim.cmd("syntax on") -vim.cmd("filetype plugin on") - -if vim.fn.has("multi_byte") == 1 and vim.o.encoding == "utf-8" then - vim.opt.listchars = [[tab:▸ ,extends:❯,precedes:❮,nbsp:±,trail:…]] -else - vim.opt.listchars = [[tab:> ,extends:>,precedes:<,nbsp:.,trail:_]] -end - -vim.opt.splitbelow = true -vim.opt.splitright = true -vim.api.nvim_set_keymap('n', "", "r", {}) - -vim.api.nvim_set_keymap('n', "", "1gt", {}) -vim.api.nvim_set_keymap('n', "", "2gt", {}) -vim.api.nvim_set_keymap('n', "", "3gt", {}) -vim.api.nvim_set_keymap('n', "", "4gt", {}) -vim.api.nvim_set_keymap('n', "", "5gt", {}) -vim.api.nvim_set_keymap('n', "", "6gt", {}) -vim.api.nvim_set_keymap('n', "", "7gt", {}) -vim.api.nvim_set_keymap('n', "", "8gt", {}) -vim.api.nvim_set_keymap('n', "", ":tablast", {}) - -vim.api.nvim_set_keymap('n', "", ":nohl", { noremap = true }) - --- todo: try to do it with `vim.api.nvim_set_hl` -vim.cmd("hi CursorLine cterm=NONE,underline ctermbg=NONE") -- highlight line when in insert mode - -vim.opt.timeoutlen = 1000 -vim.opt.ttimeoutlen = 0 - -vim.cmd("autocmd InsertEnter * :set cursorline") -vim.cmd("autocmd InsertLeave * :set nocursorline") - --- indentation -vim.cmd("filetype indent on") -vim.opt.softtabstop = 4 -vim.opt.expandtab = true -vim.opt.shiftwidth = 4 -vim.opt.tabstop = 4 -vim.opt.autoindent = true -vim.opt.copyindent = true - --- folds -vim.opt.foldmethod = "indent" -vim.opt.foldnestmax = 3 -vim.opt.foldenable = false - -vim.opt.termguicolors = true - --- vim.g.markdown_syntax_conceal = 0 - -vim.opt.updatetime = 100 -- to make gigutter more responsive - -if vim.g.neovide then - vim.o.guifont = "Hack Nerd Font:h10" -end diff --git a/home/neovim/lua/plugins/alpha.lua b/home/neovim/lua/plugins/alpha.lua deleted file mode 100644 index abb0430..0000000 --- a/home/neovim/lua/plugins/alpha.lua +++ /dev/null @@ -1,28 +0,0 @@ -return { - 'goolord/alpha-nvim', - event = "VimEnter", - dependencies = { 'nvim-tree/nvim-web-devicons' }, - config = function() - local alpha = require('alpha') - local dashboard = require('alpha.themes.dashboard') - dashboard.section.header.val = { - [[┌┐┌┌─┐┌─┐┬ ┬┬┌┬┐]], - [[│││├┤ │ │└┐┌┘││││]], - [[┘└┘└─┘└─┘ └┘ ┴┴ ┴]], - } - dashboard.section.buttons.val = { - dashboard.button("e", " New file", ":ene"), - dashboard.button(",ff", "󰈞 Find file", "Telescope find_files"), - dashboard.button(",fg", "󰈬 Find word", "Telescope live_grep"), - dashboard.button(",zn", "󱞁 Write note", "Telekasten new_note"), - dashboard.button(",zf", "󱙓 Find note", "Telekasten find_notes"), - dashboard.button("q", "󰅚 Quit", ":qa"), - } - alpha.setup(dashboard.config) - end -} - --- 󰊄 Recently opened files SPC f h ---  Frecency/MRU SPC f r ---  Jump to bookmarks SPC f m ---  Open last session SPC s l diff --git a/home/neovim/lua/plugins/autopairs.lua b/home/neovim/lua/plugins/autopairs.lua deleted file mode 100644 index 2c166be..0000000 --- a/home/neovim/lua/plugins/autopairs.lua +++ /dev/null @@ -1,5 +0,0 @@ -return { - 'windwp/nvim-autopairs', - event = 'InsertEnter', - config = {}, -} diff --git a/home/neovim/lua/plugins/bufferline.lua b/home/neovim/lua/plugins/bufferline.lua deleted file mode 100644 index 2e6d6af..0000000 --- a/home/neovim/lua/plugins/bufferline.lua +++ /dev/null @@ -1,8 +0,0 @@ -return { - "akinsho/bufferline.nvim", - dependencies = { "nvim-tree/nvim-web-devicons" }, - config = function() - vim.opt.termguicolors = true - require("bufferline").setup {} - end -} diff --git a/home/neovim/lua/plugins/cmp.lua b/home/neovim/lua/plugins/cmp.lua deleted file mode 100644 index a0e9675..0000000 --- a/home/neovim/lua/plugins/cmp.lua +++ /dev/null @@ -1,53 +0,0 @@ -return { - "hrsh7th/nvim-cmp", -- Autocompletion plugin - dependencies = { - "hrsh7th/cmp-nvim-lsp", -- LSP source for nvim-cmp - "hrsh7th/cmp-buffer", - "hrsh7th/cmp-path", - "saadparwaiz1/cmp_luasnip", -- Snippets source for nvim-cmp - "L3MON4D3/LuaSnip", -- Snippets plugin - }, - config = function() - require('cmp').setup { - snippet = { - expand = function(args) - require('luasnip').lsp_expand(args.body) - end, - }, - mapping = require('cmp').mapping.preset.insert({ - [''] = require('cmp').mapping.scroll_docs(-4), -- Up - [''] = require('cmp').mapping.scroll_docs(4), -- Down - -- C-b (back) C-f (forward) for snippet placeholder navigation. - [''] = require('cmp').mapping.complete(), - [''] = require('cmp').mapping.confirm { - behavior = require('cmp').ConfirmBehavior.Replace, - select = true, - }, - [''] = require('cmp').mapping(function(fallback) - if require('cmp').visible() then - require('cmp').select_next_item() - elseif require('luasnip').expand_or_jumpable() then - require('luasnip').expand_or_jump() - else - fallback() - end - end, { 'i', 's' }), - [''] = require('cmp').mapping(function(fallback) - if require('cmp').visible() then - require('cmp').select_prev_item() - elseif require('luasnip').jumpable(-1) then - require('luasnip').jump(-1) - else - fallback() - end - end, { 'i', 's' }), - }), - sources = { - { name = 'nvim_lsp' }, - { name = 'luasnip' }, - { name = 'buffer' }, - { name = 'path' }, - }, - } - end, -} diff --git a/home/neovim/lua/plugins/comment.lua b/home/neovim/lua/plugins/comment.lua deleted file mode 100644 index 80aa12d..0000000 --- a/home/neovim/lua/plugins/comment.lua +++ /dev/null @@ -1,22 +0,0 @@ -return { - "numToStr/Comment.nvim", - config = { - toggler = { - line = 'c', - block = 'b' - }, - opleader = { - line = 'c', - block = 'b', - }, - extra = { - above = 'cO', - below = 'co', - eol = 'cA', - }, - mappings = { - basic = true, - extra = false, - }, - }, -} diff --git a/home/neovim/lua/plugins/git.lua b/home/neovim/lua/plugins/git.lua deleted file mode 100644 index a5dcc85..0000000 --- a/home/neovim/lua/plugins/git.lua +++ /dev/null @@ -1,31 +0,0 @@ -return { - 'dinhhuy258/git.nvim', - config = { - default_mappings = true, -- NOTE: `quit_blame` and `blame_commit` are still merged to the keymaps even if `default_mappings = false` - - keymaps = { - -- Open blame window - blame = "gb", - -- Close blame window - quit_blame = "q", - -- Open blame commit - blame_commit = "", - -- Open file/folder in git repository - browse = "go", - -- Open pull request of the current branch - open_pull_request = "gp", - -- Create a pull request with the target branch is set in the `target_branch` option - create_pull_request = "gn", - -- Opens a new diff that compares against the current index - diff = "gd", - -- Close git diff - diff_close = "gD", - -- Revert to the specific commit - revert = "gr", - -- Revert the current file to the specific commit - revert_file = "gR", - }, - -- Default target branch when create a pull request - target_branch = "main", - } -} diff --git a/home/neovim/lua/plugins/gruvbox.lua b/home/neovim/lua/plugins/gruvbox.lua deleted file mode 100644 index 762c6f9..0000000 --- a/home/neovim/lua/plugins/gruvbox.lua +++ /dev/null @@ -1,9 +0,0 @@ -return { - "ellisonleao/gruvbox.nvim", - lazy = false, - priority = 1000, - config = function() - vim.o.background = "dark" - vim.cmd([[colorscheme gruvbox]]) - end -} diff --git a/home/neovim/lua/plugins/indent-blankline.lua b/home/neovim/lua/plugins/indent-blankline.lua deleted file mode 100644 index f78a1fb..0000000 --- a/home/neovim/lua/plugins/indent-blankline.lua +++ /dev/null @@ -1,10 +0,0 @@ -return { - "lukas-reineke/indent-blankline.nvim", - dependencies = { 'nvim-treesitter/nvim-treesitter' }, - config = { - -- show_current_context = true, - -- show_current_context_start = true, - show_current_context = false, - show_current_context_start = false, - }, -} diff --git a/home/neovim/lua/plugins/init.lua b/home/neovim/lua/plugins/init.lua deleted file mode 100644 index 299d2d7..0000000 --- a/home/neovim/lua/plugins/init.lua +++ /dev/null @@ -1,7 +0,0 @@ -return { - "psliwka/vim-smoothie", - "tpope/vim-unimpaired", - "tpope/vim-surround", - "tpope/vim-fugitive", - "mzlogin/vim-markdown-toc", -} diff --git a/home/neovim/lua/plugins/lspconfig.lua b/home/neovim/lua/plugins/lspconfig.lua deleted file mode 100644 index c7c1d40..0000000 --- a/home/neovim/lua/plugins/lspconfig.lua +++ /dev/null @@ -1,110 +0,0 @@ -return { - "neovim/nvim-lspconfig", - lazy = false, - dependencies = { - "hrsh7th/cmp-nvim-lsp", - }, - config = function() - local capabilities = require("cmp_nvim_lsp").default_capabilities() - local lspconfig = require("lspconfig") - - lspconfig.pyright.setup { capabilities = capabilities } - lspconfig.ruff_lsp.setup { capabilities = capabilities } - - lspconfig.nixd.setup { capabilities = capabilities } - lspconfig.jsonls.setup { capabilities = capabilities } - lspconfig.beancount.setup { capabilities = capabilities } - lspconfig.ltex.setup { capabilities = capabilities } - - lspconfig.terraformls.setup { capabilities = capabilities } - lspconfig.tflint.setup { capabilities = capabilities } - - lspconfig.docker_compose_language_service.setup { - root_dir = lspconfig.util.root_pattern("docker-compose.yaml", "docker-compose.yml"), - filetypes = { "yaml", "yaml.docker-compose" }, - capabilities = capabilities, - } - lspconfig.dockerls.setup { capabilities = capabilities } - - -- lspconfig.sqlls.setup {capabilities = capabilities} - - lspconfig.lua_ls.setup { - settings = { - Lua = { - runtime = { - -- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim) - version = "LuaJIT", - }, - diagnostics = { - -- Get the language server to recognize the `vim` global - globals = { "vim" }, - }, - workspace = { - -- Make the server aware of Neovim runtime files - library = vim.api.nvim_get_runtime_file("", true), - }, - -- Do not send telemetry data containing a randomized but unique identifier - telemetry = { - enable = false, - }, - }, - }, - capabilities = capabilities - } - - lspconfig.efm.setup { - init_options = { documentFormatting = true }, - filetypes = { "python", "sh" }, - settings = { - rootMarkers = { ".git/", "pyproject.toml" }, - languages = { - python = { { formatCommand = "black -", formatStdin = true } }, - sql = { { - formatCommand = "sqlfluff fix --dialect bigquery -", - formatStdin = true - } }, - sh = { { - formatCommand = "shfmt -i 4 -bn -sr -p -ci", - formatStdin = true, - lintCommand = "shellcheck -f gcc -x", - lintSource = "shellcheck", - lintFormats = { - "%f:%l:%c: %trror: %m", - "%f:%l:%c: %tarning: %m", - "%f:%l:%c: %tote: %m", - } - } }, - }, - }, - capabilities = capabilities - } - - vim.api.nvim_create_autocmd("LspAttach", { - group = vim.api.nvim_create_augroup("UserLspConfig", {}), - callback = function(ev) - -- Enable completion triggered by - vim.bo[ev.buf].omnifunc = "v:lua.vim.lsp.omnifunc" - end - }) - end, - - keys = { - { 'gD', vim.lsp.buf.declaration }, - { 'gd', vim.lsp.buf.definition }, - { 'K', vim.lsp.buf.hover }, - { 'gi', vim.lsp.buf.implementation }, - { '', vim.lsp.buf.signature_help }, - { 'wa', vim.lsp.buf.add_workspace_folder }, - { 'wr', vim.lsp.buf.remove_workspace_folder }, - { 'D', vim.lsp.buf.type_definition }, - { 'rn', vim.lsp.buf.rename }, - { 'gr', vim.lsp.buf.references }, - { 'ca', vim.lsp.buf.code_action, { 'n', 'v' } }, - { 'wl', function() - print(vim.inspect(vim.lsp.buf.list_workspace_folders())) - end }, - { 'f', function() - vim.lsp.buf.format { async = true } - end }, - }, -} diff --git a/home/neovim/lua/plugins/lualine.lua b/home/neovim/lua/plugins/lualine.lua deleted file mode 100644 index 848b1aa..0000000 --- a/home/neovim/lua/plugins/lualine.lua +++ /dev/null @@ -1,10 +0,0 @@ -return { - 'nvim-lualine/lualine.nvim', - dependenceies = { 'nvim-tree/nvim-web-devicons' }, - config = { - icons_enabled = true, - theme = 'gruvbox_dark', - component_separators = '|', - section_separators = '', - } -} diff --git a/home/neovim/lua/plugins/neo-tree.lua b/home/neovim/lua/plugins/neo-tree.lua deleted file mode 100644 index 61d5e64..0000000 --- a/home/neovim/lua/plugins/neo-tree.lua +++ /dev/null @@ -1,12 +0,0 @@ -return { - "nvim-neo-tree/neo-tree.nvim", - branch = "v3.x", - cmd = "Neotree", - keys = { { "t", "Neotree toggle" } }, - dependencies = { - "nvim-lua/plenary.nvim", - "nvim-tree/nvim-web-devicons", - "MunifTanjim/nui.nvim", - "s1n7ax/nvim-window-picker", - } -} diff --git a/home/neovim/lua/plugins/slime.lua b/home/neovim/lua/plugins/slime.lua deleted file mode 100644 index 1b5d8c9..0000000 --- a/home/neovim/lua/plugins/slime.lua +++ /dev/null @@ -1,7 +0,0 @@ -return { - "jpalardy/vim-slime", - config = function() - vim.g["slime_target"] = "tmux" - vim.g["slime_python_ipython"] = 1 - end -} diff --git a/home/neovim/lua/plugins/telekasten.lua b/home/neovim/lua/plugins/telekasten.lua deleted file mode 100644 index 67e7c53..0000000 --- a/home/neovim/lua/plugins/telekasten.lua +++ /dev/null @@ -1,58 +0,0 @@ -return { - 'renerocksai/telekasten.nvim', - cmd = "Telekasten", - dependencies = { - 'nvim-telescope/telescope.nvim', - 'renerocksai/calendar-vim', - { - 'nvim-telescope/telescope-media-files.nvim', - dependencies = { - 'nvim-lua/popup.nvim', - 'nvim-lua/plenary.nvim', - 'nvim-telescope/telescope.nvim', - 'nvim-telescope/telescope-media-files.nvim', - }, - }, - }, - config = function() - require('telekasten').setup { - home = vim.fn.expand("~/notes"), - daily = vim.fn.expand("~/notes/daily"), - weeklies = vim.fn.expand("~/notes/weeklies"), - templates = vim.fn.expand("~/notes/templates"), - auto_set_filetype = false, - install_syntax = true, - media_previewer = "telescope-media-files", - } - vim.cmd("hi tklink ctermfg=72 guifg=#689d6a cterm=bold,underline gui=bold,underline") - vim.cmd("hi tkBrackets ctermfg=gray guifg=gray") - end, - - keys = { - { "z", 'Telekasten panel' }, - { "zf", 'Telekasten find_notes' }, - { "zd", 'Telekasten find_daily_notes' }, - { "zg", 'Telekasten search_notes' }, - { "zz", 'Telekasten follow_link' }, - { "zT", 'Telekasten goto_today' }, - { "zW", 'Telekasten goto_thisweek' }, - { "zw", 'Telekasten find_weekly_notes' }, - { "zn", 'Telekasten new_note' }, - { "zN", 'Telekasten new_templated_note' }, - { "zy", 'Telekasten yank_notelink' }, - { "zc", 'Telekasten show_calendar' }, - { "zi", 'Telekasten paste_img_and_link' }, - { "zt", 'Telekasten toggle_todo' }, - { "zb", 'Telekasten show_backlinks' }, - { "zF", 'Telekasten find_friends' }, - { "zp", 'Telekasten preview_img' }, - { "zm", 'Telekasten browse_media' }, - { "#", 'Telekasten show_tags' }, - { "zI", function() require('telekasten').insert_img_link({ i = true }) end }, - { "zt", function() require('telekasten').toggle_todo({ v = true }) end, "v" }, - { "zt", function() require('telekasten').toggle_todo({ i = true }) end, "i" }, - { "#", function() require('telekasten').show_tags({ i = true }) end, "i" }, - -- { "[[", function() require('telekasten').insert_link({ i = true }) end, "i" }, - { "zC", "CalendarT" }, - }, -} diff --git a/home/neovim/lua/plugins/telescope.lua b/home/neovim/lua/plugins/telescope.lua deleted file mode 100644 index f62dfdf..0000000 --- a/home/neovim/lua/plugins/telescope.lua +++ /dev/null @@ -1,59 +0,0 @@ -return { - 'nvim-telescope/telescope.nvim', - cmd = "Telescope", - dependencies = { - { - 'nvim-telescope/telescope-fzf-native.nvim', - build = 'make' - }, - 'nvim-lua/plenary.nvim', - 'nvim-telescope/telescope-symbols.nvim', - "nvim-telescope/telescope-bibtex.nvim", - { - 'nvim-telescope/telescope-media-files.nvim', - dependencies = { - 'nvim-lua/popup.nvim', - 'nvim-lua/plenary.nvim', - 'nvim-telescope/telescope.nvim', - 'nvim-telescope/telescope-media-files.nvim', - }, - }, - }, - config = function() - local telescope = require("telescope") - telescope.setup { - extensions = { - fzf = { - fuzzy = true, -- false will only do exact matching - override_generic_sorter = true, -- override the generic sorter - override_file_sorter = true, -- override the file sorter - case_mode = "smart_case", -- or "ignore_case" or "respect_case" - -- the default case_mode is "smart_case" - }, - -- media_files = { - -- -- filetypes whitelist - -- -- defaults to {"png", "jpg", "mp4", "webm", "pdf"} - -- filetypes = { "png", "webp", "jpg", "jpeg" }, - -- -- find command (defaults to `fd`) - -- find_cmd = "rg" - -- }, - bibtex = { - global_files = { vim.fn.expand("~/notes/refs") }, - } - } - } - telescope.load_extension("fzf") - telescope.load_extension("media_files") - telescope.load_extension("bibtex") - end, - keys = { - { 'ff', 'Telescope find_files' }, - { 'fg', 'Telescope live_grep' }, - { 'fb', 'Telescope buffers' }, - { 'fh', 'Telescope help_tags' }, - { 'fs', function() - require('telescope_builtin').symbols({ sources = 'emoji', 'gitmoji', 'nerd' }) - end }, - -- { 'fb', "Telescope bibtex"} - } -} diff --git a/home/neovim/lua/plugins/tmux-navigator.lua b/home/neovim/lua/plugins/tmux-navigator.lua deleted file mode 100644 index 698ed94..0000000 --- a/home/neovim/lua/plugins/tmux-navigator.lua +++ /dev/null @@ -1,12 +0,0 @@ -return { - "christoomey/vim-tmux-navigator", - config = function() - vim.g["tmux_navigator_no_mappings"] = 1 - end, - keys = { - { "", "TmuxNavigateLeft" }, - { "", "TmuxNavigateDown" }, - { "", "TmuxNavigateUp" }, - { "", "TmuxNavigateRight" }, - } -} diff --git a/home/neovim/lua/plugins/treesitter-context.lua b/home/neovim/lua/plugins/treesitter-context.lua deleted file mode 100644 index 709a921..0000000 --- a/home/neovim/lua/plugins/treesitter-context.lua +++ /dev/null @@ -1,7 +0,0 @@ -return { - "nvim-treesitter/nvim-treesitter-context", - dependencies = { 'nvim-treesitter/nvim-treesitter' }, - config = { - enable = true, - }, -} diff --git a/home/neovim/lua/plugins/treesitter.lua b/home/neovim/lua/plugins/treesitter.lua deleted file mode 100644 index cd96c72..0000000 --- a/home/neovim/lua/plugins/treesitter.lua +++ /dev/null @@ -1,17 +0,0 @@ -return { - "nvim-treesitter/nvim-treesitter", - dependencies = { "nvim-treesitter/nvim-treesitter-textobjects" }, - build = ":TSUpdate", - config = function() - require('nvim-treesitter.configs').setup { - ensure_installed = "all", - sync_install = true, - ignore_install = {}, - auto_install = true, - highlight = { - enable = true, - additional_vim_regex_highlighting = false, - }, - } - end -} diff --git a/home/neovim/lua/plugins/trouble.lua b/home/neovim/lua/plugins/trouble.lua deleted file mode 100644 index b101472..0000000 --- a/home/neovim/lua/plugins/trouble.lua +++ /dev/null @@ -1,13 +0,0 @@ -return { - "folke/trouble.nvim", - dependencies = { "nvim-tree/nvim-web-devicons" }, - cmd = { "TroubleToggle", "Trouble" }, - keys = { - { 'xx', 'TroubleToggle' }, - { 'xw', 'TroubleToggle workspace_diagnostics' }, - { 'xd', 'TroubleToggle document_diagnostics' }, - { 'xq', 'TroubleToggle quickfix' }, - { 'xl', 'TroubleToggle loclist' }, - { 'gR', 'TroubleToggle lsp_references' }, - } -} diff --git a/home/neovim/lua/plugins/which-key.lua b/home/neovim/lua/plugins/which-key.lua deleted file mode 100644 index 0e77cd3..0000000 --- a/home/neovim/lua/plugins/which-key.lua +++ /dev/null @@ -1,11 +0,0 @@ -return { - "folke/which-key.nvim", - event = "VeryLazy", - init = function() - vim.o.timeout = true - vim.o.timeoutlen = 500 - end, - config = function() - require("which-key").setup() - end -}