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

View File

@@ -3,34 +3,28 @@ $username\
$hostname\ $hostname\
$directory\ $directory\
$git_branch\ $git_branch\
$git_state\ $git_state $git_status\
$git_status\
$cmd_duration\ $cmd_duration\
$line_break\ $line_break\
$python\ $python\
$character""" $character"""
palette = "dracula"
[directory] [directory]
style = "blue" style = "blue"
[character] [character]
success_symbol = "[>](purple)" success_symbol = "[>](bold green)"
error_symbol = "[>](red)" error_symbol = "[>](bold red)"
vimcmd_symbol = "[<](green)" vimcmd_symbol = "[<](bold purple)"
[git_branch] [git_branch]
format = "[$branch]($style)" format = "[$branch]($style)"
style = "bright-black" style = "bold pink"
[git_status] [git_status]
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)" style = "red"
style = "cyan"
conflicted = ""
untracked = ""
modified = ""
staged = ""
renamed = ""
deleted = ""
stashed = "≡" stashed = "≡"
[git_state] [git_state]
@@ -44,3 +38,16 @@ style = "yellow"
[python] [python]
format = "[$virtualenv]($style) " format = "[$virtualenv]($style) "
style = "bright-black" 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-H previous-window
bind -n M-L next-window bind -n M-L next-window
set -g @plugin 'tmux-plugins/tpm' set -g @tpm_plugins '
set -g @plugin 'tmux-plugins/tmux-sensible' tmux-plugins/tpm
set -g @plugin 'dracula/tmux' tmux-plugins/tmux-sensible
set -g @plugin 'christoomey/vim-tmux-navigator' dracula/tmux
set -g @plugin 'tmux-plugins/tmux-yank' 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 # 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" set -g @dracula-plugins "ram-usage time"
@@ -46,6 +48,7 @@ set -g @dracula-time-format "%F %R"
# set vi-mode # set vi-mode
set-window-option -g mode-keys vi set-window-option -g mode-keys vi
# keybindings # keybindings
bind-key -T copy-mode-vi v send-keys -X begin-selection 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 bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle