Added Ghostty config, removed unused files, and modified neovim
This commit is contained in:
parent
24cc29293b
commit
0de62ea21d
|
@ -178,6 +178,95 @@ switch (uname)
|
|||
/usr/bin/git $argv
|
||||
end
|
||||
end
|
||||
case Darwin
|
||||
#echo Hi Hexley!
|
||||
fish_vi_key_bindings
|
||||
set ID (id -u)
|
||||
## Start tmux
|
||||
#if not set -q TMUX; and [ $ID != 0 ]
|
||||
# echo "Setting tmux"
|
||||
# set -g TMUX tmux new-session -d -s base
|
||||
# eval $TMUX
|
||||
# tmux attach-session -d -t base
|
||||
#end
|
||||
|
||||
# PATH
|
||||
# Rust
|
||||
source "$HOME/.cargo/env.fish"
|
||||
|
||||
# pyenv
|
||||
#export PYENV_ROOT="$HOME/.pyenv"
|
||||
#export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
pyenv init - | source
|
||||
status --is-interactive; and pyenv virtualenv-init - | source
|
||||
|
||||
# VARIABLES
|
||||
if [ $ID != 0 ]
|
||||
# ssh and gpg
|
||||
set -x GPG_TTY (tty)
|
||||
set -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
|
||||
gpgconf --launch gpg-agent
|
||||
gpg-connect-agent updatestartuptty /bye > /dev/null
|
||||
end
|
||||
|
||||
# Editor
|
||||
export EDITOR='nvim'
|
||||
|
||||
# Manpager
|
||||
export PAGER='nvim +Man!'
|
||||
|
||||
# Term for ssh
|
||||
#export TERM='xterm-256color'
|
||||
|
||||
# Homebrew
|
||||
export HOMEBREW_NO_AUTO_UPDATE=1
|
||||
export HOMEBREW_NO_ENV_HINTS=1
|
||||
|
||||
# DBUS for zathura
|
||||
#export DBUS_LAUNCHD_SESSION_BUS_SOCKET=/tmp/(id -u)
|
||||
#export DBUS_SESSION_BUS_ADDRESS='unix:path='$DBUS_LAUNCHD_SESSION_BUS_SOCKET
|
||||
#if pgrep -x dbus-daemon &> /dev/null
|
||||
# printf (_ "%sdbus-daemon%s is running\n") (set_color red) (set_color normal)
|
||||
#else
|
||||
# #echo "dbus-daemon is not running"
|
||||
# dbus-daemon --fork --session --address=$DBUS_SESSION_BUS_ADDRESS
|
||||
#end
|
||||
|
||||
|
||||
# ALIAS
|
||||
# convinience
|
||||
alias doas='sudo'
|
||||
|
||||
# ls
|
||||
alias ls='colorls'
|
||||
|
||||
# neovim
|
||||
alias vi='nvim'
|
||||
alias vim='nvim'
|
||||
|
||||
# mutt
|
||||
#alias mutt='neomutt'
|
||||
|
||||
# rsync
|
||||
alias rsync='rsync -h -v -r -P -p -t --stats'
|
||||
|
||||
# wget folder
|
||||
alias wget_f='wget -r -np -R "index.html*"'
|
||||
|
||||
# btop
|
||||
alias top='btop'
|
||||
|
||||
# git signed
|
||||
function git --wraps git
|
||||
switch $argv[1]
|
||||
case commit
|
||||
/usr/bin/git commit -S
|
||||
case tag
|
||||
/usr/bin/git tag -S
|
||||
case '*'
|
||||
/usr/bin/git $argv
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
case '*'
|
||||
|
|
|
@ -0,0 +1,94 @@
|
|||
font-family = Terminess Nerd Font
|
||||
font-size = 18
|
||||
font-thicken = false
|
||||
theme = Homebrew
|
||||
## background = #282c34
|
||||
#background = #000000
|
||||
#foreground = #ffffff
|
||||
#minimum-contrast = 1
|
||||
## Black
|
||||
#palette = 0=#000000
|
||||
#palette = 8=#666666
|
||||
## Red
|
||||
#palette = 1=#990000
|
||||
#palette = 9=#e50000
|
||||
## Green
|
||||
#palette = 2=#00a600
|
||||
#palette = 10=#00d900
|
||||
## Yellow
|
||||
#palette = 3=#999900
|
||||
#palette = 11=#e5e500
|
||||
## Blue
|
||||
##palette = 4=#0000b2
|
||||
palette = 4=#053de6
|
||||
#palette = 12=#0000ff
|
||||
## Purple
|
||||
#palette = 5=#b200b2
|
||||
#palette = 13=#e500e5
|
||||
## Aqua
|
||||
#palette = 6=#00a6b2
|
||||
#palette = 14=#00e5e5
|
||||
## White
|
||||
#palette = 7=#bfbfbf
|
||||
#palette = 15=#e5e5e5
|
||||
cursor-color =
|
||||
cursor-invert-fg-bg = false
|
||||
cursor-opacity = 1
|
||||
cursor-style = block
|
||||
cursor-style-blink =
|
||||
cursor-click-to-move = true
|
||||
mouse-hide-while-typing = false
|
||||
mouse-shift-capture = false
|
||||
background-opacity = 1
|
||||
unfocused-split-opacity = 0.7
|
||||
scrollback-limit = 10000000
|
||||
link-url = true
|
||||
fullscreen = false
|
||||
window-padding-x = 2
|
||||
window-padding-y = 2
|
||||
window-padding-balance = false
|
||||
window-padding-color = background
|
||||
window-vsync = true
|
||||
window-inherit-working-directory = true
|
||||
window-inherit-font-size = true
|
||||
window-decoration = true
|
||||
window-title-font-family =
|
||||
window-theme = auto
|
||||
window-colorspace = srgb
|
||||
window-height = 51
|
||||
window-width = 189
|
||||
window-save-state = default
|
||||
window-step-resize = false
|
||||
window-new-tab-position = current
|
||||
resize-overlay = after-first
|
||||
resize-overlay-position = center
|
||||
resize-overlay-duration = 750ms
|
||||
focus-follows-mouse = false
|
||||
clipboard-read = ask
|
||||
clipboard-write = allow
|
||||
clipboard-trim-trailing-spaces = true
|
||||
clipboard-paste-protection = true
|
||||
clipboard-paste-bracketed-safe = true
|
||||
image-storage-limit = 320000000
|
||||
copy-on-select = false
|
||||
click-repeat-interval = 0
|
||||
initial-window = true
|
||||
shell-integration = detect
|
||||
shell-integration-features = cursor,no-sudo,title
|
||||
macos-non-native-fullscreen = false
|
||||
macos-titlebar-style = transparent
|
||||
macos-titlebar-proxy-icon = visible
|
||||
macos-option-as-alt =
|
||||
macos-window-shadow = true
|
||||
macos-auto-secure-input = true
|
||||
macos-secure-input-indication = true
|
||||
macos-icon = official
|
||||
macos-icon-frame = aluminum
|
||||
macos-icon-ghost-color =
|
||||
macos-icon-screen-color =
|
||||
desktop-notifications = true
|
||||
bold-is-bright = false
|
||||
term = xterm-ghostty
|
||||
enquiry-response =
|
||||
auto-update = check
|
||||
auto-update-channel =
|
|
@ -130,6 +130,12 @@ local plugins = {
|
|||
},
|
||||
-- Autoclose parenthesis
|
||||
{ 'm4xshen/autoclose.nvim' },
|
||||
--{
|
||||
-- 'tummetott/unimpaired.nvim',
|
||||
-- config = function()
|
||||
-- require('unimpaired').setup()
|
||||
-- end
|
||||
--},
|
||||
-- tree navigator
|
||||
{ "nvim-tree/nvim-tree.lua" },
|
||||
{
|
||||
|
@ -170,17 +176,20 @@ local plugins = {
|
|||
require('windows').setup()
|
||||
end
|
||||
},
|
||||
-- Terminal
|
||||
{
|
||||
'voldikss/vim-floaterm',
|
||||
},
|
||||
-- Neorg
|
||||
{
|
||||
'tummetott/unimpaired.nvim',
|
||||
config = function()
|
||||
require('unimpaired').setup()
|
||||
end
|
||||
"nvim-neorg/neorg",
|
||||
lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
|
||||
version = "*", -- Pin Neorg to the latest stable release
|
||||
config = true,
|
||||
},
|
||||
'airblade/vim-gitgutter',
|
||||
'mg979/vim-visual-multi',
|
||||
-- Git signs
|
||||
{ 'airblade/vim-gitgutter' },
|
||||
{ 'mg979/vim-visual-multi' },
|
||||
{
|
||||
'kevinhwang91/nvim-ufo',
|
||||
dependencies = 'kevinhwang91/promise-async'
|
||||
|
|
Loading…
Reference in New Issue