update nvim configs/plugins

This commit is contained in:
Daylin Morgan 2022-01-24 00:03:48 -06:00
parent d5bfe7f152
commit 788e2938fd
2 changed files with 23 additions and 16 deletions

View file

@ -6,9 +6,6 @@ function map(mode, keys, action, options)
vim.api.nvim_set_keymap(mode,keys,action,options)
end
map('i','jk','<Esc>',{noremap=true})
map('v','jk','<Esc>',{noremap=true})

View file

@ -22,14 +22,6 @@ return require('packer').startup(function(use)
end
}
use {
'airblade/vim-gitgutter',
config = function()
local cmd = vim.cmd
cmd [[highlight! link SignColumn LineNr]]
end
}
use {
'norcalli/nvim-colorizer.lua',
conifg = function()
@ -37,6 +29,12 @@ return require('packer').startup(function(use)
end
}
use {
'numToStr/Comment.nvim',
config = function()
require('Comment').setup()
end }
use {
"folke/which-key.nvim",
config = function()
@ -44,7 +42,9 @@ return require('packer').startup(function(use)
end
}
use {
"ggandor/lightspeed.nvim"
}
use {
"ntpeters/vim-better-whitespace",
config = function()
@ -53,6 +53,15 @@ return require('packer').startup(function(use)
end
}
use {
'lewis6991/gitsigns.nvim',
requires = {
'nvim-lua/plenary.nvim'
},
config = function()
require('gitsigns').setup()
end
}
-- style
use 'Mofiqul/dracula.nvim'
@ -65,10 +74,11 @@ return require('packer').startup(function(use)
ft={"Snakefile","snk"}
}
-- toml
-- toml
use 'cespare/vim-toml'
vim.g.strip_whitespace_on_save = 1
if packer_bootstrap then
require('packer').sync()
end
-- if packer_bootstrap then
-- require('packer').sync()
-- end
end)