nvim: add plugins, xrandr: change screens layout
This commit is contained in:
parent
80454c4281
commit
eb151093c0
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# monitors
|
# 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
|
for_window [tiling] border pixel 3
|
||||||
exec --no-startup-id picom --inactive-dim 0.2 --no-fading-openclose --inactive-dim-fixed --config /dev/null
|
exec --no-startup-id picom --inactive-dim 0.2 --no-fading-openclose --inactive-dim-fixed --config /dev/null
|
||||||
|
|||||||
@ -21,6 +21,15 @@ local plugins = {
|
|||||||
'nvim-lualine/lualine.nvim',
|
'nvim-lualine/lualine.nvim',
|
||||||
dependencies = { 'kyazdani42/nvim-web-devicons' }
|
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',
|
'karb94/neoscroll.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
@ -50,7 +59,10 @@ local plugins = {
|
|||||||
'tpope/vim-commentary' -- gcc to comment line
|
'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',
|
'preservim/tagbar',
|
||||||
@ -100,9 +112,6 @@ local plugins = {
|
|||||||
'folke/trouble.nvim',
|
'folke/trouble.nvim',
|
||||||
dependencies = { 'kyazdani42/nvim-web-devicons' }
|
dependencies = { 'kyazdani42/nvim-web-devicons' }
|
||||||
},
|
},
|
||||||
{
|
|
||||||
'neovim/nvim-lspconfig'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'hrsh7th/nvim-cmp',
|
'hrsh7th/nvim-cmp',
|
||||||
dependencies = {
|
dependencies = {
|
||||||
@ -124,6 +133,12 @@ local plugins = {
|
|||||||
'williamboman/mason.nvim',
|
'williamboman/mason.nvim',
|
||||||
dependencies = "williamboman/mason-lspconfig.nvim"
|
dependencies = "williamboman/mason-lspconfig.nvim"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'folke/which-key.nvim',
|
||||||
|
config = function()
|
||||||
|
require("which-key").setup()
|
||||||
|
end
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'nvim-telescope/telescope.nvim',
|
'nvim-telescope/telescope.nvim',
|
||||||
enabled = vim.fn.executable "fzf" == 1,
|
enabled = vim.fn.executable "fzf" == 1,
|
||||||
@ -178,6 +193,15 @@ local plugins = {
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'folke/neodev.nvim',
|
||||||
|
dependencies = {
|
||||||
|
'neovim/nvim-lspconfig'
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require('neodev').setup()
|
||||||
|
end
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
require("lazy").setup(
|
require("lazy").setup(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user