diff --git a/CONFIG/starship.toml b/CONFIG/starship.toml index f08a098..d0d5813 100644 --- a/CONFIG/starship.toml +++ b/CONFIG/starship.toml @@ -1,5 +1,5 @@ add_newline = true -right_format = """$cmd_duration""" +right_format = """$cmd_duration\n""" [line_break] disabled = false @@ -8,17 +8,25 @@ disabled = false disabled = false [cmd_duration] -min_time = 1000 -format = 'underwent [$duration](bold yellow)' -show_milliseconds = true +disabled = true [directory] truncation_length = 5 truncate_to_repo = false -truncation_symbol = '…/' +truncation_symbol = "…/" repo_root_style = "red" before_repo_root_style = "cyan" -repo_root_format = '[$before_root_path]($before_repo_root_style)[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style) ' +repo_root_format = """\ + [$before_root_path]\ + ($before_repo_root_style)\ + [$repo_root]\ + ($repo_root_style)\ + [$path]\ + ($style)\ + [$read_only]\ + ($read_only_style)\ + \ + """ [git_status] disabled = true diff --git a/CONFIG/tmux/tmux.conf b/CONFIG/tmux/tmux.conf index 482f479..8fffc2e 100644 --- a/CONFIG/tmux/tmux.conf +++ b/CONFIG/tmux/tmux.conf @@ -60,11 +60,6 @@ set -g set-titles on ###################### ### KEYBINDS ### ###################### -# Config that is very close to a i3 window manager's keybinding. - -# Set new prefix -# Note : you can press super key by set M. -# (tested with tty only) set -g prefix M-a # First remove *all* keybindings @@ -85,15 +80,15 @@ bind-key -n End send-keys "\033[F" # Copy mode bind c copy-mode - -# clipboard control bind p paste-buffer bind -T copy-mode-vi v send-keys -X begin-selection -bind -T copy-mode-vi y send-keys -X copy-selection-and-cancel +bind -T copy-mode-vi y send-keys -X copy-selection bind -T copy-mode-vi Enter send-keys -X copy-selection-and-cancel +bind -T copy-mode-vi V send-keys -X select-line +bind -T copy-mode-vi Escape send-keys -X clear-selection +bind -T copy-mode-vi q send-keys -X cancel +bind -T copy-mode-vi Y send-keys -X copy-end-of-line bind -T copy-mode-vi r send-keys -X rectangle-toggle -bind -T copy-mode-vi Escape send-keys -X cancel -bind -T copy-mode-vi q send-keys -X clear-selection # Rename window bind , command-prompt "rename-window %%" @@ -194,7 +189,6 @@ bind b send-keys -R \; clear-history \; send-keys Enter # various plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' -set -g @plugin 'tmux-plugins/tmux-yank' ######################