mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-19 16:26:10 +01:00
Further updates :)
This commit is contained in:
253
alacritty/.config/alacritty/alacritty.yml
Normal file
253
alacritty/.config/alacritty/alacritty.yml
Normal file
@@ -0,0 +1,253 @@
|
||||
# Copyright (c) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
|
||||
# Copyright (c) 2017-present Sven Greb <code@svengreb.de>
|
||||
|
||||
# Project: Nord Alacritty
|
||||
# Version: 0.1.0
|
||||
# Repository: https://github.com/arcticicestudio/nord-alacritty
|
||||
# License: MIT
|
||||
# References:
|
||||
# https://github.com/alacritty/alacritty
|
||||
|
||||
colors:
|
||||
primary:
|
||||
background: '#2e3440'
|
||||
foreground: '#d8dee9'
|
||||
dim_foreground: '#a5abb6'
|
||||
cursor:
|
||||
text: '#2e3440'
|
||||
cursor: '#d8dee9'
|
||||
vi_mode_cursor:
|
||||
text: '#2e3440'
|
||||
cursor: '#d8dee9'
|
||||
selection:
|
||||
text: CellForeground
|
||||
background: '#4c566a'
|
||||
search:
|
||||
matches:
|
||||
foreground: CellBackground
|
||||
background: '#88c0d0'
|
||||
bar:
|
||||
background: '#434c5e'
|
||||
foreground: '#d8dee9'
|
||||
normal:
|
||||
black: '#3b4252'
|
||||
red: '#bf616a'
|
||||
green: '#a3be8c'
|
||||
yellow: '#ebcb8b'
|
||||
blue: '#81a1c1'
|
||||
magenta: '#b48ead'
|
||||
cyan: '#88c0d0'
|
||||
white: '#e5e9f0'
|
||||
bright:
|
||||
black: '#4c566a'
|
||||
red: '#bf616a'
|
||||
green: '#a3be8c'
|
||||
yellow: '#ebcb8b'
|
||||
blue: '#81a1c1'
|
||||
magenta: '#b48ead'
|
||||
cyan: '#8fbcbb'
|
||||
white: '#eceff4'
|
||||
dim:
|
||||
black: '#373e4d'
|
||||
red: '#94545d'
|
||||
green: '#809575'
|
||||
yellow: '#b29e75'
|
||||
blue: '#68809a'
|
||||
magenta: '#8c738c'
|
||||
cyan: '#6d96a5'
|
||||
white: '#aeb3bb'
|
||||
scrolling:
|
||||
history: 100000
|
||||
font:
|
||||
# Normal (roman) font face
|
||||
normal:
|
||||
# Font family
|
||||
#
|
||||
# Default:
|
||||
# - (macOS) Menlo
|
||||
# - (Linux/BSD) monospace
|
||||
# - (Windows) Consolas
|
||||
family: Noto Color Emoji
|
||||
family: SauceCodePro Nerd Font Mono
|
||||
|
||||
# The `style` can be specified to pick a specific face.
|
||||
#style: Regular
|
||||
|
||||
# Bold font face
|
||||
#bold:
|
||||
# Font family
|
||||
#
|
||||
# If the bold family is not specified, it will fall back to the
|
||||
# value specified for the normal font.
|
||||
#family: monospace
|
||||
|
||||
# The `style` can be specified to pick a specific face.
|
||||
#style: Bold
|
||||
|
||||
# Italic font face
|
||||
#italic:
|
||||
# Font family
|
||||
#
|
||||
# If the italic family is not specified, it will fall back to the
|
||||
# value specified for the normal font.
|
||||
#family: monospace
|
||||
|
||||
# The `style` can be specified to pick a specific face.
|
||||
#style: Italic
|
||||
|
||||
# Bold italic font face
|
||||
#bold_italic:
|
||||
# Font family
|
||||
#
|
||||
# If the bold italic family is not specified, it will fall back to the
|
||||
# value specified for the normal font.
|
||||
#family: monospace
|
||||
|
||||
# The `style` can be specified to pick a specific face.
|
||||
#style: Bold Italic
|
||||
|
||||
# Point size
|
||||
size: 10.0
|
||||
|
||||
# Offset is the extra space around each character. `offset.y` can be thought
|
||||
# of as modifying the line spacing, and `offset.x` as modifying the letter
|
||||
# spacing.
|
||||
#offset:
|
||||
# x: 0
|
||||
# y: 0
|
||||
|
||||
# Glyph offset determines the locations of the glyphs within their cells with
|
||||
# the default being at the bottom. Increasing `x` moves the glyph to the
|
||||
# right, increasing `y` moves the glyph upward.
|
||||
#glyph_offset:
|
||||
# x: 0
|
||||
# y: 0
|
||||
# Bell
|
||||
#
|
||||
# The bell is rung every time the BEL control character is received.
|
||||
bell:
|
||||
# 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
|
||||
animation: EaseOutExpo
|
||||
|
||||
# Duration of the visual bell flash in milliseconds. A `duration` of `0` will
|
||||
# disable the visual bell animation.
|
||||
duration: 25
|
||||
|
||||
# Visual bell animation color.
|
||||
color: '#4C566A'
|
||||
|
||||
command: beep
|
||||
hints:
|
||||
# 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: []
|
||||
#key_bindings:
|
||||
#- { key: Paste, action: Paste }
|
||||
#- { key: Copy, action: Copy }
|
||||
#- { key: L, mods: Control, action: ClearLogNotice }
|
||||
#- { key: L, mods: Control, mode: ~Vi|~Search, 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|~Search, action: ScrollToBottom }
|
||||
#- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode }
|
||||
#- { key: Escape, mode: Vi|~Search, action: ClearSelection }
|
||||
#- { key: I, mode: Vi|~Search, action: ScrollToBottom }
|
||||
#- { key: I, mode: Vi|~Search, action: ToggleViMode }
|
||||
#- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode }
|
||||
#- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp }
|
||||
#- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown }
|
||||
#- { key: G, mode: Vi|~Search, action: ScrollToTop }
|
||||
#- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom }
|
||||
#- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp }
|
||||
#- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown }
|
||||
#- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp }
|
||||
#- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown }
|
||||
#- { key: Y, mode: Vi|~Search, action: Copy }
|
||||
#- { key: Y, mode: Vi|~Search, action: ClearSelection }
|
||||
#- { key: Copy, mode: Vi|~Search, action: ClearSelection }
|
||||
#- { key: V, mode: Vi|~Search, action: ToggleNormalSelection }
|
||||
#- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection }
|
||||
#- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection }
|
||||
#- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection }
|
||||
#- { key: Return, mode: Vi|~Search, action: Open }
|
||||
#- { key: K, mode: Vi|~Search, action: Up }
|
||||
#- { key: J, mode: Vi|~Search, action: Down }
|
||||
#- { key: H, mode: Vi|~Search, action: Left }
|
||||
#- { key: L, mode: Vi|~Search, action: Right }
|
||||
#- { key: Up, mode: Vi|~Search, action: Up }
|
||||
#- { key: Down, mode: Vi|~Search, action: Down }
|
||||
#- { key: Left, mode: Vi|~Search, action: Left }
|
||||
#- { key: Right, mode: Vi|~Search, action: Right }
|
||||
#- { key: Key0, mode: Vi|~Search, action: First }
|
||||
#- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last }
|
||||
#- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied }
|
||||
#- { key: H, mods: Shift, mode: Vi|~Search, action: High }
|
||||
#- { key: M, mods: Shift, mode: Vi|~Search, action: Middle }
|
||||
#- { key: L, mods: Shift, mode: Vi|~Search, action: Low }
|
||||
#- { key: B, mode: Vi|~Search, action: SemanticLeft }
|
||||
#- { key: W, mode: Vi|~Search, action: SemanticRight }
|
||||
#- { key: E, mode: Vi|~Search, action: SemanticRightEnd }
|
||||
#- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft }
|
||||
#- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight }
|
||||
#- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd }
|
||||
#- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket }
|
||||
#- { key: Slash, mode: Vi|~Search, action: SearchForward }
|
||||
#- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward }
|
||||
#- { key: N, mode: Vi|~Search, action: SearchNext }
|
||||
#- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious }
|
||||
|
||||
# Search Mode
|
||||
#- { key: Return, mode: Search|Vi, action: SearchConfirm }
|
||||
#- { key: Escape, mode: Search, action: SearchCancel }
|
||||
#- { key: C, mods: Control, mode: Search, action: SearchCancel }
|
||||
#- { key: U, mods: Control, mode: Search, action: SearchClear }
|
||||
#- { key: W, mods: Control, mode: Search, action: SearchDeleteWord }
|
||||
#- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious }
|
||||
#- { key: N, mods: Control, mode: Search, action: SearchHistoryNext }
|
||||
#- { key: Up, mode: Search, action: SearchHistoryPrevious }
|
||||
#- { key: Down, mode: Search, action: SearchHistoryNext }
|
||||
#- { key: Return, mode: Search|~Vi, action: SearchFocusNext }
|
||||
#- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious }
|
||||
|
||||
# (Windows, Linux, and BSD only)
|
||||
#- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste }
|
||||
#- { key: C, mods: Control|Shift, action: Copy }
|
||||
#- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward }
|
||||
#- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward }
|
||||
#- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection }
|
||||
#- { key: Insert, mods: Shift, action: PasteSelection }
|
||||
#- { key: Key0, mods: Control, action: ResetFontSize }
|
||||
#- { key: Equals, mods: Control, action: IncreaseFontSize }
|
||||
#- { key: Plus, mods: Control, action: IncreaseFontSize }
|
||||
#- { key: NumpadAdd, mods: Control, action: IncreaseFontSize }
|
||||
#- { key: Minus, mods: Control, action: DecreaseFontSize }
|
||||
#- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize }
|
||||
@@ -27,5 +27,9 @@ xcape -e 'Super_L=Super_L|Shift_L|space' &
|
||||
gnome-keyring-daemon &
|
||||
thunar --daemon &
|
||||
dunst &
|
||||
|
||||
xss-lock -v i3lock-fancy-dualmonitor &
|
||||
dockd --daemon &
|
||||
flameshot &
|
||||
$HOME/.config/polybar/launch.sh
|
||||
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ bspc config split_ratio 0.52
|
||||
|
||||
#bspc monitor -d i ii iii iv v vi vii viii ix x
|
||||
#bspc monitor -d One Two Three Four Five Six Seven Eight Nine Ten
|
||||
bspc monitor -d I II III IV V VI VII VIII IX X
|
||||
#bspc monitor -d I II III IV V VI VII VIII IX X
|
||||
#bspc monitor -d • • • • • • • • • •
|
||||
#bspc monitor -d I II III IV V VI
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
[url "git@github.com:"]
|
||||
insteadOf = "gh:"
|
||||
pushInsteadOf = "github:"
|
||||
pushInsteadOf = "git://github.com/"
|
||||
pushInsteadOf = "https://github.com/"
|
||||
|
||||
[url "git://github.com/"]
|
||||
insteadOf = "github:"
|
||||
|
||||
@@ -28,7 +28,7 @@ secondary = #e60053
|
||||
alert = #bd2c40
|
||||
|
||||
[bar/example]
|
||||
;monitor = ${env:MONITOR:HDMI-1}
|
||||
monitor = ${env:MONITOR:}
|
||||
width = 100%
|
||||
height = 27
|
||||
;offset-x = 1%
|
||||
|
||||
@@ -8,6 +8,12 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
# Launch bar
|
||||
echo "---" >> /tmp/polybar.log
|
||||
polybar example >>/tmp/polybar.log 2>&1 &
|
||||
|
||||
if type "xrandr"; then
|
||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||
MONITOR=$m polybar --reload example >>/tmp/polybar.log 2>&1 &
|
||||
done
|
||||
else
|
||||
polybar --reload example >>/tmp/polybar.log 2>&1 &
|
||||
fi
|
||||
echo "Bars launched..."
|
||||
@@ -1,16 +1,25 @@
|
||||
# bapwm hotkeys
|
||||
#
|
||||
###############################################################################################################################
|
||||
# bspwm hotkeys
|
||||
###############################################################################################################################
|
||||
|
||||
# Cleanly quit bspwm
|
||||
super + shift + q
|
||||
bspc quit 1 && pkill polybar
|
||||
|
||||
# Show keybindings
|
||||
# Show this file
|
||||
super + F1
|
||||
$TERMINAL -e keybindings.sh
|
||||
alacritty -e bat ~/.config/sxhkd/sxhkdrc
|
||||
|
||||
#
|
||||
# Window manipulation
|
||||
# ______________
|
||||
|
||||
# BSPWM WINDOW STATES:
|
||||
|
||||
#tiled - Its size and position are determined by the window tree.
|
||||
#pseudo_tiled - A tiled window that automatically shrinks but doesn’t stretch beyond its floating size.
|
||||
#floating - Can be moved/resized freely. Although it doesn’t use any tiling space, it is still part of the window tree.
|
||||
#fullscreen - Fills its monitor rectangle and has no borders.
|
||||
# Close window
|
||||
super + x
|
||||
bspc node -c
|
||||
@@ -69,8 +78,8 @@ ctrl + space
|
||||
alt + ctrl + {a,s,w,d}
|
||||
bspc node -p \~{west,south,north,east} -i
|
||||
|
||||
#alt + ctrl + {h,j,k,l}
|
||||
# bspc node -p \~{west,south,north,east}
|
||||
alt + ctrl + {h,j,k,l}
|
||||
bspc node -p \~{west,south,north,east}
|
||||
|
||||
alt + ctrl + {Left,Down,Up,Right}
|
||||
bspc node -p \~{west,south,north,east}
|
||||
@@ -257,7 +266,8 @@ super + space
|
||||
|
||||
# Triggered by jus tapping super
|
||||
super + shift + space
|
||||
rofi -show run
|
||||
#xlunch --
|
||||
gnome-pie -o 460
|
||||
|
||||
#super + p
|
||||
# dmenu_recent -h $PANEL_HEIGHT -fn 'xos4 Terminus:size=15' -i
|
||||
@@ -271,7 +281,7 @@ super + shift + z
|
||||
open-terminal-here
|
||||
|
||||
super + r
|
||||
rofi -modi drun,run,window,calc -show drun
|
||||
rofi -modi drun,run,window,calc -show run
|
||||
|
||||
super + shift + b
|
||||
$BROWSER
|
||||
@@ -314,9 +324,18 @@ XF86MonBrightnessDown
|
||||
XF86MonBrightnessUp
|
||||
xbacklight -inc 5
|
||||
|
||||
XF86ScreenSaver
|
||||
loginctl lock-session
|
||||
|
||||
XF86Sleep
|
||||
systemctl suspend
|
||||
|
||||
XF86Display
|
||||
workspaces_multimonitor
|
||||
|
||||
shift + XF86Display
|
||||
arandr
|
||||
|
||||
XF86AudioMicMute
|
||||
amixer set Capture toggle
|
||||
|
||||
@@ -326,15 +345,18 @@ XF86Launch1
|
||||
super + shift + Escape
|
||||
pkill -USR1 -x sxhkd
|
||||
|
||||
alt + space #My personal preference
|
||||
alt + space
|
||||
rofi -modi drun,run,window,calc -show drun
|
||||
|
||||
super + shift + s
|
||||
flameshot gui
|
||||
|
||||
# In case bspwmrc fails to execute/you wish have plugged in a new monitor
|
||||
super + shift + r
|
||||
bspwmrc
|
||||
#edit this file
|
||||
alt + ctrl + space
|
||||
$GUI_EDITOR ~/.config/sxhkd/sxhkdrc
|
||||
vim ~/.config/sxhkd/sxhkdrc
|
||||
# Toggle compositing
|
||||
super + ctrl + alt + space
|
||||
{pkill picom ,\
|
||||
@@ -343,3 +365,11 @@ super + ctrl + alt + space
|
||||
# Remove receptacles
|
||||
super + BackSpace
|
||||
for i in $(bspc query -N -n .leaf.!window.local); do bspc node $i -k; done
|
||||
|
||||
###############################################################################################################################
|
||||
# VIDEO-RELATED HOTKEYS
|
||||
###############################################################################################################################
|
||||
|
||||
# Rotate the screen. WARNING: Laggy.
|
||||
mod5 + {Left,Down,Up,Right}
|
||||
xrandr --output LVDS1 --rotate {left,inverted,normal,right}
|
||||
|
||||
23
vim/.vimrc
23
vim/.vimrc
@@ -1,3 +1,4 @@
|
||||
" Autoinstall vim-plug
|
||||
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
|
||||
if empty(glob(data_dir . '/autoload/plug.vim'))
|
||||
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||
@@ -9,9 +10,9 @@ endif
|
||||
call plug#begin('~/.vim/plugged')
|
||||
|
||||
Plug 'junegunn/vim-github-dashboard'
|
||||
Plug 'SirVer/ultisnips'
|
||||
Plug 'honza/vim-snippets'
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'honza/vim-snippets'
|
||||
Plug 'pearofducks/ansible-vim'
|
||||
Plug 'preservim/nerdtree'
|
||||
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
||||
Plug 'liuchengxu/vim-which-key'
|
||||
@@ -30,19 +31,23 @@ Plug 'tpope/vim-surround'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'scrooloose/nerdcommenter'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
Plug 'valloric/youcompleteme'
|
||||
Plug 'ctrlpvim/ctrlp.vim'
|
||||
Plug 'godlygeek/tabular'
|
||||
Plug 'ervandew/supertab'
|
||||
Plug 'easymotion/vim-easymotion'
|
||||
Plug 'elzr/vim-json'
|
||||
"Plug 'easymotion/vim-easymotion'
|
||||
Plug 'nathanaelkane/vim-indent-guides'
|
||||
Plug 'xuyuanp/nerdtree-git-plugin'
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
Plug 'mbbill/undotree'
|
||||
Plug 'bronson/vim-trailing-whitespace'
|
||||
|
||||
|
||||
" I love you tpope <3
|
||||
Plug 'tpope/vim-dadbod'
|
||||
Plug 'tpope/vim-eunuch'
|
||||
Plug 'tpope/vim-speeddating'
|
||||
Plug 'tpope/vim-repeat'
|
||||
Plug 'tpope/vim-rhubarb'
|
||||
Plug 'tpope/vim-unimpaired'
|
||||
Plug 'tpope/vim-abolish'
|
||||
Plug 'tpope/vim-obsession'
|
||||
|
||||
" Initialize plugin system
|
||||
call plug#end()
|
||||
@@ -51,3 +56,5 @@ autocmd! User GoyoEnter Limelight
|
||||
autocmd! User GoyoLeave Limelight!
|
||||
filetype plugin on
|
||||
colorscheme nord
|
||||
"Keybinds
|
||||
|
||||
|
||||
@@ -24,9 +24,10 @@ alias lessf="less +F"
|
||||
|
||||
# List all files colorized in long format
|
||||
alias l="exa -G --icons"
|
||||
alias ll="exa -l"
|
||||
alias ll="exa -l --icons"
|
||||
alias lg="exa -lG"
|
||||
alias lall="exa -laGhF --icons --git"
|
||||
alias lall="exa -lahF --icons --git"
|
||||
alias lalg="exa -laGhF --icons --git"
|
||||
alias latree="exa -laGghHT --git --icons"
|
||||
# List all files colorized in long format, including dot files
|
||||
alias la="exa -la"
|
||||
@@ -78,3 +79,5 @@ alias pscpu10='ps -e -o pcpu,cpu,nice,state,cputime,args|sort -k1,1n -nr | head
|
||||
# top10 of the history
|
||||
alias hist10='print -l ${(o)history%% *} | uniq -c | sort -nr | head -n 10'
|
||||
alias cantbebothered='git add -a && git commit -m $(curl -s http://whatthecommit.com/index.txt | uwuify | cowsay -f $(ls /usr/share/cowsay/cows/ | shuf -n1) | lolcat ) && git push'
|
||||
alias please='sudo'
|
||||
alias runhis="anyframe-widget-execute-history"
|
||||
|
||||
18
zsh/.zshrc
18
zsh/.zshrc
@@ -17,8 +17,8 @@ colors
|
||||
# History Settings #
|
||||
###############################################################################################################################
|
||||
HISTFILE=~/.zsh_history #History file - zsh in name, to differentiate, idk
|
||||
HISTSIZE=100001000 #100M history entries - storage space is cheap :)
|
||||
SAVEHIST=100000000 #A margin to store some duplicates
|
||||
HISTSIZE=1000010000 #1B history entries - storage space is cheap :)
|
||||
SAVEHIST=1000000000 #A margin to store some duplicates
|
||||
setopt INC_APPEND_HISTORY_TIME #Black magic, honestly - history nonblockingly gets written to histfile, but separate sessions keep their separate histories
|
||||
setopt HIST_VERIFY #Forces user to confirm banging commands from history (!! pastes previous command to prompt)
|
||||
setopt HIST_IGNORE_DUPS #Ignores duplicates of commands directly before
|
||||
@@ -42,8 +42,8 @@ fi
|
||||
autoload -U select-word-style
|
||||
select-word-style bash
|
||||
|
||||
#GIANT KEYBOARD CONFIG BLOCK (From oh-my-zsh)
|
||||
bindkey '\ew' kill-region # [Esc-w] - Kill from the cursor to the mark
|
||||
#GIANT KEYBOARD CONFIG BLOCK (From oh-my-zsh)(with further changes)
|
||||
bindkey '\ew' kill-region # [Esc-w] - Remove chars from the cursor to the mark
|
||||
bindkey -s '\el' 'ls\n' # [Esc-l] - run command: ls
|
||||
bindkey '^r' history-incremental-search-backward # [Ctrl-r] - Search backward incrementally for a specified string. The string may begin with ^ to anchor the search to the beginning of the line.
|
||||
if [[ "${terminfo[kpp]}" != "" ]]; then
|
||||
@@ -67,7 +67,7 @@ if [[ "${terminfo[kend]}" != "" ]]; then
|
||||
bindkey "${terminfo[kend]}" end-of-line # [End] - Go to end of line
|
||||
fi
|
||||
|
||||
bindkey ' ' magic-space # [Space] - do history expansion
|
||||
bindkey ' ' magic-space # [Space] - do history expansion - !![space] pastes previous command, ![num][space] jumps to history entry
|
||||
|
||||
bindkey '^[[1;5C' forward-word # [Ctrl-RightArrow] - move forward one word
|
||||
bindkey '^[[1;5D' backward-word # [Ctrl-LeftArrow] - move backward one word
|
||||
@@ -151,7 +151,7 @@ setopt interactivecomments
|
||||
|
||||
|
||||
zplug "plugins/emoji", from:oh-my-zsh
|
||||
zplug "plugins/pyenv", from:oh-my-zsh
|
||||
zplug "plugins/virtualenv", from:oh-my-zsh
|
||||
zplug "plugins/pip", from:oh-my-zsh
|
||||
zplug "plugins/nmap", from:oh-my-zsh
|
||||
zplug "plugins/ipfs", from:oh-my-zsh
|
||||
@@ -164,19 +164,19 @@ zplug "plugins/cargo", from:oh-my-zsh
|
||||
zplug "plugins/git", from:oh-my-zsh
|
||||
zplug "plugins/colored-man-pages", from:oh-my-zsh
|
||||
zplug "plugins/command-not-found", from:oh-my-zsh
|
||||
zplug "plugins/web-search", from:oh-my-zsh
|
||||
zplug "plugins/tmux", from:oh-my-zsh
|
||||
zplug "plugins/urltools", from:oh-my-zsh
|
||||
zplug "plugins/thefuck", from:oh-my-zsh #Used interchangably with
|
||||
#setopt correct #<-This option
|
||||
# Load completion library for those sweet [tab] squares
|
||||
zplug "lib/completion", from:oh-my-zsh
|
||||
|
||||
zplug "mollifier/anyframe", from:github
|
||||
# Misc. visual tweaks
|
||||
zplug "oldratlee/hacker-quotes"
|
||||
zplug "modules/prompt", from:prezto
|
||||
zplug "Tarrasch/zsh-autoenv"
|
||||
zplug "zpm-zsh/colors"
|
||||
zplug "MichaelAquilina/zsh-autoswitch-virtualenv"
|
||||
# Syntax highlighting for commands, load last
|
||||
zplug "zsh-users/zsh-syntax-highlighting", from:github, defer:3
|
||||
zplug "zsh-users/zsh-autosuggestions", defer:3
|
||||
@@ -192,7 +192,7 @@ fi
|
||||
# Then, source plugins and add commands to $PATH
|
||||
zplug load
|
||||
|
||||
PATH="$PATH:/home/vectorkappa/.cargo/bin"
|
||||
PATH="$PATH:/home/vectorkappa/.cargo/bin:/home/vectorkappa/.local/bin"
|
||||
|
||||
prompt pure
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
|
||||
Reference in New Issue
Block a user