Config updates

This commit is contained in:
Michael Housh
2023-10-03 21:38:41 -04:00
parent 5927ef7fb3
commit 7690713f46
5 changed files with 25 additions and 5 deletions

View File

@@ -76,6 +76,7 @@
"/Users/michael/.local/share/m-housh/lazy/toggleterm.nvim/lua", "/Users/michael/.local/share/m-housh/lazy/toggleterm.nvim/lua",
"/Users/michael/.dotfiles/nvim/m-housh/lua", "/Users/michael/.dotfiles/nvim/m-housh/lua",
"/Users/michael/.dotfiles/nvim/m-housh/lua", "/Users/michael/.dotfiles/nvim/m-housh/lua",
"${3rd}/luv/library" "${3rd}/luv/library",
"${3rd}/luassert/library"
] ]
} }

View File

@@ -38,7 +38,6 @@
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" },
"telescope.nvim": { "branch": "0.1.x", "commit": "54930e1abfc94409e1bb9266e752ef8379008592" }, "telescope.nvim": { "branch": "0.1.x", "commit": "54930e1abfc94409e1bb9266e752ef8379008592" },
"toggleterm.nvim": { "branch": "main", "commit": "c80844fd52ba76f48fabf83e2b9f9b93273f418d" }, "toggleterm.nvim": { "branch": "main", "commit": "c80844fd52ba76f48fabf83e2b9f9b93273f418d" },
"vim-kitty": { "branch": "main", "commit": "891475671feebc4bf0f29f0a0987067913a81686" },
"vim-tmux-navigator": { "branch": "master", "commit": "7db70e08ea03b3e4d91f63713d76134512e28d7e" }, "vim-tmux-navigator": { "branch": "master", "commit": "7db70e08ea03b3e4d91f63713d76134512e28d7e" },
"which-key.nvim": { "branch": "main", "commit": "7ccf476ebe0445a741b64e36c78a682c1c6118b7" }, "which-key.nvim": { "branch": "main", "commit": "7ccf476ebe0445a741b64e36c78a682c1c6118b7" },
"wrapping.nvim": { "branch": "master", "commit": "e1ce68aae5ea729fc20e5bc17fb569314f76b9bb" }, "wrapping.nvim": { "branch": "master", "commit": "e1ce68aae5ea729fc20e5bc17fb569314f76b9bb" },

View File

@@ -4,9 +4,23 @@
declare -a findPaths=("$HOME") declare -a findPaths=("$HOME")
function fpath_prepend() {
declare arg
for arg in "$@"; do
test -d $arg || continue
findPaths=("$arg" "$findPaths")
done
}
if [[ $# -eq 1 ]]; then if [[ $# -eq 1 ]]; then
selected=$1 selected=$1
else else
fpath_prepend "$REPOS" \
"$LOCAL_REPOS" \
"$GHREPOS" \
"$GHREPOS"
# Some of my machines, projects is a symlink to $REPOS, so ignore it. # Some of my machines, projects is a symlink to $REPOS, so ignore it.
# On other machines, it is local versions of projects, so add it. # On other machines, it is local versions of projects, so add it.
if [[ ! -L "$HOME/projects" ]]; then if [[ ! -L "$HOME/projects" ]]; then

View File

@@ -70,6 +70,7 @@ bind -n M-h previous-window
bind -n M-L next-window bind -n M-L next-window
bind C-l send-keys 'C-l' bind C-l send-keys 'C-l'
bind-key -r f run-shell "tmux neww ~/.local/scripts/tmux-sessionator" bind-key -r f run-shell "tmux neww ~/.local/scripts/tmux-sessionator"
bind-key -r C run-shell "tmux neww ~/.local/scripts/tmux-sessionator ~/.dotfiles" bind-key -r C run-shell "tmux neww ~/.local/scripts/tmux-sessionator ~/.dotfiles"
bind-key -r S run-shell -b "~/.config/tmux/plugins/tmux-fzf/scripts/session.sh switch" bind-key -r S run-shell -b "~/.config/tmux/plugins/tmux-fzf/scripts/session.sh switch"

View File

@@ -7,14 +7,15 @@ end
--config.color_scheme = 'rose-pine' --config.color_scheme = 'rose-pine'
config.color_scheme = 'nightfox' config.color_scheme = 'nightfox'
-- Font
config.font = wezterm.font_with_fallback { config.font = wezterm.font_with_fallback {
'JetBrains Mono', 'JetBrains Mono',
'nonicons' 'Inconsolata Nerd Font Mono',
} }
config.font_size = 16.0 config.font_size = 16.0
config.use_fancy_tab_bar = false -- Window
config.enable_scroll_bar = false config.enable_scroll_bar = false
config.window_padding = { config.window_padding = {
left = 0, left = 0,
@@ -25,6 +26,10 @@ config.window_padding = {
config.window_close_confirmation = 'NeverPrompt' config.window_close_confirmation = 'NeverPrompt'
config.window_decorations = 'TITLE' config.window_decorations = 'TITLE'
-- Tab Bar
config.show_tabs_in_tab_bar = true
config.show_new_tab_button_in_tab_bar = false
config.use_fancy_tab_bar = true
config.tab_bar_at_bottom = true config.tab_bar_at_bottom = true
return config return config