new plugins

This commit is contained in:
Norm Rasmussen
2022-06-29 17:16:38 -04:00
parent b6475ed7f0
commit 75ffdb60ea
6 changed files with 92 additions and 25 deletions

31
lua/plugins/marks.lua Normal file
View File

@ -0,0 +1,31 @@
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 = {}
}

View File

@ -13,23 +13,6 @@
--- See: `help NvimTree`
local g = vim.g
g.nvim_tree_quit_on_open = 0
g.nvim_tree_indent_markers = 1
g.nvim_tree_git_hl = 1
g.nvim_tree_highlight_opened_files = 1
g.nvim_tree_disable_window_picker = 1
g.nvim_tree_respect_buf_cwd = 1
g.nvim_tree_width_allow_resize = 1
g.nvim_tree_show_icons = {
git = 1,
folders = 1,
files = 1
}
g.nvim_tree_icons = {
default = ""
}
require('nvim-tree').setup {
open_on_setup = true,
update_cwd = true,

View File

@ -64,7 +64,7 @@ return require'packer'.startup(function()
}
use {
'famiu/feline.nvim',
'feline-nvim/feline.nvim',
requires = { 'kyazdani42/nvim-web-devicons' },
}
@ -100,9 +100,21 @@ return require'packer'.startup(function()
requires = {
'L3MON4D3/LuaSnip',
'hrsh7th/cmp-nvim-lsp',
'quangnguyen30192/cmp-nvim-ultisnips',
'hrsh7th/cmp-calc',
'f3fora/cmp-spell',
'hrsh7th/cmp-emoji',
'hrsh7th/cmp-look',
'hrsh7th/cmp-path',
'hrsh7th/cmp-buffer',
'saadparwaiz1/cmp_luasnip',
},
}
}
use {
'tzachar/cmp-tabnine',
run = './install.sh',
requires = 'hrsh7th/nvim-cmp'
}
use 'chentoast/marks.nvim'
end)