Remove things I don't use.
This commit is contained in:
parent
d951ecf1b8
commit
86cf7a828e
|
|
@ -1,613 +0,0 @@
|
||||||
# Shawn's Configuration for Alacritty, the GPU enhanced terminal emulator.
|
|
||||||
# References:
|
|
||||||
# https://github.com/jwilm/alacritty
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
# Set environment variables
|
|
||||||
env:
|
|
||||||
TERM: alacritty
|
|
||||||
PAGER: nvim
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
# Background opacity #ant-transparency
|
|
||||||
background_opacity: 0.95
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
window:
|
|
||||||
padding:
|
|
||||||
x: 10
|
|
||||||
y: 10
|
|
||||||
dynamic_padding: true
|
|
||||||
decorations: full
|
|
||||||
startup_mode: Fullscreen
|
|
||||||
dynamic_title: true
|
|
||||||
|
|
||||||
scrolling:
|
|
||||||
# Maximum number of lines in the scrollback buffer.
|
|
||||||
# Specifying '0' will disable scrolling.
|
|
||||||
history: 10000
|
|
||||||
|
|
||||||
# Scrolling distance multiplier.
|
|
||||||
# Seems to not work behind tmux
|
|
||||||
# Max value is 255
|
|
||||||
multiplier: 3
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
# Font configuration
|
|
||||||
font:
|
|
||||||
normal:
|
|
||||||
family: "Hack Nerd Font"
|
|
||||||
style: "Book"
|
|
||||||
bold:
|
|
||||||
family: "Hack Nerd Font"
|
|
||||||
style: "Bold"
|
|
||||||
italic:
|
|
||||||
family: "Hack Nerd Font"
|
|
||||||
style: Italic
|
|
||||||
bold_italic:
|
|
||||||
family: "Hack Nerd Font"
|
|
||||||
style: "Bold Italic"
|
|
||||||
size: 11.0
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
# Colors (Blood Moon)
|
|
||||||
draw_bold_text_with_bright_colors: false
|
|
||||||
colors:
|
|
||||||
# Default colors
|
|
||||||
primary:
|
|
||||||
background: '#10100E'
|
|
||||||
foreground: '#C6C6C4'
|
|
||||||
# dim_foreground: '#828482'
|
|
||||||
# bright_foreground: '#eaeaea'
|
|
||||||
|
|
||||||
# Normal colors
|
|
||||||
normal:
|
|
||||||
black: '#10100E'
|
|
||||||
red: '#C40233'
|
|
||||||
green: '#009F6B'
|
|
||||||
yellow: '#FFD700'
|
|
||||||
blue: '#0087BD'
|
|
||||||
magenta: '#9A4EAE'
|
|
||||||
cyan: '#20B2AA'
|
|
||||||
white: '#C6C6C4'
|
|
||||||
|
|
||||||
# Bright colors
|
|
||||||
bright:
|
|
||||||
black: '#696969'
|
|
||||||
red: '#FF2400'
|
|
||||||
green: '#03C03C'
|
|
||||||
yellow: '#FDFF00'
|
|
||||||
blue: '#007FFF'
|
|
||||||
magenta: '#FF1493'
|
|
||||||
cyan: '#00CCCC'
|
|
||||||
white: '#FFFAFA'
|
|
||||||
|
|
||||||
# Dim colors
|
|
||||||
dim:
|
|
||||||
black: '#131415'
|
|
||||||
red: '#864343'
|
|
||||||
green: '#777c44'
|
|
||||||
yellow: '#9e824c'
|
|
||||||
blue: '#556a7d'
|
|
||||||
magenta: '#75617b'
|
|
||||||
cyan: '#5b7d78'
|
|
||||||
white: '#828482'
|
|
||||||
|
|
||||||
# Indexed Colors
|
|
||||||
# The indexed colors include all colors from 16 to 256.
|
|
||||||
# When these are not set, they're filled with sensible defaults.
|
|
||||||
# Example:
|
|
||||||
indexed_colors:
|
|
||||||
- { index: 16, color: '#fbaabf' }
|
|
||||||
|
|
||||||
# Cursor Colors
|
|
||||||
# Allowed values are CellForeground and CellBackground, which reference the
|
|
||||||
# affected cell, or hexadecimal colors like #ff00ff.
|
|
||||||
#cursor:
|
|
||||||
# text: CellBackground
|
|
||||||
# cursor: CellForeground
|
|
||||||
|
|
||||||
# Colors for the cursor when the vi mode is active.
|
|
||||||
#vi_mode_cursor:
|
|
||||||
# text: CellBackground
|
|
||||||
# cursor: CellForeground
|
|
||||||
|
|
||||||
# Selection colors
|
|
||||||
#selection:
|
|
||||||
# text: CellBackground
|
|
||||||
# background: CellForeground
|
|
||||||
|
|
||||||
# Search colors
|
|
||||||
# Colors used for the search bar and match highlighting.
|
|
||||||
#search:
|
|
||||||
#matches:
|
|
||||||
# foreground: '#000000'
|
|
||||||
# background: '#ffffff'
|
|
||||||
|
|
||||||
#bar:
|
|
||||||
# background: '#c5c8c6'
|
|
||||||
# foreground: '#1d1f21'
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
# Bell
|
|
||||||
# The bell is rung every time the BEL control character is received.
|
|
||||||
#
|
|
||||||
# Visual Bell Animation
|
|
||||||
# Animation effect for flashing the screen when the visual bell is rung.
|
|
||||||
# Values for `animation`:
|
|
||||||
# - Ease
|
|
||||||
# - EaseOut
|
|
||||||
# - EaseOutSine
|
|
||||||
# - EaseOutQuad
|
|
||||||
# - EaseOutCubic
|
|
||||||
# - EaseOutQuart
|
|
||||||
# - EaseOutQuint
|
|
||||||
# - EaseOutExpo
|
|
||||||
# - EaseOutCirc
|
|
||||||
# - Linear
|
|
||||||
bell:
|
|
||||||
animation: EaseOutCirc
|
|
||||||
|
|
||||||
# Duration of the visual bell flash. A `duration` of `0` will disable the
|
|
||||||
# visual bell animation.
|
|
||||||
duration: 10
|
|
||||||
|
|
||||||
# Visual bell animation color.
|
|
||||||
color: '#ffffff'
|
|
||||||
|
|
||||||
# Bell Command
|
|
||||||
# This program is executed whenever the bell is rung.
|
|
||||||
# When set to `command: None`, no command will be executed.
|
|
||||||
# Example:
|
|
||||||
# command:
|
|
||||||
# program: notify-send
|
|
||||||
# args: ["Bell Rung!"]
|
|
||||||
#
|
|
||||||
#command: None
|
|
||||||
|
|
||||||
|
|
||||||
#selection:
|
|
||||||
# This string contains all characters that are used as separators for "semantic words" in Alacritty.
|
|
||||||
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
|
|
||||||
|
|
||||||
# When set to `true`, selected text will be copied to the primary clipboard.
|
|
||||||
#save_to_clipboard: false
|
|
||||||
|
|
||||||
#cursor:
|
|
||||||
# Cursor style
|
|
||||||
#
|
|
||||||
# Values for `style`:
|
|
||||||
# - ▇ Block
|
|
||||||
# - _ Underline
|
|
||||||
# - | Beam
|
|
||||||
#style: Block
|
|
||||||
|
|
||||||
# Vi mode cursor style
|
|
||||||
#
|
|
||||||
# If the vi mode cursor style is `None` or not specified, it will fall back to
|
|
||||||
# the style of the active value of the normal cursor.
|
|
||||||
#
|
|
||||||
# See `cursor.style` for available options.
|
|
||||||
#vi_mode_style: None
|
|
||||||
|
|
||||||
# If this is `true`, the cursor will be rendered as a hollow box when the
|
|
||||||
# window is not focused.
|
|
||||||
unfocused_hollow: true
|
|
||||||
|
|
||||||
# Thickness of the cursor relative to the cell width as floating point number
|
|
||||||
# from `0.0` to `1.0`.
|
|
||||||
# thickness: 0.15
|
|
||||||
|
|
||||||
# Live config reload (changes require restart)
|
|
||||||
live_config_reload: true
|
|
||||||
|
|
||||||
# Shell
|
|
||||||
#
|
|
||||||
# You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`.
|
|
||||||
# Entries in `shell.args` are passed unmodified as arguments to the shell.
|
|
||||||
#
|
|
||||||
# Default:
|
|
||||||
# - (macOS) /bin/bash --login
|
|
||||||
# - (Linux/BSD) user login shell
|
|
||||||
# - (Windows) powershell
|
|
||||||
shell:
|
|
||||||
program: /usr/bin/fish
|
|
||||||
# args:
|
|
||||||
# - --login
|
|
||||||
|
|
||||||
# Startup directory
|
|
||||||
#
|
|
||||||
# Directory the shell is started in. If this is unset, or `None`, the working
|
|
||||||
# directory of the parent process will be used.
|
|
||||||
#working_directory: None
|
|
||||||
|
|
||||||
# WinPTY backend (Windows only)
|
|
||||||
#
|
|
||||||
# Alacritty defaults to using the newer ConPTY backend if it is available,
|
|
||||||
# since it resolves a lot of bugs and is quite a bit faster. If it is not
|
|
||||||
# available, the WinPTY backend will be used instead.
|
|
||||||
#
|
|
||||||
# Setting this option to `true` makes Alacritty use the legacy WinPTY backend,
|
|
||||||
# even if the ConPTY backend is available.
|
|
||||||
#winpty_backend: false
|
|
||||||
|
|
||||||
# Send ESC (\x1b) before characters when alt is pressed.
|
|
||||||
#alt_send_esc: true
|
|
||||||
|
|
||||||
#mouse:
|
|
||||||
# Click settings
|
|
||||||
#
|
|
||||||
# The `double_click` and `triple_click` settings control the time
|
|
||||||
# alacritty should wait for accepting multiple clicks as one double
|
|
||||||
# or triple click.
|
|
||||||
#double_click: { threshold: 300 }
|
|
||||||
#triple_click: { threshold: 300 }
|
|
||||||
|
|
||||||
# If this is `true`, the cursor is temporarily hidden when typing.
|
|
||||||
#hide_when_typing: false
|
|
||||||
|
|
||||||
#url:
|
|
||||||
# URL launcher
|
|
||||||
#
|
|
||||||
# This program is executed when clicking on a text which is recognized as a URL.
|
|
||||||
# The URL is always added to the command as the last parameter.
|
|
||||||
#
|
|
||||||
# When set to `launcher: None`, URL launching will be disabled completely.
|
|
||||||
#
|
|
||||||
# Default:
|
|
||||||
# - (macOS) open
|
|
||||||
# - (Linux/BSD) xdg-open
|
|
||||||
# - (Windows) explorer
|
|
||||||
#launcher:
|
|
||||||
# program: xdg-open
|
|
||||||
# args: []
|
|
||||||
|
|
||||||
# URL modifiers
|
|
||||||
#
|
|
||||||
# These are the modifiers that need to be held down for opening URLs when clicking
|
|
||||||
# on them. The available modifiers are documented in the key binding section.
|
|
||||||
#modifiers: None
|
|
||||||
|
|
||||||
# Mouse bindings
|
|
||||||
#
|
|
||||||
# Mouse bindings are specified as a list of objects, much like the key
|
|
||||||
# bindings further below.
|
|
||||||
#
|
|
||||||
# To trigger mouse bindings when an application running within Alacritty captures the mouse, the
|
|
||||||
# `Shift` modifier is automatically added as a requirement.
|
|
||||||
#
|
|
||||||
# Each mouse binding will specify a:
|
|
||||||
#
|
|
||||||
# - `mouse`:
|
|
||||||
#
|
|
||||||
# - Middle
|
|
||||||
# - Left
|
|
||||||
# - Right
|
|
||||||
# - Numeric identifier such as `5`
|
|
||||||
#
|
|
||||||
# - `action` (see key bindings)
|
|
||||||
#
|
|
||||||
# And optionally:
|
|
||||||
#
|
|
||||||
# - `mods` (see key bindings)
|
|
||||||
#mouse_bindings:
|
|
||||||
# - { mouse: Middle, action: PasteSelection }
|
|
||||||
|
|
||||||
# Key bindings
|
|
||||||
#
|
|
||||||
# Key bindings are specified as a list of objects. For example, this is the
|
|
||||||
# default paste binding:
|
|
||||||
#
|
|
||||||
# `- { key: V, mods: Control|Shift, action: Paste }`
|
|
||||||
#
|
|
||||||
# Each key binding will specify a:
|
|
||||||
#
|
|
||||||
# - `key`: Identifier of the key pressed
|
|
||||||
#
|
|
||||||
# - A-Z
|
|
||||||
# - F1-F24
|
|
||||||
# - Key0-Key9
|
|
||||||
#
|
|
||||||
# A full list with available key codes can be found here:
|
|
||||||
# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants
|
|
||||||
#
|
|
||||||
# Instead of using the name of the keys, the `key` field also supports using
|
|
||||||
# the scancode of the desired key. Scancodes have to be specified as a
|
|
||||||
# decimal number. This command will allow you to display the hex scancodes
|
|
||||||
# for certain keys:
|
|
||||||
#
|
|
||||||
# `showkey --scancodes`.
|
|
||||||
#
|
|
||||||
# Then exactly one of:
|
|
||||||
#
|
|
||||||
# - `chars`: Send a byte sequence to the running application
|
|
||||||
#
|
|
||||||
# The `chars` field writes the specified string to the terminal. This makes
|
|
||||||
# it possible to pass escape sequences. To find escape codes for bindings
|
|
||||||
# like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside
|
|
||||||
# of tmux. Note that applications use terminfo to map escape sequences back
|
|
||||||
# to keys. It is therefore required to update the terminfo when changing an
|
|
||||||
# escape sequence.
|
|
||||||
#
|
|
||||||
# - `action`: Execute a predefined action
|
|
||||||
#
|
|
||||||
# - ToggleViMode
|
|
||||||
# - SearchForward
|
|
||||||
# Start searching toward the right of the search origin.
|
|
||||||
# - SearchBackward
|
|
||||||
# Start searching toward the left of the search origin.
|
|
||||||
# - Copy
|
|
||||||
# - Paste
|
|
||||||
# - IncreaseFontSize
|
|
||||||
# - DecreaseFontSize
|
|
||||||
# - ResetFontSize
|
|
||||||
# - ScrollPageUp
|
|
||||||
# - ScrollPageDown
|
|
||||||
# - ScrollHalfPageUp
|
|
||||||
# - ScrollHalfPageDown
|
|
||||||
# - ScrollLineUp
|
|
||||||
# - ScrollLineDown
|
|
||||||
# - ScrollToTop
|
|
||||||
# - ScrollToBottom
|
|
||||||
# - ClearHistory
|
|
||||||
# Remove the terminal's scrollback history.
|
|
||||||
# - Hide
|
|
||||||
# Hide the Alacritty window.
|
|
||||||
# - Minimize
|
|
||||||
# Minimize the Alacritty window.
|
|
||||||
# - Quit
|
|
||||||
# Quit Alacritty.
|
|
||||||
# - ToggleFullscreen
|
|
||||||
# - SpawnNewInstance
|
|
||||||
# Spawn a new instance of Alacritty.
|
|
||||||
# - ClearLogNotice
|
|
||||||
# Clear Alacritty's UI warning and error notice.
|
|
||||||
# - ClearSelection
|
|
||||||
# Remove the active selection.
|
|
||||||
# - ReceiveChar
|
|
||||||
# - None
|
|
||||||
#
|
|
||||||
# (`mode: Vi` only):
|
|
||||||
# - Open
|
|
||||||
# Open URLs at the cursor location with the launcher configured in `url.launcher`.
|
|
||||||
# - Up
|
|
||||||
# Move the vi mode cursor up by one line.
|
|
||||||
# - Down
|
|
||||||
# Move the vi mode cursor down by one line.
|
|
||||||
# - Left
|
|
||||||
# Move the vi mode cursor left by one character.
|
|
||||||
# - Right
|
|
||||||
# Move the vi mode cursor right by one character.
|
|
||||||
# - First
|
|
||||||
# Move the vi mode cursor to the start of the line, searching across newlines if it is already at the beginning.
|
|
||||||
# - Last
|
|
||||||
# Move the vi mode cursor to the end of the line, searching across newlines if it is already at the end.
|
|
||||||
# - FirstOccupied
|
|
||||||
# Move the vi mode cursor to the first non-empty cell in this line, searching across newlines if it is already at the first one.
|
|
||||||
# - High
|
|
||||||
# Move the vi mode cursor to the top of the screen.
|
|
||||||
# - Middle
|
|
||||||
# Move the vi mode cursor to the middle of the screen.
|
|
||||||
# - Low
|
|
||||||
# Move the vi mode cursor to the bottom of the screen.
|
|
||||||
# - SemanticLeft
|
|
||||||
# Move the vi mode cursor to the start of the previous semantically separated word.
|
|
||||||
# - SemanticRight
|
|
||||||
# Move the vi mode cursor to the start of the next semantically separated word.
|
|
||||||
# - SemanticLeftEnd
|
|
||||||
# Move the vi mode cursor to the end of the previous semantically separated word.
|
|
||||||
# - SemanticRightEnd
|
|
||||||
# Move the vi mode cursor to the end of the next semantically separated word.
|
|
||||||
# - WordLeft
|
|
||||||
# Move the vi mode cursor to the start of the previous whitespace separated word.
|
|
||||||
# - WordRight
|
|
||||||
# Move the vi mode cursor to the start of the next whitespace separated word.
|
|
||||||
# - WordLeftEnd
|
|
||||||
# Move the vi mode cursor to the end of the previous whitespace separated word.
|
|
||||||
# - WordRightEnd
|
|
||||||
# Move the vi mode cursor to the end of the next whitespace separated word.
|
|
||||||
# - Bracket
|
|
||||||
# Move the vi mode cursor to the next character that matches the bracket at the cursor's
|
|
||||||
# current location.
|
|
||||||
# - ToggleNormalSelection
|
|
||||||
# - ToggleLineSelection
|
|
||||||
# - ToggleBlockSelection
|
|
||||||
# - ToggleSemanticSelection
|
|
||||||
# Toggle semantic selection based on `selection.semantic_escape_chars`.
|
|
||||||
# - SearchNext
|
|
||||||
# Jump to the beginning of the next match.
|
|
||||||
# - SearchPrevious
|
|
||||||
# Jump to the beginning of the previous match.
|
|
||||||
# - SearchStart
|
|
||||||
# Jump to the next start of a match to the left of the vi mode cursor.
|
|
||||||
# - SearchEnd
|
|
||||||
# Jump to the next end of a match to the left of the vi mode cursor.
|
|
||||||
#
|
|
||||||
# (macOS only):
|
|
||||||
# - ToggleSimpleFullscreen
|
|
||||||
# Enter fullscreen without occupying another space.
|
|
||||||
#
|
|
||||||
# (Linux/BSD only):
|
|
||||||
# - CopySelection
|
|
||||||
# Copy from the selection buffer.
|
|
||||||
# - PasteSelection
|
|
||||||
# Paste from the selection buffer.
|
|
||||||
#
|
|
||||||
# - `command`: Fork and execute a specified command plus arguments
|
|
||||||
#
|
|
||||||
# The `command` field must be a map containing a `program` string and an
|
|
||||||
# `args` array of command line parameter strings. For example:
|
|
||||||
# `{ program: "alacritty", args: ["-e", "vttest"] }`
|
|
||||||
#
|
|
||||||
# And optionally:
|
|
||||||
#
|
|
||||||
# - `mods`: Key modifiers to filter binding actions
|
|
||||||
#
|
|
||||||
# - Command
|
|
||||||
# - Control
|
|
||||||
# - Option
|
|
||||||
# - Super
|
|
||||||
# - Shift
|
|
||||||
# - Alt
|
|
||||||
#
|
|
||||||
# Multiple `mods` can be combined using `|` like this:
|
|
||||||
# `mods: Control|Shift`.
|
|
||||||
# Whitespace and capitalization are relevant and must match the example.
|
|
||||||
#
|
|
||||||
# - `mode`: Indicate a binding for only specific terminal reported modes
|
|
||||||
#
|
|
||||||
# This is mainly used to send applications the correct escape sequences
|
|
||||||
# when in different modes.
|
|
||||||
#
|
|
||||||
# - AppCursor
|
|
||||||
# - AppKeypad
|
|
||||||
# - Alt
|
|
||||||
# - Vi
|
|
||||||
#
|
|
||||||
# A `~` operator can be used before a mode to apply the binding whenever
|
|
||||||
# the mode is *not* active, e.g. `~Alt`.
|
|
||||||
#
|
|
||||||
# Bindings are always filled by default, but will be replaced when a new
|
|
||||||
# binding with the same triggers is defined. To unset a default binding, it can
|
|
||||||
# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for
|
|
||||||
# a no-op if you do not wish to receive input characters for that binding.
|
|
||||||
#
|
|
||||||
# If the same trigger is assigned to multiple actions, all of them are executed
|
|
||||||
# in the order they were defined in.
|
|
||||||
#key_bindings:
|
|
||||||
#- { key: Paste, action: Paste }
|
|
||||||
#- { key: Copy, action: Copy }
|
|
||||||
#- { key: L, mods: Control, action: ClearLogNotice }
|
|
||||||
#- { key: L, mods: Control, mode: ~Vi, chars: "\x0c" }
|
|
||||||
#- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, }
|
|
||||||
#- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown }
|
|
||||||
#- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop, }
|
|
||||||
#- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
|
|
||||||
|
|
||||||
# Vi Mode
|
|
||||||
#- { key: Space, mods: Shift|Control, mode: Vi, action: ScrollToBottom }
|
|
||||||
#- { key: Space, mods: Shift|Control, action: ToggleViMode }
|
|
||||||
#- { key: Escape, mode: Vi, action: ClearSelection }
|
|
||||||
#- { key: I, mode: Vi, action: ScrollToBottom }
|
|
||||||
#- { key: I, mode: Vi, action: ToggleViMode }
|
|
||||||
#- { key: C, mods: Control, mode: Vi, action: ToggleViMode }
|
|
||||||
#- { key: Y, mods: Control, mode: Vi, action: ScrollLineUp }
|
|
||||||
#- { key: E, mods: Control, mode: Vi, action: ScrollLineDown }
|
|
||||||
#- { key: G, mode: Vi, action: ScrollToTop }
|
|
||||||
#- { key: G, mods: Shift, mode: Vi, action: ScrollToBottom }
|
|
||||||
#- { key: B, mods: Control, mode: Vi, action: ScrollPageUp }
|
|
||||||
#- { key: F, mods: Control, mode: Vi, action: ScrollPageDown }
|
|
||||||
#- { key: U, mods: Control, mode: Vi, action: ScrollHalfPageUp }
|
|
||||||
#- { key: D, mods: Control, mode: Vi, action: ScrollHalfPageDown }
|
|
||||||
#- { key: Y, mode: Vi, action: Copy }
|
|
||||||
#- { key: Y, mode: Vi, action: ClearSelection }
|
|
||||||
#- { key: Copy, mode: Vi, action: ClearSelection }
|
|
||||||
#- { key: V, mode: Vi, action: ToggleNormalSelection }
|
|
||||||
#- { key: V, mods: Shift, mode: Vi, action: ToggleLineSelection }
|
|
||||||
#- { key: V, mods: Control, mode: Vi, action: ToggleBlockSelection }
|
|
||||||
#- { key: V, mods: Alt, mode: Vi, action: ToggleSemanticSelection }
|
|
||||||
#- { key: Return, mode: Vi, action: Open }
|
|
||||||
#- { key: K, mode: Vi, action: Up }
|
|
||||||
#- { key: J, mode: Vi, action: Down }
|
|
||||||
#- { key: H, mode: Vi, action: Left }
|
|
||||||
#- { key: L, mode: Vi, action: Right }
|
|
||||||
#- { key: Up, mode: Vi, action: Up }
|
|
||||||
#- { key: Down, mode: Vi, action: Down }
|
|
||||||
#- { key: Left, mode: Vi, action: Left }
|
|
||||||
#- { key: Right, mode: Vi, action: Right }
|
|
||||||
#- { key: Key0, mode: Vi, action: First }
|
|
||||||
#- { key: Key4, mods: Shift, mode: Vi, action: Last }
|
|
||||||
#- { key: Key6, mods: Shift, mode: Vi, action: FirstOccupied }
|
|
||||||
#- { key: H, mods: Shift, mode: Vi, action: High }
|
|
||||||
#- { key: M, mods: Shift, mode: Vi, action: Middle }
|
|
||||||
#- { key: L, mods: Shift, mode: Vi, action: Low }
|
|
||||||
#- { key: B, mode: Vi, action: SemanticLeft }
|
|
||||||
#- { key: W, mode: Vi, action: SemanticRight }
|
|
||||||
#- { key: E, mode: Vi, action: SemanticRightEnd }
|
|
||||||
#- { key: B, mods: Shift, mode: Vi, action: WordLeft }
|
|
||||||
#- { key: W, mods: Shift, mode: Vi, action: WordRight }
|
|
||||||
#- { key: E, mods: Shift, mode: Vi, action: WordRightEnd }
|
|
||||||
#- { key: Key5, mods: Shift, mode: Vi, action: Bracket }
|
|
||||||
#- { key: Slash, mode: Vi, action: SearchForward }
|
|
||||||
#- { key: Slash, mods: Shift, mode: Vi, action: SearchBackward }
|
|
||||||
#- { key: N, mode: Vi, action: SearchNext }
|
|
||||||
#- { key: N, mods: Shift, mode: Vi, action: SearchPrevious }
|
|
||||||
|
|
||||||
# (Windows, Linux, and BSD only)
|
|
||||||
#- { key: V, mods: Control|Shift, action: Paste }
|
|
||||||
#- { key: C, mods: Control|Shift, action: Copy }
|
|
||||||
#- { key: F, mods: Control|Shift, action: SearchForward }
|
|
||||||
#- { key: B, mods: Control|Shift, action: SearchBackward }
|
|
||||||
#- { key: C, mods: Control|Shift, mode: Vi, action: ClearSelection }
|
|
||||||
#- { key: Insert, mods: Shift, action: PasteSelection }
|
|
||||||
#- { key: Key0, mods: Control, action: ResetFontSize }
|
|
||||||
#- { key: Equals, mods: Control, action: IncreaseFontSize }
|
|
||||||
#- { key: Add, mods: Control, action: IncreaseFontSize }
|
|
||||||
#- { key: Subtract, mods: Control, action: DecreaseFontSize }
|
|
||||||
#- { key: Minus, mods: Control, action: DecreaseFontSize }
|
|
||||||
|
|
||||||
# (Windows only)
|
|
||||||
#- { key: Return, mods: Alt, action: ToggleFullscreen }
|
|
||||||
|
|
||||||
# (macOS only)
|
|
||||||
#- { key: K, mods: Command, mode: ~Vi, chars: "\x0c" }
|
|
||||||
#- { key: Key0, mods: Command, action: ResetFontSize }
|
|
||||||
#- { key: Equals, mods: Command, action: IncreaseFontSize }
|
|
||||||
#- { key: Add, mods: Command, action: IncreaseFontSize }
|
|
||||||
#- { key: Minus, mods: Command, action: DecreaseFontSize }
|
|
||||||
#- { key: K, mods: Command, action: ClearHistory }
|
|
||||||
#- { key: V, mods: Command, action: Paste }
|
|
||||||
#- { key: C, mods: Command, action: Copy }
|
|
||||||
#- { key: C, mods: Command, mode: Vi, action: ClearSelection }
|
|
||||||
#- { key: H, mods: Command, action: Hide }
|
|
||||||
#- { key: M, mods: Command, action: Minimize }
|
|
||||||
#- { key: Q, mods: Command, action: Quit }
|
|
||||||
#- { key: W, mods: Command, action: Quit }
|
|
||||||
#- { key: N, mods: Command, action: SpawnNewInstance }
|
|
||||||
#- { key: F, mods: Command|Control, action: ToggleFullscreen }
|
|
||||||
#- { key: F, mods: Command, action: SearchForward }
|
|
||||||
#- { key: B, mods: Command, action: SearchBackward }
|
|
||||||
|
|
||||||
#debug:
|
|
||||||
# Display the time it takes to redraw each frame.
|
|
||||||
#render_timer: false
|
|
||||||
|
|
||||||
# Keep the log file after quitting Alacritty.
|
|
||||||
#persistent_logging: false
|
|
||||||
|
|
||||||
# Log level
|
|
||||||
#
|
|
||||||
# Values for `log_level`:
|
|
||||||
# - None
|
|
||||||
# - Error
|
|
||||||
# - Warn
|
|
||||||
# - Info
|
|
||||||
# - Debug
|
|
||||||
# - Trace
|
|
||||||
#log_level: Warn
|
|
||||||
|
|
||||||
# Print all received window events.
|
|
||||||
#print_events: false
|
|
||||||
# colors:
|
|
||||||
# primary:
|
|
||||||
# background: '0x000000'
|
|
||||||
# foreground: '0xD8DEE9'
|
|
||||||
# cursor:
|
|
||||||
# text: '0x2E3440'
|
|
||||||
# cursor: '0xD8DEE9'
|
|
||||||
# normal:
|
|
||||||
# black: '0x3B4252'
|
|
||||||
# red: '0xBF616A'
|
|
||||||
# green: '0xA3BE8C'
|
|
||||||
# yellow: '0xEBCB8B'
|
|
||||||
# blue: '0x81A1C1'
|
|
||||||
# magenta: '0xB48EAD'
|
|
||||||
# cyan: '0x88C0D0'
|
|
||||||
# white: '0xE5E9F0'
|
|
||||||
# bright:
|
|
||||||
# black: '0x4C566A'
|
|
||||||
# red: '0xBF616A'
|
|
||||||
# green: '0xA3BE8C'
|
|
||||||
# yellow: '0xEBCB8B'
|
|
||||||
# blue: '0x81A1C1'
|
|
||||||
# magenta: '0xB48EAD'
|
|
||||||
# cyan: '0x8FBCBB'
|
|
||||||
# white: '0xECEFF4'
|
|
||||||
# #
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
@ -1,101 +0,0 @@
|
||||||
# This is a standard python config file
|
|
||||||
# Valid values can be True, False, integer numbers, strings
|
|
||||||
# By default bpython will look for $XDG_CONFIG_HOME/bpython/config
|
|
||||||
# ($XDG_CONFIG_HOME defaults to ~/.config) or you can specify a file with the
|
|
||||||
# --config option on the command line
|
|
||||||
#
|
|
||||||
# see http://docs.bpython-interpreter.org/configuration.html
|
|
||||||
# for all configurable options
|
|
||||||
|
|
||||||
# General section tag
|
|
||||||
[general]
|
|
||||||
|
|
||||||
# Display the autocomplete list as you type (default: True).
|
|
||||||
# When this is off, you can hit tab to see the suggestions.
|
|
||||||
# auto_display_list = True
|
|
||||||
|
|
||||||
# Syntax highlighting as you type (default: True).
|
|
||||||
# syntax = True
|
|
||||||
|
|
||||||
# Display the arg spec (list of arguments) for callables,
|
|
||||||
# when possible (default: True).
|
|
||||||
# arg_spec = True
|
|
||||||
|
|
||||||
# History file (default: ~/.pythonhist):
|
|
||||||
# hist_file = ~/.pythonhist
|
|
||||||
|
|
||||||
# Number of lines to store in history (set to 0 to disable) (default: 100):
|
|
||||||
# hist_length = 100
|
|
||||||
|
|
||||||
# Soft tab size (default: 4, see pep-8):
|
|
||||||
# tab_length = 4
|
|
||||||
|
|
||||||
# Color schemes should be put in $XDG_CONFIG_HOME/bpython/ e.g. to use the theme
|
|
||||||
# $XDG_CONFIG_HOME/bpython/foo.theme set color_scheme = foo. Leave blank or set
|
|
||||||
# to "default" to use the default theme
|
|
||||||
color_scheme = ginyu
|
|
||||||
|
|
||||||
# External editor to use for editing the current line, block, or full history
|
|
||||||
# Examples: vi (vim)
|
|
||||||
# code --wait (VS Code) - in VS Code use the command pallete to:
|
|
||||||
# Shell Command: Install 'code' command in PATH
|
|
||||||
# atom -nw (Atom)
|
|
||||||
# Default is to try $EDITOR and $VISUAL, then vi - but if you uncomment
|
|
||||||
# the line below that will take precedence
|
|
||||||
# editor = vi
|
|
||||||
|
|
||||||
# Whether to append .py to the filename while saving session to a file.
|
|
||||||
# (default: False)
|
|
||||||
# save_append_py = False
|
|
||||||
|
|
||||||
# The name of a helper executable that should perform pastebin upload on
|
|
||||||
# bpython's behalf. If unset, bpython uploads pastes to bpaste.net. (default: )
|
|
||||||
#pastebin_helper = gist.py
|
|
||||||
|
|
||||||
# How long an undo must be expected to take before prompting for how
|
|
||||||
# many lines should be undone. Set to -1 to never prompt, or 0 to
|
|
||||||
# always prompt.
|
|
||||||
# single_undo_time = 1.0
|
|
||||||
|
|
||||||
# Enable autoreload feature by default (default: False).
|
|
||||||
# default_autoreload = False
|
|
||||||
|
|
||||||
[keyboard]
|
|
||||||
|
|
||||||
# All key bindings are shown commented out with their default binding
|
|
||||||
|
|
||||||
# pastebin = F8
|
|
||||||
# last_output = F9
|
|
||||||
# reimport = F6
|
|
||||||
# help = F1
|
|
||||||
# toggle_file_watch = F5
|
|
||||||
# save = C-s
|
|
||||||
# undo = C-r
|
|
||||||
# redo = C-g
|
|
||||||
# up_one_line = C-p
|
|
||||||
# down_one_line = C-n
|
|
||||||
# cut_to_buffer = C-k
|
|
||||||
# search = C-o
|
|
||||||
# yank_from_buffer = C-y
|
|
||||||
# backspace = C-h
|
|
||||||
# clear_word = C-w
|
|
||||||
# clear_line = C-u
|
|
||||||
# clear_screen = C-l
|
|
||||||
# show_source = F2
|
|
||||||
# exit = C-d
|
|
||||||
# external_editor = F7
|
|
||||||
# edit_config = F3
|
|
||||||
reverse_incremental_search = C-r
|
|
||||||
# incremental_search = M-s
|
|
||||||
|
|
||||||
[curtsies]
|
|
||||||
|
|
||||||
# Allow the the completion and docstring box above the current line
|
|
||||||
# (default: False)
|
|
||||||
# list_above = False
|
|
||||||
|
|
||||||
# Enables two fish (the shell) style features:
|
|
||||||
# Previous line key will search for the current line (like reverse incremental
|
|
||||||
# search) and right arrow will complete the current line with the first match
|
|
||||||
# from history. (default: True)
|
|
||||||
# right_arrow_completion = True
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
||||||
# Each letter represents a colour marker:
|
|
||||||
# k, r, g, y, b, m, c, w, d
|
|
||||||
# which stands for:
|
|
||||||
# blacK, Red, Green, Yellow, Blue, Magenta, Cyan, White, Default
|
|
||||||
# Capital letters represent bold
|
|
||||||
# Copy to $XDG_CONFIG_HOME/bpython/foo.theme and set "color_scheme = foo" in
|
|
||||||
# $XDG_CONFIG_HOME/bpython/config ($XDG_CONFIG_HOME defaults to ~/.config)
|
|
||||||
|
|
||||||
[syntax]
|
|
||||||
keyword = y
|
|
||||||
name = c
|
|
||||||
comment = b
|
|
||||||
string = m
|
|
||||||
error = r
|
|
||||||
number = G
|
|
||||||
operator = Y
|
|
||||||
punctuation = y
|
|
||||||
token = C
|
|
||||||
paren = R
|
|
||||||
|
|
||||||
[interface]
|
|
||||||
# XXX: gnome-terminal appears to be braindead. The cursor will disappear unless
|
|
||||||
# you set the background colour to "d".
|
|
||||||
background = d
|
|
||||||
output = w
|
|
||||||
main = c
|
|
||||||
prompt = c
|
|
||||||
prompt_more = g
|
|
||||||
right_arrow_suggestion = w
|
|
||||||
|
|
||||||
|
|
@ -1,84 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
|
|
||||||
errecho() {
|
|
||||||
echo ${@} >&2
|
|
||||||
}
|
|
||||||
|
|
||||||
check_dir() {
|
|
||||||
DIR=${1}
|
|
||||||
|
|
||||||
[ -d ${DIR} ] ||
|
|
||||||
mkdir -p ${DIR} ||
|
|
||||||
(echo "Can't create directory: ${DIR}" && exit 1)
|
|
||||||
}
|
|
||||||
|
|
||||||
populate_file() {
|
|
||||||
FILE=${1}
|
|
||||||
|
|
||||||
# Don't try to overwrite existing file
|
|
||||||
test -e ${FILE} && return
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
cat > ${FILE} << EOF
|
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Selected files are stored here
|
|
||||||
FILES=\${@}
|
|
||||||
|
|
||||||
# You can interate over them one by one
|
|
||||||
for FILE in \${FILES}; do
|
|
||||||
echo \$FILE
|
|
||||||
done
|
|
||||||
|
|
||||||
# Or process them all at once
|
|
||||||
echo "\${FILES}"
|
|
||||||
EOF
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
## Starting point
|
|
||||||
|
|
||||||
FILE=${1}
|
|
||||||
MIME=`hunter -m $FILE`
|
|
||||||
STATUS=$?
|
|
||||||
|
|
||||||
|
|
||||||
# MIME detection failed, bail out unless type is base
|
|
||||||
[ $STATUS != 0 ] && [ $type != "uni" ] &&
|
|
||||||
echo $MIME &&
|
|
||||||
exit 1
|
|
||||||
|
|
||||||
# Laziy not using XGD here because of OSX
|
|
||||||
ACTDIR="$HOME/.config/hunter/actions/"
|
|
||||||
|
|
||||||
MIME_BASE=`echo $MIME | cut -d "/" -f 1`
|
|
||||||
MIME_SUB=`echo $MIME | cut -d "/" -f 2`
|
|
||||||
|
|
||||||
|
|
||||||
case $type in
|
|
||||||
uni)
|
|
||||||
AFILE="${ACTDIR}/${name}.sh"
|
|
||||||
check_dir "${ACTDIR}"
|
|
||||||
populate_file "${AFILE}"
|
|
||||||
$EDITOR "${AFILE}"
|
|
||||||
test -e "${AFILE}" && chmod +x "${AFILE}"
|
|
||||||
;;
|
|
||||||
base)
|
|
||||||
BASEDIR="${ACTDIR}/$MIME_BASE"
|
|
||||||
AFILE="${BASEDIR}/${name}.sh"
|
|
||||||
check_dir "${BASEDIR}"
|
|
||||||
populate_file "${AFILE}"
|
|
||||||
$EDITOR "${AFILE}"
|
|
||||||
test -e ${AFILE} && chmod +x "${ACTDIR}/$name"
|
|
||||||
;;
|
|
||||||
sub)
|
|
||||||
SUBDIR="${ACTDIR}/${MIME_BASE}/${MIME_SUB}"
|
|
||||||
AFILE="${SUBDIR}/${name}.sh"
|
|
||||||
check_dir ${SUBDIR}
|
|
||||||
populate_file "${AFILE}"
|
|
||||||
$EDITOR "${AFILE}"
|
|
||||||
test -e ${AFILE} && chmod+ +x ${AFILE}
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
which 7z >/dev/null && EXTRACTOR="7z x"
|
|
||||||
# Prefer aunpack
|
|
||||||
which aunpack >/dev/null && EXTRACTOR=aunpack
|
|
||||||
|
|
||||||
|
|
||||||
for file in "$@"; do
|
|
||||||
echo $EXTRACTOR "$file";
|
|
||||||
done
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
7z a $archive_name "$@"
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
exec htop
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
firefox "$@"
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
nano "$@"
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
exec mpv "$@"
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
FORMATS=`youtube-dl -F "$url"`
|
|
||||||
|
|
||||||
echo $FORMATS
|
|
||||||
|
|
||||||
echo $FORMATS | grep "251 " &&
|
|
||||||
youtube-dl -x -f 251 "$url" &&
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
echo $FORMATS | grep "171 " &&
|
|
||||||
youtube-dl -x -f 171 "$url" &&
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
exit 1
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
animation=on
|
|
||||||
show_hidden=off
|
|
||||||
select_cmd=find -type f | fzf -m
|
|
||||||
cd_cmd=find -type d | fzf
|
|
||||||
icons=off
|
|
||||||
ratios=20,30,49
|
|
||||||
media_autostart=off
|
|
||||||
media_mute=off
|
|
||||||
media_previewer=hunter-media
|
|
||||||
graphics=auto
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
function hunter() {
|
|
||||||
env hunter
|
|
||||||
test -e ~/.hunter_cwd &&
|
|
||||||
source ~/.hunter_cwd &&
|
|
||||||
rm ~/.hunter_cwd && cd $HUNTER_CWD
|
|
||||||
}
|
|
||||||
|
|
@ -1,109 +0,0 @@
|
||||||
[movement]
|
|
||||||
Up(1)=k, Up
|
|
||||||
Down(1)=j, Down
|
|
||||||
Left=b, Left
|
|
||||||
Right=f, Right
|
|
||||||
Top=<, Home
|
|
||||||
Bottom=>, End
|
|
||||||
Up(10)=K
|
|
||||||
Down(10)=J
|
|
||||||
PageUp=C-v, PageUp
|
|
||||||
PageDown=M-v, PageDown
|
|
||||||
|
|
||||||
[filebrowser]
|
|
||||||
Quit=q
|
|
||||||
QuitWithDir=Q
|
|
||||||
LeftColumnDown=]
|
|
||||||
LeftColumnUp=[
|
|
||||||
GotoHome=~
|
|
||||||
TurboCd=/
|
|
||||||
SelectExternal=M-Space
|
|
||||||
EnterDirExternal=M-/
|
|
||||||
RunInBackground=F
|
|
||||||
GotoPrevCwd=-
|
|
||||||
ShowBookmarks=`
|
|
||||||
AddBookmark=b
|
|
||||||
ShowProcesses=w
|
|
||||||
ShowLog=g
|
|
||||||
ShowQuickActions=a
|
|
||||||
RunSubshell=z
|
|
||||||
ToggleColumns=c
|
|
||||||
ExecCmd=!
|
|
||||||
|
|
||||||
[filelist]
|
|
||||||
Search=S
|
|
||||||
SearchNext=M-s
|
|
||||||
SearchPrev=M-S
|
|
||||||
Filter=C-f
|
|
||||||
Select=Space
|
|
||||||
InvertSelection=v
|
|
||||||
ClearSelection=V
|
|
||||||
FilterSelection=M-V
|
|
||||||
ToggleTag=t
|
|
||||||
ToggleHidden=h
|
|
||||||
ReverseSort=r
|
|
||||||
CycleSort=s
|
|
||||||
ToNextMtime=K
|
|
||||||
ToPrevMtime=k
|
|
||||||
ToggleDirsFirst=d
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[tabs]
|
|
||||||
NewTab=C-t
|
|
||||||
CloseTab=C-w
|
|
||||||
NextTab=Tab
|
|
||||||
PrevTab=BackTab
|
|
||||||
GotoTab(_)=F_
|
|
||||||
|
|
||||||
|
|
||||||
[media]
|
|
||||||
TogglePause=M-m
|
|
||||||
ToggleMute=M-M
|
|
||||||
SeekForward=M->
|
|
||||||
SeekBackward=M-<
|
|
||||||
|
|
||||||
[bookmarks]
|
|
||||||
GotoLastCwd=`
|
|
||||||
Goto(_)=_
|
|
||||||
Delete(_)=M-_
|
|
||||||
|
|
||||||
[processes]
|
|
||||||
Close=w, Esc
|
|
||||||
Remove=d
|
|
||||||
Kill=k
|
|
||||||
FollowOutput=f
|
|
||||||
ScrollOutputUp=C-p
|
|
||||||
ScrollOutputDown=C-n
|
|
||||||
ScrollOutputPageUp=C-V
|
|
||||||
ScrollOutputPageDown=C-v
|
|
||||||
ScrollOutputTop=C-<
|
|
||||||
ScrollOutputBottom=>
|
|
||||||
|
|
||||||
[minibuffer]
|
|
||||||
InsertChar(_)=_
|
|
||||||
InsertTab(_)=F_
|
|
||||||
Cancel=C-c, Esc
|
|
||||||
Finish=Enter
|
|
||||||
Complete=Tab
|
|
||||||
DeleteChar=C-d, Delete
|
|
||||||
BackwardDeleteChar=Backspace
|
|
||||||
CursorLeft=C-b, Left
|
|
||||||
CursorRight=C-f, Right
|
|
||||||
HistoryUp=C-p, M-p, Up
|
|
||||||
HistoryDown=C-n, M-n, Down
|
|
||||||
ClearLine=C-u
|
|
||||||
DeleteWord=C-h
|
|
||||||
CursorToStart=C-a, Home
|
|
||||||
CursorToEnd=C-e, End
|
|
||||||
|
|
||||||
|
|
||||||
[fold]
|
|
||||||
ToggleFold=t,Tab
|
|
||||||
|
|
||||||
[log]
|
|
||||||
Close=g,Esc
|
|
||||||
|
|
||||||
[quickaction]
|
|
||||||
Close=a, Esc, C-a
|
|
||||||
SelectOrRun(_)=_
|
|
||||||
|
|
@ -1,109 +0,0 @@
|
||||||
[movement]
|
|
||||||
Up(1)=k, Up
|
|
||||||
Down(1)=j, Down
|
|
||||||
Left=b, Left
|
|
||||||
Right=f, Right
|
|
||||||
Top=<, Home
|
|
||||||
Bottom=>, End
|
|
||||||
Up(10)=K
|
|
||||||
Down(10)=J
|
|
||||||
PageUp=C-v, PageUp
|
|
||||||
PageDown=M-v, PageDown
|
|
||||||
|
|
||||||
[filebrowser]
|
|
||||||
Quit=q
|
|
||||||
QuitWithDir=Q
|
|
||||||
LeftColumnDown=]
|
|
||||||
LeftColumnUp=[
|
|
||||||
GotoHome=~
|
|
||||||
TurboCd=/
|
|
||||||
SelectExternal=M-Space
|
|
||||||
EnterDirExternal=M-/
|
|
||||||
RunInBackground=F
|
|
||||||
GotoPrevCwd=-
|
|
||||||
ShowBookmarks=`
|
|
||||||
AddBookmark=b
|
|
||||||
ShowProcesses=w
|
|
||||||
ShowLog=g
|
|
||||||
ShowQuickActions=a
|
|
||||||
RunSubshell=z
|
|
||||||
ToggleColumns=c
|
|
||||||
ExecCmd=!
|
|
||||||
|
|
||||||
[filelist]
|
|
||||||
Search=S
|
|
||||||
SearchNext=M-s
|
|
||||||
SearchPrev=M-S
|
|
||||||
Filter=C-f
|
|
||||||
Select=Space
|
|
||||||
InvertSelection=v
|
|
||||||
ClearSelection=V
|
|
||||||
FilterSelection=M-v
|
|
||||||
ToggleTag=t
|
|
||||||
ToggleHidden=h
|
|
||||||
ReverseSort=r
|
|
||||||
CycleSort=s
|
|
||||||
ToNextMtime=K
|
|
||||||
ToPrevMtime=k
|
|
||||||
ToggleDirsFirst=d
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[tabs]
|
|
||||||
NewTab=C-t
|
|
||||||
CloseTab=C-w
|
|
||||||
NextTab=Tab
|
|
||||||
PrevTab=BackTab
|
|
||||||
GotoTab(_)=F_
|
|
||||||
|
|
||||||
|
|
||||||
[media]
|
|
||||||
TogglePause=M-m
|
|
||||||
ToggleMute=M-M
|
|
||||||
SeekForward=M->
|
|
||||||
SeekBackward=M-<
|
|
||||||
|
|
||||||
[bookmarks]
|
|
||||||
GotoLastCwd=`
|
|
||||||
Goto(_)=_
|
|
||||||
Delete(_)=M-_
|
|
||||||
|
|
||||||
[processes]
|
|
||||||
Close=w, Esc
|
|
||||||
Remove=d
|
|
||||||
Kill=k
|
|
||||||
FollowOutput=f
|
|
||||||
ScrollOutputUp=C-p
|
|
||||||
ScrollOutputDown=C-n
|
|
||||||
ScrollOutputPageUp=C-V
|
|
||||||
ScrollOutputPageDown=C-v
|
|
||||||
ScrollOutputTop=C-<
|
|
||||||
ScrollOutputBottom=>
|
|
||||||
|
|
||||||
[minibuffer]
|
|
||||||
InsertChar(_)=_
|
|
||||||
InsertTab(_)=F_
|
|
||||||
Cancel=C-c, Esc
|
|
||||||
Finish=Enter
|
|
||||||
Complete=Tab
|
|
||||||
DeleteChar=C-d, Delete
|
|
||||||
BackwardDeleteChar=Backspace
|
|
||||||
CursorLeft=C-b, Left
|
|
||||||
CursorRight=C-f, Right
|
|
||||||
HistoryUp=C-p, M-p, Up
|
|
||||||
HistoryDown=C-n, M-n, Down
|
|
||||||
ClearLine=C-u
|
|
||||||
DeleteWord=C-h
|
|
||||||
CursorToStart=C-a, Home
|
|
||||||
CursorToEnd=C-e, End
|
|
||||||
|
|
||||||
|
|
||||||
[fold]
|
|
||||||
ToggleFold=t,Tab
|
|
||||||
|
|
||||||
[log]
|
|
||||||
Close=g,Esc
|
|
||||||
|
|
||||||
[quickaction]
|
|
||||||
Close=a, Esc, C-a
|
|
||||||
SelectOrRun(_)=_
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1,55 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
FILE="${1}"
|
|
||||||
|
|
||||||
function exists() {
|
|
||||||
command -v "${1}" >/dev/null
|
|
||||||
return $?
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function run_other {
|
|
||||||
exists 7z &&
|
|
||||||
7z l -p -- "${FILE}" | tail --lines="+11" && exit $?
|
|
||||||
exists als &&
|
|
||||||
als "${FILE}" && exit $? ||
|
|
||||||
echo "Can't find bsdtar, 7z, or atools!" && exit 1
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# Parse output and rearrange it to be more suitable for possibly narrow column
|
|
||||||
function run_bsdtar() {
|
|
||||||
# Check if bsdtar is present
|
|
||||||
exists bsdtar || return 1
|
|
||||||
|
|
||||||
bsdtar -v -t -f "${FILE}" 2>/dev/null |
|
|
||||||
awk '{
|
|
||||||
# Only show two digits
|
|
||||||
CONVFMT = "%2.2f"
|
|
||||||
|
|
||||||
# Calculate human reatable size
|
|
||||||
split( "B KB MB GB" , v );
|
|
||||||
s=1;
|
|
||||||
while( $5>1024 ) {
|
|
||||||
$5/=1024;
|
|
||||||
s++
|
|
||||||
}
|
|
||||||
|
|
||||||
# Print everything with tab as separator
|
|
||||||
print $(9) $(10) $(11) "\t" \
|
|
||||||
$(1) "\t" $(2) "\t" $(3) "\t" $(4) "\t" \
|
|
||||||
$(5) v[s] "\t" \
|
|
||||||
$(6) "\t" $(7) "\t" $(8)
|
|
||||||
}' |
|
|
||||||
column -t \
|
|
||||||
-N NAME,PERMISSION,XATTR,USER,GROUP,SIZE,MON,DAY,TIME \
|
|
||||||
-O name,size,permission,user,group,mon,day,time,xattr \
|
|
||||||
-R permission,xattr,user,group,size,mon,day,time \
|
|
||||||
-H xattr \
|
|
||||||
-T name,permission,user,group,size,mon,day,time \
|
|
||||||
-W name
|
|
||||||
}
|
|
||||||
|
|
||||||
# Try bsdtar, if it fails try the others
|
|
||||||
run_bsdtar "${1}" || run_other "${1}"
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
w3m -dump "${1}" ||
|
|
||||||
links -dump "${1}" ||
|
|
||||||
elinks -dump "${1}" ||
|
|
||||||
lynx -dump "${1}"
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
odt2text "${1}" 2> /dev/null
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
pdftotext -l 10 -layout -nopgbrk -q "${1}" -||
|
|
||||||
mutool draw -F txt -i -- "${1}" ||
|
|
||||||
exiftool "${1}" 2> /dev/null
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
FILE="${1}"
|
|
||||||
BASENAME=`basename -s ".pdf" "${FILE}"`
|
|
||||||
|
|
||||||
mkdir /tmp/hunter-previews
|
|
||||||
pdftoppm -singlefile -singlefile "${FILE}" /tmp/hunter-previews/"${BASENAME}" || exit 1
|
|
||||||
echo /tmp/hunter-previews/"${BASENAME}".ppm
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
bat --plain --color=always --paging=never "${1}" --line-range 1:100 --tabs 8
|
|
||||||
2>/dev/null && exit 5
|
|
||||||
|
|
||||||
highlight --replace-tabs=4 --force -- "${1}"
|
|
||||||
2>/dev/null && exit 5
|
|
||||||
|
|
||||||
cat "${1}"
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/html
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/html
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/openoffice
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
pdftotext -l 10 -layout -nopgbrk -q "${1}" -||
|
|
||||||
mutool draw -F txt -i -- "${1}" ||
|
|
||||||
exiftool "${1}" 2> /dev/null
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/pdf.g
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/html
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/html
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
definitions/archive
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
set preview_images true
|
|
||||||
set preview_images_method ueberzug
|
|
||||||
default_linemode devicons
|
|
||||||
set show_hidden true
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
[scdl]
|
|
||||||
auth_token =
|
|
||||||
path = .
|
|
||||||
|
|
@ -1,111 +0,0 @@
|
||||||
[engines._default]
|
|
||||||
name = "Google"
|
|
||||||
search_url = "https://www.google.com/search?q=%s"
|
|
||||||
suggestion_url = "https://www.google.com/complete/search?client=chrome&q=%s"
|
|
||||||
|
|
||||||
[engines._default.prompt]
|
|
||||||
icon = " g "
|
|
||||||
icon_bg = "Blue"
|
|
||||||
icon_fg = "White"
|
|
||||||
text = " Google "
|
|
||||||
text_bg = "White"
|
|
||||||
text_fg = "Black"
|
|
||||||
|
|
||||||
[engines.ddg]
|
|
||||||
name = "DuckDuckGo"
|
|
||||||
search_url = "https://duckduckgo.com/?q=%s"
|
|
||||||
suggestion_url = "https://duckduckgo.com/ac/?q=%s&type=list"
|
|
||||||
|
|
||||||
[engines.ddg.prompt]
|
|
||||||
icon = " ♞ "
|
|
||||||
icon_bg = [222, 88, 51]
|
|
||||||
icon_fg = "White"
|
|
||||||
text_bg = "White"
|
|
||||||
text_fg = "Black"
|
|
||||||
|
|
||||||
[engines.g]
|
|
||||||
name = "Google (I'm Feeling Lucky)"
|
|
||||||
search_url = "https://www.google.com/search?btnI&q=%s"
|
|
||||||
suggestion_url = "https://www.google.com/complete/search?client=chrome&q=%s"
|
|
||||||
|
|
||||||
[engines.g.prompt]
|
|
||||||
icon = " g "
|
|
||||||
icon_bg = "Blue"
|
|
||||||
icon_fg = "White"
|
|
||||||
text = " I'm Feeling Lucky "
|
|
||||||
text_bg = "White"
|
|
||||||
text_fg = "Black"
|
|
||||||
|
|
||||||
[engines.r]
|
|
||||||
name = "Subreddit"
|
|
||||||
search_url = "https://www.reddit.com/r/%s"
|
|
||||||
space_becomes = ""
|
|
||||||
suggestion_url = "https://us-central1-subreddit-suggestions.cloudfunctions.net/suggest?query=%s"
|
|
||||||
|
|
||||||
[engines.r.prompt]
|
|
||||||
icon = " ⬬ "
|
|
||||||
icon_bg = [255, 69, 0]
|
|
||||||
icon_fg = "White"
|
|
||||||
text_bg = "White"
|
|
||||||
text_fg = "Black"
|
|
||||||
|
|
||||||
[engines.red]
|
|
||||||
name = "Reddit"
|
|
||||||
search_url = "https://www.google.com/search?q=site:reddit.com+%s"
|
|
||||||
suggestion_url = "https://www.google.com/complete/search?client=chrome&q=%s"
|
|
||||||
|
|
||||||
[engines.red.prompt]
|
|
||||||
icon = " ⬬ "
|
|
||||||
icon_bg = [255, 69, 0]
|
|
||||||
icon_fg = "White"
|
|
||||||
text_bg = "White"
|
|
||||||
text_fg = "Black"
|
|
||||||
|
|
||||||
[engines.w]
|
|
||||||
name = "Wikipedia"
|
|
||||||
search_url = "https://www.wikipedia.org/search-redirect.php?family=wikipedia&language=en&search=%s&language=en&go=Go"
|
|
||||||
suggestion_url = "https://en.wikipedia.org/w/api.php?action=opensearch&search=%s&limit=15&namespace=0&format=json"
|
|
||||||
|
|
||||||
[engines.w.prompt]
|
|
||||||
icon = " W "
|
|
||||||
icon_bg = "White"
|
|
||||||
icon_fg = "Black"
|
|
||||||
text_bg = "White"
|
|
||||||
text_fg = "Black"
|
|
||||||
|
|
||||||
[engines.wkt]
|
|
||||||
name = "Wiktionary"
|
|
||||||
search_url = "https://www.wiktionary.org/search-redirect.php?family=wiktionary&language=en&search=%s&go=Go"
|
|
||||||
suggestion_url = "https://en.wiktionary.org/w/api.php?action=opensearch&search=%s&limit=15&namespace=0&format=json"
|
|
||||||
|
|
||||||
[engines.wkt.prompt]
|
|
||||||
icon = "['w]"
|
|
||||||
icon_bg = "White"
|
|
||||||
icon_fg = "Black"
|
|
||||||
text_bg = "White"
|
|
||||||
text_fg = "Black"
|
|
||||||
|
|
||||||
[engines.yt]
|
|
||||||
name = "YouTube"
|
|
||||||
search_url = "https://www.youtube.com/results?q=%s"
|
|
||||||
suggestion_url = "http://suggestqueries.google.com/complete/search?client=firefox&ds=yt&q=%s"
|
|
||||||
|
|
||||||
[engines.yt.prompt]
|
|
||||||
icon = " ▶ "
|
|
||||||
icon_bg = "Red"
|
|
||||||
icon_fg = "White"
|
|
||||||
text_bg = "White"
|
|
||||||
text_fg = "Black"
|
|
||||||
|
|
||||||
[keybinds]
|
|
||||||
"<BackTab>" = "SelectPrev"
|
|
||||||
"<Backspace>" = "DeleteChar"
|
|
||||||
"<C-c>" = "Exit"
|
|
||||||
"<C-n>" = "SelectNext"
|
|
||||||
"<C-p>" = "SelectPrev"
|
|
||||||
"<C-w>" = "DeleteWord"
|
|
||||||
"<CR>" = "Submit"
|
|
||||||
"<Down>" = "SelectNext"
|
|
||||||
"<Esc>" = "Exit"
|
|
||||||
"<Tab>" = "SelectNext"
|
|
||||||
"<Up>" = "SelectPrev"
|
|
||||||
Loading…
Reference in New Issue