Compare commits
11 commits
fee3322342
...
5ec64ddc3a
Author | SHA1 | Date | |
---|---|---|---|
5ec64ddc3a | |||
5c74be5601 | |||
56a6a49dba | |||
fb10eb2769 | |||
2e8cefb22a | |||
e9d6a16b41 | |||
bbbe921f1b | |||
01bcfcbe52 | |||
4390536372 | |||
23e13f9930 | |||
a32e348624 |
13 changed files with 67 additions and 87 deletions
|
@ -11,9 +11,10 @@
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||||
"conform.nvim": { "branch": "master", "commit": "1a99fdc1d3aa9ccdf3021e67982a679a8c5c740c" },
|
"conform.nvim": { "branch": "master", "commit": "1a99fdc1d3aa9ccdf3021e67982a679a8c5c740c" },
|
||||||
"dressing.nvim": { "branch": "master", "commit": "1b7921eecc65af1baf8ac1dc06f0794934cbcfb2" },
|
"dressing.nvim": { "branch": "master", "commit": "1b7921eecc65af1baf8ac1dc06f0794934cbcfb2" },
|
||||||
|
"fidget.nvim": { "branch": "main", "commit": "d855eed8a06531a7e8fd0684889b2943f373c469" },
|
||||||
"friendly-snippets": { "branch": "main", "commit": "00ba9dd3df89509f95437b8d595553707c46d5ea" },
|
"friendly-snippets": { "branch": "main", "commit": "00ba9dd3df89509f95437b8d595553707c46d5ea" },
|
||||||
"fzf-lua": { "branch": "main", "commit": "fb00a0dec19ad03140f26b56fa76973c921147dc" },
|
"fzf-lua": { "branch": "main", "commit": "a1f834b37506ca77c47fa99cd3f5e9ed3f4102d2" },
|
||||||
"gruvbox-material": { "branch": "master", "commit": "25425c4feea270951c33de67c595ab3bbe8b0e7e" },
|
"gruvbox-material": { "branch": "master", "commit": "b16dcd787db5ba9302b54ebeac186784c2aed29a" },
|
||||||
"harpoon": { "branch": "harpoon2", "commit": "0378a6c428a0bed6a2781d459d7943843f374bce" },
|
"harpoon": { "branch": "harpoon2", "commit": "0378a6c428a0bed6a2781d459d7943843f374bce" },
|
||||||
"inc-rename.nvim": { "branch": "main", "commit": "8ba77017ca468f3029bf88ef409c2d20476ea66b" },
|
"inc-rename.nvim": { "branch": "main", "commit": "8ba77017ca468f3029bf88ef409c2d20476ea66b" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "460e1cd8f24e364d54543a4b0e83f6f4ec1f65fb" },
|
"lazy.nvim": { "branch": "main", "commit": "460e1cd8f24e364d54543a4b0e83f6f4ec1f65fb" },
|
||||||
|
@ -24,26 +25,25 @@
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "25c11854aa25558ee6c03432edfa0df0217324be" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "25c11854aa25558ee6c03432edfa0df0217324be" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
||||||
"mini.ai": { "branch": "main", "commit": "9b9b7cfa38b4871c3e44cfe89cf6d53fd40684d9" },
|
"mini.ai": { "branch": "main", "commit": "9b9b7cfa38b4871c3e44cfe89cf6d53fd40684d9" },
|
||||||
"mini.notify": { "branch": "main", "commit": "1c901d62581439f3d17382a5bf7001a282d6468b" },
|
"nvim-autopairs": { "branch": "master", "commit": "ee297f215e95a60b01fde33275cc3c820eddeebe" },
|
||||||
"nvim-autopairs": { "branch": "master", "commit": "f158dcb865c36f72c92358f87787dab2c272eaf3" },
|
|
||||||
"nvim-bqf": { "branch": "main", "commit": "1b24dc6050c34e8cd377b6b4cd6abe40509e0187" },
|
"nvim-bqf": { "branch": "main", "commit": "1b24dc6050c34e8cd377b6b4cd6abe40509e0187" },
|
||||||
"nvim-cmp": { "branch": "perf", "commit": "6c3d595f3223c1ae7392d4fde1626355439af6c1" },
|
"nvim-cmp": { "branch": "perf", "commit": "6c3d595f3223c1ae7392d4fde1626355439af6c1" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "a9bc587e9ae0cbcb3e90a2e9342f86b3b78c4408" },
|
"nvim-lspconfig": { "branch": "master", "commit": "aa615f62300465eef5115e0b7dfcf6dedc274f5d" },
|
||||||
"nvim-tmux-navigation": { "branch": "main", "commit": "4898c98702954439233fdaf764c39636681e2861" },
|
"nvim-tmux-navigation": { "branch": "main", "commit": "4898c98702954439233fdaf764c39636681e2861" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "84836f08ef840756990cab874f9f5e18d4f173f5" },
|
"nvim-treesitter": { "branch": "master", "commit": "ef52e44bb24161e5138b3de5beadab3f3fcff233" },
|
||||||
"nvim-treesitter-context": { "branch": "master", "commit": "3d5390c49e3f8fe457b376df2a49aa39d75b7911" },
|
"nvim-treesitter-context": { "branch": "master", "commit": "17d9c1a6c378f5dc040f4e2e7dc4600434c51d1e" },
|
||||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "4a2d05ec24eaa6b655c7d19092a3b6c0219d46b9" },
|
"nvim-treesitter-textobjects": { "branch": "master", "commit": "4a2d05ec24eaa6b655c7d19092a3b6c0219d46b9" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "26220156aafb198b2de6a4cf80c1b120a3768da0" },
|
"nvim-web-devicons": { "branch": "master", "commit": "6b53401918a9033a41159d012160c5fb5eb249ae" },
|
||||||
"oil.nvim": { "branch": "master", "commit": "1360be5fda9c67338331abfcd80de2afbb395bcd" },
|
"oil.nvim": { "branch": "master", "commit": "9e6fb844fe4cce13d9e3f6a7c970cbc669bb1629" },
|
||||||
"pastify.nvim": { "branch": "main", "commit": "5e0e7e5e1b4880476a35a82d3dfe93764a9a37da" },
|
"pastify.nvim": { "branch": "main", "commit": "5e0e7e5e1b4880476a35a82d3dfe93764a9a37da" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
|
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
|
||||||
"rustaceanvim": { "branch": "master", "commit": "ebbd10006d2deeb71c46d58c4c69aa3d5c088310" },
|
"rustaceanvim": { "branch": "master", "commit": "29f42cc149f915d771c550b6dfe7c788d856cf04" },
|
||||||
"screenkey.nvim": { "branch": "main", "commit": "0589de3c857721e150ea694cfe66d6d0e8aecacb" },
|
"screenkey.nvim": { "branch": "main", "commit": "0589de3c857721e150ea694cfe66d6d0e8aecacb" },
|
||||||
"todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
|
"todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
|
||||||
"undotree": { "branch": "master", "commit": "78b5241191852ffa9bb5da5ff2ee033160798c3b" },
|
"undotree": { "branch": "master", "commit": "78b5241191852ffa9bb5da5ff2ee033160798c3b" },
|
||||||
"vim-fugitive": { "branch": "master", "commit": "d4877e54cef67f5af4f950935b1ade19ed6b7370" },
|
"vim-fugitive": { "branch": "master", "commit": "d4877e54cef67f5af4f950935b1ade19ed6b7370" },
|
||||||
"vim-surround": { "branch": "master", "commit": "3d188ed2113431cf8dac77be61b842acb64433d9" },
|
"vim-surround": { "branch": "master", "commit": "3d188ed2113431cf8dac77be61b842acb64433d9" },
|
||||||
"vim-tpipeline": { "branch": "master", "commit": "72a624f97730059bab359cb0b58a23433bfec308" },
|
"vim-tpipeline": { "branch": "master", "commit": "72a624f97730059bab359cb0b58a23433bfec308" },
|
||||||
"vimtex": { "branch": "master", "commit": "b9cc11536a4e726c58c4776e9bcecff26fc454cb" },
|
"vimtex": { "branch": "master", "commit": "be2c13c76eb4c72b2d036900aa17b4b8200ddfb5" },
|
||||||
"zen-mode.nvim": { "branch": "main", "commit": "29b292bdc58b76a6c8f294c961a8bf92c5a6ebd6" }
|
"zen-mode.nvim": { "branch": "main", "commit": "29b292bdc58b76a6c8f294c961a8bf92c5a6ebd6" }
|
||||||
}
|
}
|
||||||
|
|
|
@ -219,8 +219,8 @@ return {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'mrcjkb/rustaceanvim',
|
'mrcjkb/rustaceanvim',
|
||||||
version = '^5', -- Recommended
|
version = '^5',
|
||||||
lazy = false, -- This plugin is already lazy
|
lazy = false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"stevearc/conform.nvim",
|
"stevearc/conform.nvim",
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
return {
|
|
||||||
{
|
|
||||||
'echasnovski/mini.ai',
|
|
||||||
version = false,
|
|
||||||
opts = {}
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
'echasnovski/mini.notify',
|
|
||||||
version = false,
|
|
||||||
config = function()
|
|
||||||
vim.api.nvim_set_hl(0, 'MiniNotifyNormal', { link = 'Normal' })
|
|
||||||
vim.api.nvim_set_hl(0, 'MiniNotifyBorder', { link = 'Normal' })
|
|
||||||
require("mini.notify").setup({
|
|
||||||
-- Window options
|
|
||||||
window = {
|
|
||||||
-- Floating window config
|
|
||||||
config = {},
|
|
||||||
-- Value of 'winblend' option
|
|
||||||
},
|
|
||||||
|
|
||||||
})
|
|
||||||
end
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -21,16 +21,19 @@ return {
|
||||||
opts = {},
|
opts = {},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"alexghergh/nvim-tmux-navigation",
|
'mrjones2014/smart-splits.nvim',
|
||||||
event = "VeryLazy",
|
config = function()
|
||||||
opts = {
|
require('smart-splits').setup({})
|
||||||
disable_when_zoomed = true, -- defaults to false
|
--Resize
|
||||||
keybindings = {
|
vim.keymap.set('n', '<S-F5>', require('smart-splits').resize_left)
|
||||||
left = "<F5>",
|
vim.keymap.set('n', '<S-F6>', require('smart-splits').resize_down)
|
||||||
down = "<F6>",
|
vim.keymap.set('n', '<S-F7>', require('smart-splits').resize_up)
|
||||||
up = "<F7>",
|
vim.keymap.set('n', '<S-F8>', require('smart-splits').resize_right)
|
||||||
right = "<F8>",
|
--Move
|
||||||
},
|
vim.keymap.set('n', '<F5>', require('smart-splits').move_cursor_left)
|
||||||
},
|
vim.keymap.set('n', '<F6>', require('smart-splits').move_cursor_down)
|
||||||
|
vim.keymap.set('n', '<F7>', require('smart-splits').move_cursor_up)
|
||||||
|
vim.keymap.set('n', '<F8>', require('smart-splits').move_cursor_right)
|
||||||
|
end
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,21 +8,22 @@ return {
|
||||||
vim.g.tpipeline_statusline = '%=%l:%c'
|
vim.g.tpipeline_statusline = '%=%l:%c'
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
{
|
|
||||||
'echasnovski/mini.notify',
|
|
||||||
version = false,
|
|
||||||
config = function()
|
|
||||||
vim.api.nvim_set_hl(0, 'MiniNotifyNormal', { link = 'Normal' })
|
|
||||||
vim.api.nvim_set_hl(0, 'MiniNotifyBorder', { link = 'Normal' })
|
|
||||||
require("mini.notify").setup()
|
|
||||||
end
|
|
||||||
},
|
|
||||||
--Better quick fix
|
--Better quick fix
|
||||||
{
|
{
|
||||||
'kevinhwang91/nvim-bqf',
|
'kevinhwang91/nvim-bqf',
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
ft = 'qf'
|
ft = 'qf'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"j-hui/fidget.nvim",
|
||||||
|
opts = {
|
||||||
|
progress = {
|
||||||
|
display = {
|
||||||
|
render_limit = 3,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"OXY2DEV/markview.nvim",
|
"OXY2DEV/markview.nvim",
|
||||||
ft = "markdown",
|
ft = "markdown",
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
#--> Catppuccin (Latte)
|
#--> Catppuccin (Latte)
|
||||||
"bg=#dce0e8 ,
|
bg="dce0e8"
|
||||||
fg=#4c4f69 ,
|
fg="4c4f69"
|
||||||
cyan=#179299 ,
|
cyan="179299"
|
||||||
black=#e6e9ef ,
|
black="e6e9ef"
|
||||||
gray=#bcc0cc ,
|
gray="bcc0cc"
|
||||||
magenta=#ea76cb,
|
magenta="ea76cb"
|
||||||
pink=#8839ef ,
|
pink="8839ef"
|
||||||
red=#d20f39 ,
|
red="d20f39"
|
||||||
green=#40a02b ,
|
green="40a02b"
|
||||||
yellow=#df8e1d ,
|
yellow="df8e1d"
|
||||||
blue=#1e66f5 ,
|
blue="1e66f5"
|
||||||
orange=#fe640b ,
|
orange="fe640b"
|
||||||
black4=#acb0be ,"
|
black4="acb0be"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 42340e0f76a7a934f2a4a8d0da3165f74f68e6be
|
Subproject commit 2c161ff670593d147823a08d73730080ef952753
|
|
@ -1 +1 @@
|
||||||
Subproject commit a4140b93497333ec7f3127ee4dabcb8ae8a721b6
|
Subproject commit aadb8df59bca896b198420757aff570e53bd9c9c
|
|
@ -120,9 +120,7 @@ myManageHook = composeAll
|
||||||
, resource =? "kdesktop" --> doIgnore
|
, resource =? "kdesktop" --> doIgnore
|
||||||
, title =? "Picture-in-Picture" --> doFloat
|
, title =? "Picture-in-Picture" --> doFloat
|
||||||
, className =? "firefox" --> doShift (myWorkspaces !! 1)
|
, className =? "firefox" --> doShift (myWorkspaces !! 1)
|
||||||
, className =? "Code" --> doShift (myWorkspaces !! 3)
|
, className =? "discord" --> doShift (myWorkspaces !! 2)
|
||||||
, className =? "discord" --> doShift (myWorkspaces !! 4)
|
|
||||||
, title =? "JetBrains Toolbox" --> doShift (myWorkspaces !! 3)
|
|
||||||
, className =? "main" --> doFloat
|
, className =? "main" --> doFloat
|
||||||
, className =? "thunderbird" --> doShift (myWorkspaces !! 5)
|
, className =? "thunderbird" --> doShift (myWorkspaces !! 5)
|
||||||
, className =? "Xmessage" --> doFloat
|
, className =? "Xmessage" --> doFloat
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
#This is used to reload the instance
|
#This is used to reload the instance
|
||||||
|
if [[ ! $(tty) =~ ^/dev/tty[0-9]*$ ]]; then
|
||||||
TRAPUSR1() {
|
TRAPUSR1() {
|
||||||
if [[ -o INTERACTIVE ]]; then
|
if [[ -o INTERACTIVE ]]; then
|
||||||
exec "${SHELL}"
|
exec "${SHELL}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
# Add exports
|
# Add exports
|
||||||
if [[ $(uname) == "Darwin" ]]; then
|
if [[ $(uname) == "Darwin" ]]; then
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
function vim {
|
function vim {
|
||||||
if [[ -z "$@" ]]; then
|
if [[ -z "$@" ]]; then
|
||||||
if [[ -f "./.session.vim" ]]; then
|
if [[ -f "./.session.vim" ]]; then
|
||||||
nvim -S .session.vim --listen /tmp/nvim.pipe -c 'lua vim.g.savesession = true'
|
nvim -S .session.vim -c 'lua vim.g.savesession = true'
|
||||||
else
|
else
|
||||||
nvim --listen /tmp/nvim.pipe -c 'lua vim.g.savesession = true'
|
nvim -c 'lua vim.g.savesession = true'
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
nvim --listen /tmp/nvim.pipe "$@"
|
nvim "$@"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
[tag]
|
[tag]
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
[pull]
|
[pull]
|
||||||
rebase = false
|
rebase = true
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
[alias]
|
[alias]
|
||||||
|
|
|
@ -39,7 +39,9 @@ change_common(){
|
||||||
tmux source-file ~/.config/tmux/tmux.conf
|
tmux source-file ~/.config/tmux/tmux.conf
|
||||||
|
|
||||||
echo "vim.cmd('colorscheme ${nvim_color_scheme}')" >> ~/.config/nvim/lua/core/theme.lua
|
echo "vim.cmd('colorscheme ${nvim_color_scheme}')" >> ~/.config/nvim/lua/core/theme.lua
|
||||||
nvim --server /tmp/nvim.pipe --remote-send ":colorscheme ${nvim_color_scheme}<CR>" || true
|
for addr in $XDG_RUNTIME_DIR/nvim.*; do
|
||||||
|
nvim --server $addr --remote-send ':colorscheme ${nvim_color_scheme}<CR>' || true
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
|
|
Loading…
Reference in a new issue