mirror of
				https://github.com/frebib/dotfiles.git
				synced 2024-06-14 12:57:23 +00:00 
			
		
		
		
	Compare commits
	
		
			3 Commits
		
	
	
		
			8f969737ed
			...
			7b418c2abc
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 7b418c2abc | |||
| 0fc023db91 | |||
| e17ebf0201 | 
| @@ -31,6 +31,10 @@ window: | ||||
|     x: 15 | ||||
|     y: 15 | ||||
|  | ||||
|  | ||||
|   # Spread additional padding evenly around the terminal content. | ||||
|   dynamic_padding: false | ||||
|  | ||||
|   # Window decorations | ||||
|   # | ||||
|   # Values for `decorations`: | ||||
| @@ -38,6 +42,17 @@ window: | ||||
|   #     - none: Neither borders nor title bar | ||||
|   decorations: full | ||||
|  | ||||
|   # Startup Mode (changes require restart) | ||||
|   # | ||||
|   # Values for `startup_mode`: | ||||
|   #   - Windowed | ||||
|   #   - Maximized | ||||
|   #   - Fullscreen | ||||
|   # | ||||
|   # Values for `startup_mode` (macOS only): | ||||
|   #   - SimpleFullscreen | ||||
|   startup_mode: Windowed | ||||
|  | ||||
| scrolling: | ||||
|   # Maximum number of lines in the scrollback buffer. | ||||
|   # Specifying '0' will disable scrolling. | ||||
| @@ -66,7 +81,7 @@ scrolling: | ||||
| # Some applications, like Emacs, rely on knowing about the width of a tab. | ||||
| # To prevent unexpected behavior in these applications, it's also required to | ||||
| # change the `it` value in terminfo when altering this setting. | ||||
| tabspaces: 8 | ||||
| tabspaces: 4 | ||||
|  | ||||
| # Font configuration (changes require restart) | ||||
| # | ||||
| @@ -120,6 +135,7 @@ font: | ||||
|     x: 0 | ||||
|     y: 0 | ||||
|  | ||||
| debug: | ||||
|   # Display the time it takes to redraw each frame. | ||||
|   render_timer: false | ||||
|  | ||||
| @@ -148,6 +164,15 @@ colors: | ||||
|     text:       '0xeceff1' | ||||
|     cursor:     '0x5294e2' | ||||
|  | ||||
|   # Selection colors | ||||
|   # | ||||
|   # Colors which should be used to draw the selection area. If selection | ||||
|   # background is unset, selection color will be the inverse of the cell colors. | ||||
|   # If only text is unset the cell text color will remain the same. | ||||
|   selection: | ||||
|     background: '0x5294e2' | ||||
|   #  text: '0xeaeaea' | ||||
|  | ||||
|   # Normal colors | ||||
|   normal: | ||||
|     black:      '0x333638' | ||||
| @@ -367,9 +392,9 @@ key_bindings: | ||||
|   - { key: Q,        mods: Command, action: Quit                         } | ||||
|   - { key: W,        mods: Command, action: Quit                         } | ||||
|   - { key: Insert,   mods: Shift,   action: PasteSelection               } | ||||
|   - { key: Key0,     mods: Control, action: ResetFontSize                } | ||||
|   - { key: Equals,   mods: Control, action: IncreaseFontSize             } | ||||
|   - { key: Subtract, mods: Control, action: DecreaseFontSize             } | ||||
|   - { key: Equals,   mods: Control, action: ResetFontSize                } | ||||
|   - { key: Add,      mods: Control|Shift,    action: IncreaseFontSize    } | ||||
|   - { key: Subtract, mods: Control|Shift,    action: DecreaseFontSize    } | ||||
|   - { key: Home,                    chars: "\x1bOH",   mode: AppCursor   } | ||||
|   - { key: Home,                    chars: "\x1b[H",   mode: ~AppCursor  } | ||||
|   - { key: End,                     chars: "\x1bOF",   mode: AppCursor   } | ||||
|   | ||||
| @@ -80,6 +80,7 @@ bindkey '^[^[[3~' x-bash-backward-kill-word | ||||
| bindkey '^[^[[3^' x-bash-backward-kill-word | ||||
| bindkey '^[[A' fzf-history-widget                   # Up (fzf) | ||||
| bindkey '^[[B' fzf-history-widget                   # Down (fzf) | ||||
| bindkey '^F'   fzf-file-widget                      # Ctrl+F file search (fzf) | ||||
| bindkey '^[[1;3A' history-substring-search-up       # Alt+Up (hsh) | ||||
| bindkey '^[[1;3B' history-substring-search-down     # Alt+Down (hsh) | ||||
|  | ||||
| @@ -141,6 +142,13 @@ ZSH_HIGHLIGHT_STYLES[redirection]='fg=cyan,bold' | ||||
|  | ||||
| source "$DOTFILES/aliases" | ||||
|  | ||||
| # Source secret keys and values into environment | ||||
| if [ -f "$XDG_CONFIG_HOME/secrets" ]; then | ||||
|     set -o allexport | ||||
|     source $XDG_CONFIG_HOME/secrets | ||||
|     set +o allexport | ||||
| fi | ||||
|  | ||||
| # Load some manual plugins | ||||
| source "$ZSH_DIR/plugins/sudo.zsh" | ||||
| source "$ZSH_DIR/plugins/fish-theme.zsh" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user