From 27738885a70e6660995817f26026c07002a24393 Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Fri, 11 Feb 2022 10:14:42 -0800 Subject: [PATCH] updates --- nvim/init.vim | 3 ++ nvim/plugin-confs/catppuccin.lua | 61 -------------------------------- nvim/plugin-confs/marks.lua | 31 ---------------- nvim/plugin-confs/tokyodark.lua | 5 --- 4 files changed, 3 insertions(+), 97 deletions(-) delete mode 100644 nvim/plugin-confs/catppuccin.lua delete mode 100644 nvim/plugin-confs/marks.lua delete mode 100644 nvim/plugin-confs/tokyodark.lua diff --git a/nvim/init.vim b/nvim/init.vim index 5afad48..98bb7ed 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -77,6 +77,8 @@ let g:maplocalleader = ',' if has('nvim') Plug 'nvim-lua/plenary.nvim' + Plug 'nvim-lua/popup.nvim' + " Plug 'nvim-telescope/telescope.nvim' " Plug 'TimUntersberger/neogit' Plug 'akinsho/bufferline.nvim' @@ -131,6 +133,7 @@ call plug#end() if has('nvim') set completeopt=menu,menuone,noselect + let g:fzf_command = 'fzf --height 90% --width=85% --layout=reverse --preview "bat --color=always {}"' source ~/.config/nvim/keybindings.vim source ~/.config/nvim/plugin-confs/bufferline.lua diff --git a/nvim/plugin-confs/catppuccin.lua b/nvim/plugin-confs/catppuccin.lua deleted file mode 100644 index 93e32ca..0000000 --- a/nvim/plugin-confs/catppuccin.lua +++ /dev/null @@ -1,61 +0,0 @@ -local catppuccin = require("catppuccin") - -local settings = { - transparent_background = false, - term_colors = false, - styles = { - comments = "italic", - functions = "italic", - keywords = "italic", - strings = "NONE", - variables = "italic", - }, - integrations = { - treesitter = true, - native_lsp = { - enabled = true, - virtual_text = { - errors = "italic", - hints = "italic", - warnings = "italic", - information = "italic", - }, - underlines = { - errors = "underline", - hints = "underline", - warnings = "underline", - information = "underline", - }, - }, - lsp_trouble = false, - cmp = true, - lsp_saga = false, - gitgutter = false, - gitsigns = true, - telescope = true, - nvimtree = { - enabled = true, - show_root = false, - transparent_panel = false, - }, - which_key = false, - indent_blankline = { - enabled = true, - colored_indent_levels = false, - }, - dashboard = true, - neogit = false, - vim_sneak = false, - fern = false, - barbar = false, - bufferline = true, - markdown = true, - lightspeed = false, - ts_rainbow = false, - hop = false, - notify = true, - telekasten = true, - } -} - -catppuccin.setup(settings) diff --git a/nvim/plugin-confs/marks.lua b/nvim/plugin-confs/marks.lua deleted file mode 100644 index 5392e3d..0000000 --- a/nvim/plugin-confs/marks.lua +++ /dev/null @@ -1,31 +0,0 @@ -require'marks'.setup { - -- whether to map keybinds or not. default true - default_mappings = true, - -- which builtin marks to show. default {} - builtin_marks = { ".", "<", ">", "^" }, - -- whether movements cycle back to the beginning/end of buffer. default true - cyclic = true, - -- whether the shada file is updated after modifying uppercase marks. default false - force_write_shada = false, - -- how often (in ms) to redraw signs/recompute mark positions. - -- higher values will have better performance but may cause visual lag, - -- while lower values may cause performance penalties. default 150. - refresh_interval = 250, - -- sign priorities for each type of mark - builtin marks, uppercase marks, lowercase - -- marks, and bookmarks. - -- can be either a table with all/none of the keys, or a single number, in which case - -- the priority applies to all marks. - -- default 10. - sign_priority = { lower=10, upper=15, builtin=8, bookmark=20 }, - -- disables mark tracking for specific filetypes. default {} - excluded_filetypes = {}, - -- marks.nvim allows you to configure up to 10 bookmark groups, each with its own - -- sign/virttext. Bookmarks can be used to group together positions and quickly move - -- across multiple buffers. default sign is '!@#$%^&*()' (from 0 to 9), and - -- default virt_text is "". - bookmark_0 = { - sign = "⚑", - virt_text = "hello world" - }, - mappings = {} -} diff --git a/nvim/plugin-confs/tokyodark.lua b/nvim/plugin-confs/tokyodark.lua deleted file mode 100644 index a6c5cfd..0000000 --- a/nvim/plugin-confs/tokyodark.lua +++ /dev/null @@ -1,5 +0,0 @@ -vim.g.tokyodark_transparent_background = false -vim.g.tokyodark_enable_italic_comment = true -vim.g.tokyodark_enable_italic = true -vim.g.tokyodark_color_gamma = "1.0" -vim.cmd("colorscheme tokyodark")