nvim: add plugins, xrandr: change screens layout

This commit is contained in:
TheK4n 2023-03-19 20:45:10 +03:00
parent 80454c4281
commit eb151093c0
2 changed files with 29 additions and 5 deletions

View File

@ -12,7 +12,7 @@
# monitors
exec --no-startup-id xrandr --output DP-0 --mode 1920x1080 --pos 0x0 --primary
exec --no-startup-id xrandr --output DVI-D-0 --off --output HDMI-0 --mode 1366x768 --pos 1920x592 --rotate normal --output DP-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off
for_window [tiling] border pixel 3
exec --no-startup-id picom --inactive-dim 0.2 --no-fading-openclose --inactive-dim-fixed --config /dev/null

View File

@ -21,6 +21,15 @@ local plugins = {
'nvim-lualine/lualine.nvim',
dependencies = { 'kyazdani42/nvim-web-devicons' }
},
{
"max397574/better-escape.nvim",
config = function()
require("better_escape").setup({
mapping = {'jk'},
timeout = vim.o.timeoutlen,
})
end,
},
{
'karb94/neoscroll.nvim',
config = function()
@ -50,7 +59,10 @@ local plugins = {
'tpope/vim-commentary' -- gcc to comment line
},
{
'ap/vim-css-color' -- highlight hex
'norcalli/nvim-colorizer.lua',
config = function()
require('colorizer').setup()
end
},
{
'preservim/tagbar',
@ -100,9 +112,6 @@ local plugins = {
'folke/trouble.nvim',
dependencies = { 'kyazdani42/nvim-web-devicons' }
},
{
'neovim/nvim-lspconfig'
},
{
'hrsh7th/nvim-cmp',
dependencies = {
@ -124,6 +133,12 @@ local plugins = {
'williamboman/mason.nvim',
dependencies = "williamboman/mason-lspconfig.nvim"
},
{
'folke/which-key.nvim',
config = function()
require("which-key").setup()
end
},
{
'nvim-telescope/telescope.nvim',
enabled = vim.fn.executable "fzf" == 1,
@ -178,6 +193,15 @@ local plugins = {
})
end
},
{
'folke/neodev.nvim',
dependencies = {
'neovim/nvim-lspconfig'
},
config = function()
require('neodev').setup()
end
},
}
require("lazy").setup(