Compare commits
2 commits
937ab7e510
...
731b4c96a6
| Author | SHA1 | Date | |
|---|---|---|---|
| 731b4c96a6 | |||
| 57f8cc2fe7 |
6 changed files with 49 additions and 12 deletions
|
|
@ -5,6 +5,8 @@ if [[ "$(uname)" == "Darwin" ]]; then
|
||||||
if aerospace list-windows --all | grep -q 'Mail.*Ghostty\|Ghostty.*Mail'; then
|
if aerospace list-windows --all | grep -q 'Mail.*Ghostty\|Ghostty.*Mail'; then
|
||||||
aerospace workspace 8
|
aerospace workspace 8
|
||||||
else
|
else
|
||||||
|
open -ga Ghostty
|
||||||
|
sleep 0.2
|
||||||
aerospace workspace 8
|
aerospace workspace 8
|
||||||
open -na Ghostty --args --title="Mail" -e ~/dotfiles/bin/path-shim neomutt
|
open -na Ghostty --args --title="Mail" -e ~/dotfiles/bin/path-shim neomutt
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,8 @@ if [[ "$(uname)" == "Darwin" ]]; then
|
||||||
if aerospace list-windows --all | grep -q 'Music.*Ghostty\|Ghostty.*Music'; then
|
if aerospace list-windows --all | grep -q 'Music.*Ghostty\|Ghostty.*Music'; then
|
||||||
aerospace workspace 7
|
aerospace workspace 7
|
||||||
else
|
else
|
||||||
|
open -ga Ghostty
|
||||||
|
sleep 0.2
|
||||||
aerospace workspace 7
|
aerospace workspace 7
|
||||||
open -na Ghostty --args --title="Music" -e /etc/profiles/per-user/rayandrew/bin/spotify_player
|
open -na Ghostty --args --title="Music" -e /etc/profiles/per-user/rayandrew/bin/spotify_player
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -83,6 +83,10 @@ on-focus-changed = [
|
||||||
'mode resize',
|
'mode resize',
|
||||||
'exec-and-forget ~/dotfiles/bin/path-shim sketchybar --trigger send_message MESSAGE=RESIZE_MODE HOLD=true'
|
'exec-and-forget ~/dotfiles/bin/path-shim sketchybar --trigger send_message MESSAGE=RESIZE_MODE HOLD=true'
|
||||||
]
|
]
|
||||||
|
alt-g = [
|
||||||
|
'mode group',
|
||||||
|
'exec-and-forget ~/dotfiles/bin/path-shim sketchybar --trigger send_message MESSAGE=GROUP_MODE HOLD=true'
|
||||||
|
]
|
||||||
|
|
||||||
cmd-ctrl-1 = "exec-and-forget ~/dotfiles/bin/path-shim aerospace-scratchpad show Finder"
|
cmd-ctrl-1 = "exec-and-forget ~/dotfiles/bin/path-shim aerospace-scratchpad show Finder"
|
||||||
|
|
||||||
|
|
@ -107,15 +111,8 @@ on-focus-changed = [
|
||||||
'exec-and-forget ~/dotfiles/bin/path-shim sketchybar --reload',
|
'exec-and-forget ~/dotfiles/bin/path-shim sketchybar --reload',
|
||||||
'mode main',
|
'mode main',
|
||||||
]
|
]
|
||||||
r = ['flatten-workspace-tree', 'mode main']
|
r = ['flatten-workspace-tree']
|
||||||
f = ['layout floating tiling', 'mode main']
|
backspace = ['close-all-windows-but-current']
|
||||||
backspace = ['close-all-windows-but-current', 'mode main']
|
|
||||||
|
|
||||||
alt-shift-h = ['join-with left', 'mode main']
|
|
||||||
alt-shift-j = ['join-with down', 'mode main']
|
|
||||||
alt-shift-k = ['join-with up', 'mode main']
|
|
||||||
alt-shift-l = ['join-with right', 'mode main']
|
|
||||||
|
|
||||||
|
|
||||||
p = [
|
p = [
|
||||||
'exec-and-forget ~/dotfiles/bin/presentation-mode on',
|
'exec-and-forget ~/dotfiles/bin/presentation-mode on',
|
||||||
|
|
@ -130,6 +127,28 @@ on-focus-changed = [
|
||||||
'mode main'
|
'mode main'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[mode.group.binding]
|
||||||
|
# Join with direction + make tabbed (h_accordion for horizontal, v_accordion for vertical)
|
||||||
|
h = ['join-with left', 'layout h_accordion']
|
||||||
|
j = ['join-with down', 'layout v_accordion']
|
||||||
|
k = ['join-with up', 'layout v_accordion']
|
||||||
|
l = ['join-with right', 'layout h_accordion']
|
||||||
|
|
||||||
|
# Layout options (apply to current container)
|
||||||
|
t = 'layout h_accordion'
|
||||||
|
s = 'layout v_accordion'
|
||||||
|
e = 'layout tiles horizontal vertical'
|
||||||
|
|
||||||
|
# Exit group mode
|
||||||
|
esc = [
|
||||||
|
'mode main',
|
||||||
|
'exec-and-forget ~/dotfiles/bin/path-shim sketchybar --trigger hide_message'
|
||||||
|
]
|
||||||
|
enter = [
|
||||||
|
'mode main',
|
||||||
|
'exec-and-forget ~/dotfiles/bin/path-shim sketchybar --trigger hide_message'
|
||||||
|
]
|
||||||
|
|
||||||
[[on-window-detected]]
|
[[on-window-detected]]
|
||||||
if.app-id = 'com.apple.finder'
|
if.app-id = 'com.apple.finder'
|
||||||
run = ['layout floating']
|
run = ['layout floating']
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,7 @@ add 'nvim-lua/plenary.nvim'
|
||||||
add 'sindrets/diffview.nvim'
|
add 'sindrets/diffview.nvim'
|
||||||
add 'folke/which-key.nvim'
|
add 'folke/which-key.nvim'
|
||||||
add { source = 'saghen/blink.cmp', checkout = 'v1.8.0' }
|
add { source = 'saghen/blink.cmp', checkout = 'v1.8.0' }
|
||||||
|
add { source = 'saghen/blink.compat', depends = { 'saghen/blink.cmp' } }
|
||||||
add 'stevearc/conform.nvim'
|
add 'stevearc/conform.nvim'
|
||||||
add 'coder/claudecode.nvim'
|
add 'coder/claudecode.nvim'
|
||||||
add 'mbbill/undotree'
|
add 'mbbill/undotree'
|
||||||
|
|
@ -62,6 +63,7 @@ add 'nvim-treesitter/nvim-treesitter'
|
||||||
add 'nvim-treesitter/nvim-treesitter-textobjects'
|
add 'nvim-treesitter/nvim-treesitter-textobjects'
|
||||||
add { source = 'nvim-pack/nvim-spectre', depends = { 'nvim-lua/plenary.nvim' } }
|
add { source = 'nvim-pack/nvim-spectre', depends = { 'nvim-lua/plenary.nvim' } }
|
||||||
add 'lervag/vimtex'
|
add 'lervag/vimtex'
|
||||||
|
add 'micangl/cmp-vimtex'
|
||||||
|
|
||||||
-- color themes
|
-- color themes
|
||||||
add 'EdenEast/nightfox.nvim'
|
add 'EdenEast/nightfox.nvim'
|
||||||
|
|
@ -504,12 +506,19 @@ later(function()
|
||||||
},
|
},
|
||||||
sources = {
|
sources = {
|
||||||
default = { 'lsp', 'path', 'snippets', 'buffer', 'copilot' },
|
default = { 'lsp', 'path', 'snippets', 'buffer', 'copilot' },
|
||||||
|
per_filetype = {
|
||||||
|
tex = { 'vimtex', 'lsp', 'path', 'snippets', 'buffer', 'copilot' },
|
||||||
|
},
|
||||||
providers = {
|
providers = {
|
||||||
copilot = {
|
copilot = {
|
||||||
name = 'copilot',
|
name = 'copilot',
|
||||||
module = 'blink-copilot',
|
module = 'blink-copilot',
|
||||||
async = true,
|
async = true,
|
||||||
},
|
},
|
||||||
|
vimtex = {
|
||||||
|
name = 'vimtex',
|
||||||
|
module = 'blink.compat.source',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
completion = {
|
completion = {
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,8 @@ function M.setup()
|
||||||
-- Compiler settings
|
-- Compiler settings
|
||||||
vim.g.vimtex_compiler_method = 'latexmk'
|
vim.g.vimtex_compiler_method = 'latexmk'
|
||||||
vim.g.vimtex_compiler_latexmk = {
|
vim.g.vimtex_compiler_latexmk = {
|
||||||
build_dir = 'build',
|
aux_dir = 'build',
|
||||||
|
out_dir = 'build',
|
||||||
callback = 1,
|
callback = 1,
|
||||||
continuous = 1,
|
continuous = 1,
|
||||||
executable = 'latexmk',
|
executable = 'latexmk',
|
||||||
|
|
@ -25,6 +26,9 @@ function M.setup()
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- Auto-open viewer on compile
|
||||||
|
vim.g.vimtex_view_automatic = 1
|
||||||
|
|
||||||
-- Quickfix settings
|
-- Quickfix settings
|
||||||
vim.g.vimtex_quickfix_mode = 0 -- Don't open quickfix automatically
|
vim.g.vimtex_quickfix_mode = 0 -- Don't open quickfix automatically
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -35,9 +35,10 @@ page_separator_color 0.1569 0.2078 0.2431
|
||||||
ui_background_color 0.0157 0.0824 0.1255
|
ui_background_color 0.0157 0.0824 0.1255
|
||||||
ui_text_color 0.7451 0.8118 0.8549
|
ui_text_color 0.7451 0.8118 0.8549
|
||||||
|
|
||||||
# Startup - use custom color mode and enable synctex by default
|
# Startup - enable synctex by default, start in white mode (toggle dark with C-r or C-i)
|
||||||
should_launch_new_window 0
|
should_launch_new_window 0
|
||||||
startup_commands toggle_custom_color;toggle_synctex
|
# startup_commands toggle_custom_color;toggle_synctex
|
||||||
|
startup_commands toggle_synctex
|
||||||
|
|
||||||
# Smooth scrolling
|
# Smooth scrolling
|
||||||
smooth_scroll_speed 3.0
|
smooth_scroll_speed 3.0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue