Update configuration of tools.

alacritty: lighter color scheme, remove faux_multiplier

fish: colors to adapt to new alacritty theme

nvim: add comments, shortcuts and appearance tweaks

tmux: change prefix to Ctrl+Q (Ctrl+A is more useful to go to the
beginning of the line)
This commit is contained in:
Érico Rolim 2020-01-04 18:44:35 -03:00
parent a556a4b10a
commit 178556304a
4 changed files with 165 additions and 92 deletions

View File

@ -77,15 +77,6 @@ scrolling:
# scrollback is enabled (history > 0).
multiplier: 3
# Faux Scrolling
#
# The `faux_multiplier` setting controls the number of lines the terminal
# should scroll when the alternate screen buffer is active. This is used
# to allow mouse scrolling for applications like `man`.
#
# Specifying `0` will disable faux scrolling.
faux_multiplier: 3
# Scroll to the bottom when new text is written to the terminal.
auto_scroll: false
@ -151,8 +142,10 @@ font:
draw_bold_text_with_bright_colors: true
# Colors (Tomorrow Night Bright)
colors:
schemes:
# Default colors
default_colors: &default
primary:
background: '0x2c2c2c'
foreground: '0xeaeaea'
@ -228,6 +221,65 @@ colors:
#
indexed_colors: []
# Colors (Solarized Light)
solarized_light: &solar_light
primary:
background: '0xfdf6e3'
foreground: '0x586e75'
# Normal colors
normal:
black: '0x073642'
red: '0xdc322f'
green: '0x859900'
yellow: '0xb58900'
blue: '0x268bd2'
magenta: '0xd33682'
cyan: '0x2aa198'
white: '0xeee8d5'
# Bright colors
bright:
black: '0x002b36'
red: '0xcb4b16'
green: '0x586e75'
yellow: '0x657b83'
blue: '0x839496'
magenta: '0x6c71c4'
cyan: '0x93a1a1'
white: '0xfdf6e3'
# Colors (PaperColor - Light)
papercolor_light: &paper
primary:
background: '0xEEEEEE'
foreground: '0x4D4D4C'
# Normal colors
normal:
black: '0xEDEDED'
red: '0xD7005F'
green: '0x718C00'
yellow: '0xD75F00'
blue: '0x4271AE'
magenta: '0x8959A8'
cyan: '0x3E999F'
white: '0x4D4D4C'
# Bright colors
bright:
black: '0x969694'
red: '0xD7005F'
green: '0x718C00'
yellow: '0xD75F00'
blue: '0x4271AE'
magenta: '0x8959A8'
cyan: '0x3E999F'
white: '0x90a3a3'
colors: *paper
# Visual Bell
#
# Any time the BEL code is received, Alacritty "rings" the visual bell. Once

View File

@ -1,30 +1,31 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR __fish_init_2_3_0:\x1d
SETUVAR fish_color_autosuggestion:555\x1ebrblack
SETUVAR fish_color_autosuggestion:93a1a1
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:005fd7
SETUVAR fish_color_comment:990000
SETUVAR fish_color_command:586e75
SETUVAR fish_color_comment:93a1a1
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:009900
SETUVAR fish_color_error:ff0000
SETUVAR fish_color_end:268bd2
SETUVAR fish_color_error:dc322f
SETUVAR fish_color_escape:00a6b2
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:normal
SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue
SETUVAR fish_color_normal:normal
SETUVAR fish_color_operator:00a6b2
SETUVAR fish_color_param:00afff
SETUVAR fish_color_quote:999900
SETUVAR fish_color_redirection:00afff
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_param:657b83
SETUVAR fish_color_quote:839496
SETUVAR fish_color_redirection:6c71c4
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dwhite
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_status:red
SETUVAR fish_color_user:brgreen
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_greeting:Welcome\x20to\x20fish\x2c\x20the\x20friendly\x20interactive\x20shell
SETUVAR fish_key_bindings:fish_default_key_bindings
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_completion:green
SETUVAR fish_pager_color_description:B3A06D
SETUVAR fish_pager_color_prefix:cyan\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan

View File

@ -1,2 +1,22 @@
" ericonr's nvim config
" SHORTCUTS
" Shortcuts for quickly going back to normal mode
:imap jk <Esc>
:imap kj <Esc>
" Shortcuts for pasting and yanking from the system clipboard
:nmap wp "+p
:vmap wy "+y
" APPEARANCE
" Show relative line numbers
set number rnu
" Pretty color scheme that works well with the one chosen for alacritty
colorscheme slate

View File

@ -2,8 +2,8 @@
# Bindings
unbind-key C-b
set -g prefix "C-a"
bind-key C-a send-prefix
set -g prefix "C-q"
bind-key C-q send-prefix
unbind-key l
bind-key h select-pane -L
bind-key j select-pane -D