This commit is contained in:
Belal Elsabbagh
2025-01-15 12:18:47 +02:00
parent fb3ca76ee9
commit 90cb1e98a4
3 changed files with 32 additions and 22 deletions

View File

@@ -72,7 +72,7 @@ return {
capabilities = capabilities,
},
vtsls = {
filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue' },
filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact' },
settings = {
vtsls = {
-- autoUseWorkspaceTsdk = true,
@@ -117,9 +117,9 @@ return {
},
vetur = {
completion = {
autoImport = false,
autoImport = true,
tagCasing = 'kebab',
useScaffoldSnippets = false,
useScaffoldSnippets = true,
},
format = {
defaultFormatter = {

View File

@@ -3,34 +3,28 @@ $username\
$hostname\
$directory\
$git_branch\
$git_state\
$git_status\
$git_state $git_status\
$cmd_duration\
$line_break\
$python\
$character"""
palette = "dracula"
[directory]
style = "blue"
[character]
success_symbol = "[>](purple)"
error_symbol = "[>](red)"
vimcmd_symbol = "[<](green)"
success_symbol = "[>](bold green)"
error_symbol = "[>](bold red)"
vimcmd_symbol = "[<](bold purple)"
[git_branch]
format = "[$branch]($style)"
style = "bright-black"
style = "bold pink"
[git_status]
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
style = "cyan"
conflicted = ""
untracked = ""
modified = ""
staged = ""
renamed = ""
deleted = ""
style = "red"
stashed = "≡"
[git_state]
@@ -44,3 +38,16 @@ style = "yellow"
[python]
format = "[$virtualenv]($style) "
style = "bright-black"
[palettes.dracula]
background = "#282a36"
current_line = "#44475a"
foreground = "#f8f8f2"
comment = "#6272a4"
cyan = "#8be9fd"
green = "#50fa7b"
orange = "#ffb86c"
pink = "#ff79c6"
purple = "#bd93f9"
red = "#ff5555"
yellow = "#f1fa8c"

View File

@@ -32,11 +32,13 @@ bind -n S-Right next-window
bind -n M-H previous-window
bind -n M-L next-window
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'dracula/tmux'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @tpm_plugins '
tmux-plugins/tpm
tmux-plugins/tmux-sensible
dracula/tmux
christoomey/vim-tmux-navigator
tmux-plugins/tmux-yank
'
# available plugins: battery, cpu-usage, git, gpu-usage, ram-usage, tmux-ram-usage, network, network-bandwidth, network-ping, ssh-session, attached-clients, network-vpn, weather, time, mpc, spotify-tui, playerctl, kubernetes-context, synchronize-panes
set -g @dracula-plugins "ram-usage time"
@@ -46,6 +48,7 @@ set -g @dracula-time-format "%F %R"
# set vi-mode
set-window-option -g mode-keys vi
# keybindings
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle