소스 검색

remove extra config files

christianchiarulli 4 년 전
부모
커밋
00e0db32a0
10개의 변경된 파일0개의 추가작업 그리고 200개의 파일을 삭제
  1. 0 73
      lua/lv-bufferline/init.lua
  2. 0 30
      lua/lv-dial/init.lua
  3. 0 2
      lua/lv-gitblame/init.lua
  4. 0 9
      lua/lv-hop/init.lua
  5. 0 5
      lua/lv-lsp-rooter/init.lua
  6. 0 7
      lua/lv-matchup/init.lua
  7. 0 4
      lua/lv-quickscope/init.lua
  8. 0 6
      lua/lv-rnvimr/init.lua
  9. 0 14
      lua/lv-snap/init.lua
  10. 0 50
      lua/lv-spectre/init.lua

+ 0 - 73
lua/lv-bufferline/init.lua

@@ -1,73 +0,0 @@
-local M = {}
-
-M.config = function()
-  -- Buffer line setup
-  require("bufferline").setup {
-    options = {
-      indicator_icon = "▎",
-      buffer_close_icon = "",
-      modified_icon = "●",
-      close_icon = "",
-      close_command = "bdelete %d",
-      right_mouse_command = "bdelete! %d",
-      left_trunc_marker = "",
-      right_trunc_marker = "",
-      offsets = {
-        {
-          filetype = "NvimTree",
-          text = "",
-          text_align = "center",
-          padding = 1,
-        },
-      },
-      show_tab_indicators = true,
-      show_close_icon = false,
-    },
-    highlights = {
-      fill = {
-        guifg = { attribute = "fg", highlight = "Normal" },
-        guibg = { attribute = "bg", highlight = "StatusLineNC" },
-      },
-      -- background = {
-      --     guifg = {attribute = "fg", highlight = "Normal"},
-      --     guibg = {attribute = "bg", highlight = "StatusLine"}
-      -- },
-      -- buffer_visible = {
-      --     gui = "",
-      --     guifg = {attribute = "fg", highlight = "Normal"},
-      --     guibg = {attribute = "bg", highlight = "Normal"}
-      -- },
-      -- buffer_selected = {
-      --     gui = "",
-      --     guifg = {attribute = "fg", highlight = "Normal"},
-      --     guibg = {attribute = "bg", highlight = "Normal"}
-      -- },
-      -- separator = {
-      --     guifg = {attribute = "bg", highlight = "Normal"},
-      --     guibg = {attribute = "bg", highlight = "StatusLine"}
-      -- },
-      -- separator_selected = {
-      --     guifg = {attribute = "fg", highlight = "Special"},
-      --     guibg = {attribute = "bg", highlight = "Normal"}
-      -- },
-      -- separator_visible = {
-      --     guifg = {attribute = "fg", highlight = "Normal"},
-      --     guibg = {attribute = "bg", highlight = "StatusLineNC"}
-      -- },
-      -- close_button = {
-      --     guifg = {attribute = "fg", highlight = "Normal"},
-      --     guibg = {attribute = "bg", highlight = "StatusLine"}
-      -- },
-      -- close_button_selected = {
-      --     guifg = {attribute = "fg", highlight = "normal"},
-      --     guibg = {attribute = "bg", highlight = "normal"}
-      -- },
-      -- close_button_visible = {
-      --     guifg = {attribute = "fg", highlight = "normal"},
-      --     guibg = {attribute = "bg", highlight = "normal"}
-      -- }
-    },
-  }
-end
-
-return M

+ 0 - 30
lua/lv-dial/init.lua

@@ -1,30 +0,0 @@
-local M = {}
-
-M.config = function()
-  vim.cmd [[
-nmap <C-a> <Plug>(dial-increment)
-nmap <C-x> <Plug>(dial-decrement)
-vmap <C-a> <Plug>(dial-increment)
-vmap <C-x> <Plug>(dial-decrement)
-vmap g<C-a> <Plug>(dial-increment-additional)
-vmap g<C-x> <Plug>(dial-decrement-additional)
-]]
-
-  local dial = require "dial"
-
-  dial.augends["custom#boolean"] = dial.common.enum_cyclic {
-    name = "boolean",
-    strlist = { "true", "false" },
-  }
-  table.insert(dial.config.searchlist.normal, "custom#boolean")
-
-  -- For Languages which prefer True/False, e.g. python.
-  dial.augends["custom#Boolean"] = dial.common.enum_cyclic {
-    name = "Boolean",
-    strlist = { "True", "False" },
-  }
-  table.insert(dial.config.searchlist.normal, "custom#Boolean")
-
-end
-
-return M

+ 0 - 2
lua/lv-gitblame/init.lua

@@ -1,2 +0,0 @@
-vim.cmd "highlight default link gitblame SpecialComment"
-vim.g.gitblame_enabled = 0

+ 0 - 9
lua/lv-hop/init.lua

@@ -1,9 +0,0 @@
-local M = {}
-
-M.config = function()
-  require("hop").setup()
-  vim.api.nvim_set_keymap("n", "s", ":HopChar2<cr>", { silent = true })
-  vim.api.nvim_set_keymap("n", "S", ":HopWord<cr>", { silent = true })
-end
-
-return M

+ 0 - 5
lua/lv-lsp-rooter/init.lua

@@ -1,5 +0,0 @@
-require("lsp-rooter").setup {
-  -- your configuration comes here
-  -- or leave it empty to use the default settings
-  -- refer to the configuration section below
-}

+ 0 - 7
lua/lv-matchup/init.lua

@@ -1,7 +0,0 @@
-local M = {}
-
-M.config = function()
-  vim.g.matchup_matchparen_offscreen = { method = "popup" }
-end
-
-return M

+ 0 - 4
lua/lv-quickscope/init.lua

@@ -1,4 +0,0 @@
--- Trigger a highlight in the appropriate direction when pressing these keys:
--- vim.cmd('let g:qs_highlight_on_keys = [\'f\', \'F\', \'t\', \'T\']')
-vim.g.qs_highlight_on_keys = { "f", "F", "t", "T" }
-vim.g.qs_max_chars = 150

+ 0 - 6
lua/lv-rnvimr/init.lua

@@ -1,6 +0,0 @@
--- Make Ranger replace netrw and be the file explorer
--- vim.g.rnvimr_ex_enable = 1
-vim.g.rnvimr_draw_border = 1
-vim.g.rnvimr_pick_enable = 1
-vim.g.rnvimr_bw_enable = 1
-vim.api.nvim_set_keymap("n", "-", ":RnvimrToggle<CR>", { noremap = true, silent = true })

+ 0 - 14
lua/lv-snap/init.lua

@@ -1,14 +0,0 @@
-local M = {}
-
-M.config = function()
-  local snap = require "snap"
-  local layout = snap.get("layout").bottom
-  local file = snap.config.file:with { consumer = "fzy", layout = layout }
-  local vimgrep = snap.config.vimgrep:with { layout = layout }
-  snap.register.command("find_files", file { producer = "ripgrep.file" })
-  snap.register.command("buffers", file { producer = "vim.buffer" })
-  snap.register.command("oldfiles", file { producer = "vim.oldfile" })
-  snap.register.command("live_grep", vimgrep {})
-end
-
-return M

+ 0 - 50
lua/lv-spectre/init.lua

@@ -1,50 +0,0 @@
-require("spectre").setup {
-  mapping = {
-    ["toggle_line"] = {
-      map = "dd",
-      cmd = "<cmd>lua require('spectre').toggle_line()<CR>",
-      desc = "toggle current item",
-    },
-    ["enter_file"] = {
-      map = "<cr>",
-      cmd = "<cmd>lua require('spectre.actions').select_entry()<CR>",
-      desc = "goto current file",
-    },
-    ["send_to_qf"] = {
-      map = "<Blash>q",
-      cmd = "<cmd>lua require('spectre.actions').send_to_qf()<CR>",
-      desc = "send all item to quickfix",
-    },
-    ["replace_cmd"] = {
-      map = "<Bslash>c",
-      cmd = "<cmd>lua require('spectre.actions').replace_cmd()<CR>",
-      desc = "input replace vim command",
-    },
-    ["show_option_menu"] = {
-      map = "<Bslash>o",
-      cmd = "<cmd>lua require('spectre').show_options()<CR>",
-      desc = "show option",
-    },
-    ["run_replace"] = {
-      map = "<Bslash>R",
-      cmd = "<cmd>lua require('spectre.actions').run_replace()<CR>",
-      desc = "replace all",
-    },
-    ["change_view_mode"] = {
-      map = "<Bslash>v",
-      cmd = "<cmd>lua require('spectre').change_view()<CR>",
-      desc = "change result view mode",
-    },
-    ["toggle_ignore_case"] = {
-      map = "ti",
-      cmd = "<cmd>lua require('spectre').change_options('ignore-case')<CR>",
-      desc = "toggle ignore case",
-    },
-    ["toggle_ignore_hidden"] = {
-      map = "th",
-      cmd = "<cmd>lua require('spectre').change_options('hidden')<CR>",
-      desc = "toggle search hidden",
-    },
-    -- you can put your mapping here it only use normal mode
-  },
-}