wip
This commit is contained in:
@@ -46,6 +46,7 @@ vim.keymap.set('n', '<leader><leader>', ":FzfLua files<CR>")
|
|||||||
vim.keymap.set('n', '<leader>gh', ":FzfLua helptags<CR>")
|
vim.keymap.set('n', '<leader>gh', ":FzfLua helptags<CR>")
|
||||||
vim.keymap.set('n', '<leader>gg', ":FzfLua live_grep<CR>")
|
vim.keymap.set('n', '<leader>gg', ":FzfLua live_grep<CR>")
|
||||||
vim.keymap.set('n', '<leader>xx', ":FzfLua diagnostics_workspace<CR>")
|
vim.keymap.set('n', '<leader>xx', ":FzfLua diagnostics_workspace<CR>")
|
||||||
|
vim.keymap.set('n', '<leader>po', ":PolydevOpen<CR>")
|
||||||
vim.lsp.enable({ "lua_ls", "clangd" })
|
vim.lsp.enable({ "lua_ls", "clangd" })
|
||||||
|
|
||||||
require('mini.pairs').setup()
|
require('mini.pairs').setup()
|
||||||
|
|||||||
+59
-23
@@ -1,34 +1,70 @@
|
|||||||
format = """
|
format = """
|
||||||
|
$username\
|
||||||
|
$hostname\
|
||||||
$directory\
|
$directory\
|
||||||
$git_branch\
|
$git_branch\
|
||||||
$git_state\
|
$git_state\
|
||||||
|
$git_status\
|
||||||
|
$cmd_duration\
|
||||||
|
$line_break\
|
||||||
$character"""
|
$character"""
|
||||||
|
|
||||||
add_newline = false
|
# add_newline = false
|
||||||
palette = "everforest"
|
# palette = "everforest"
|
||||||
|
|
||||||
[directory]
|
[directory]
|
||||||
style = "fg:orange"
|
style = "blue"
|
||||||
read_only_style = "fg:orange"
|
|
||||||
truncation_length = 3
|
|
||||||
truncation_symbol = "…/"
|
|
||||||
format = "[ $path]($style)[$read_only]($read_only_style) "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
style = "fg:green"
|
|
||||||
symbol = " "
|
|
||||||
format = "[$symbol$branch(:$remote_branch)]($style) "
|
|
||||||
|
|
||||||
[character]
|
[character]
|
||||||
success_symbol = '[>](bold green)'
|
success_symbol = "[❯](purple)"
|
||||||
error_symbol = '[?](bold red)'
|
error_symbol = "[❯](red)"
|
||||||
|
vimcmd_symbol = "[❮](green)"
|
||||||
|
|
||||||
[palettes.everforest]
|
[git_branch]
|
||||||
fg = "#d3c6aa"
|
format = "[$branch]($style)"
|
||||||
red = "#e67e80"
|
style = "bright-black"
|
||||||
orange = "#e69875"
|
|
||||||
yellow = "#dbbc7f"
|
[git_status]
|
||||||
green = "#a7c080"
|
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
|
||||||
aqua = "#83c092"
|
style = "cyan"
|
||||||
blue = "#7fbbb3"
|
conflicted = ""
|
||||||
purple = "#d699b6"
|
untracked = ""
|
||||||
|
modified = ""
|
||||||
|
staged = ""
|
||||||
|
renamed = ""
|
||||||
|
deleted = ""
|
||||||
|
stashed = "≡"
|
||||||
|
|
||||||
|
[git_state]
|
||||||
|
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
||||||
|
style = "bright-black"
|
||||||
|
|
||||||
|
[cmd_duration]
|
||||||
|
format = "[$duration]($style) "
|
||||||
|
style = "yellow"
|
||||||
|
|
||||||
|
# [directory]
|
||||||
|
# style = "fg:orange"
|
||||||
|
# read_only_style = "fg:orange"
|
||||||
|
# truncation_length = 3
|
||||||
|
# truncation_symbol = "…/"
|
||||||
|
# format = "[ $path]($style)[$read_only]($read_only_style) "
|
||||||
|
#
|
||||||
|
# [git_branch]
|
||||||
|
# style = "fg:green"
|
||||||
|
# symbol = " "
|
||||||
|
# format = "[$symbol$branch(:$remote_branch)]($style) "
|
||||||
|
#
|
||||||
|
# [character]
|
||||||
|
# success_symbol = '[>](bold green)'
|
||||||
|
# error_symbol = '[?](bold red)'
|
||||||
|
#
|
||||||
|
# [palettes.everforest]
|
||||||
|
# fg = "#d3c6aa"
|
||||||
|
# red = "#e67e80"
|
||||||
|
# orange = "#e69875"
|
||||||
|
# yellow = "#dbbc7f"
|
||||||
|
# green = "#a7c080"
|
||||||
|
# aqua = "#83c092"
|
||||||
|
# blue = "#7fbbb3"
|
||||||
|
# purple = "#d699b6"
|
||||||
|
|||||||
@@ -6,9 +6,13 @@ set -g focus-events on
|
|||||||
set-option -g default-terminal "tmux-256color"
|
set-option -g default-terminal "tmux-256color"
|
||||||
set-option -as terminal-features ',xterm-ghostty:RGB'
|
set-option -as terminal-features ',xterm-ghostty:RGB'
|
||||||
set-option -g default-shell $SHELL
|
set-option -g default-shell $SHELL
|
||||||
set -g status-style 'fg=#d3c6aa bg=default'
|
|
||||||
|
set -g status-style 'fg=#859289 bg=default'
|
||||||
set -g status-left-length 100
|
set -g status-left-length 100
|
||||||
set -g status-left "#[fg=#e69875, bold] #S #[fg=#d3c6aa,nobold]| "
|
set -g status-right-length 20
|
||||||
|
set -g status-left "#[fg=#7fbbb3, bold] #S #[fg=#859289,nobold]- "
|
||||||
|
set -g status-right "#[fg=#859289] %m-%d-%Y #[fg=#7fbbb3] %H:%M"
|
||||||
|
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
set -g pane-base-index 1
|
set -g pane-base-index 1
|
||||||
set -g detach-on-destroy off
|
set -g detach-on-destroy off
|
||||||
|
|||||||
@@ -2,6 +2,12 @@ HISTFILE=~/.zsh_history
|
|||||||
HISTSIZE=100
|
HISTSIZE=100
|
||||||
SAVEHIST=200
|
SAVEHIST=200
|
||||||
|
|
||||||
|
bindkey "^[[1;5C" forward-word
|
||||||
|
bindkey "^[[1;5D" backward-word
|
||||||
|
bindkey "^[[3~" delete-char
|
||||||
|
bindkey "^[[5~" up-line
|
||||||
|
bindkey "^[[6~" down-line
|
||||||
|
|
||||||
source "$HOME/.local/share/zinit/zinit.git/zinit.zsh"
|
source "$HOME/.local/share/zinit/zinit.git/zinit.zsh"
|
||||||
|
|
||||||
zinit light zsh-users/zsh-autosuggestions
|
zinit light zsh-users/zsh-autosuggestions
|
||||||
|
|||||||
Reference in New Issue
Block a user