chore: add kitty and tmux to dotfiles

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-02-15 21:13:08 -06:00
parent 0053ea7272
commit dc111c4a44
6 changed files with 1132 additions and 11 deletions

8
.config/kitty/kitty.conf Normal file
View File

@ -0,0 +1,8 @@
font_family CaskaydiaCove Nerd Font
bold_font auto
italic_font auto
bold_italic_font auto
font_size 11.0
include ./themes/OneDark.conf

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,21 @@
background #222221
foreground #e4e4e4
cursor #16aec9
selection_background #dedede
color0 #212121
color8 #424242
color1 #b7141e
color9 #e83a3f
color2 #457b23
color10 #7aba39
color3 #f5971d
color11 #fee92e
color4 #134eb2
color12 #53a4f3
color5 #550087
color13 #a94dbb
color6 #0e707c
color14 #26bad1
color7 #eeeeee
color15 #d8d8d8
selection_foreground #222221

View File

@ -0,0 +1,25 @@
# One Dark by Giuseppe Cesarano, https://github.com/GiuseppeCesarano
# This work is licensed under the terms of the GPL-2.0 license.
# For a copy, see https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html.
foreground #979eab
background #282c34
cursor #cccccc
color0 #282c34
color1 #e06c75
color2 #98c379
color3 #e5c07b
color4 #61afef
color5 #be5046
color6 #56b6c2
color7 #979eab
color8 #393e48
color9 #d19a66
color10 #56b6c2
color11 #e5c07b
color12 #61afef
color13 #be5046
color14 #56b6c2
color15 #abb2bf
selection_foreground #282c34
selection_background #979eab

View File

@ -1,17 +1,16 @@
" Use 24-bit (true-color) mode in Vim/Neovim when outside tmux.
" If you're using tmux version 2.2 or later, you can remove the outermost $TMUX check and use tmux's 24-bit color support
" (see < http://sunaku.github.io/tmux-24bit-color.html#usage > for more information.)
if (empty($TMUX))
if (has("nvim"))
" For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
endif
" For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
" Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
" < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
if (has("termguicolors"))
set termguicolors
endif
if (has("nvim"))
" For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
endif
" For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
" Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
" < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
if (has("termguicolors"))
set termguicolors
endif
" Shortcuts

19
.config/tmux/tmux.conf Normal file
View File

@ -0,0 +1,19 @@
# Rebind the Prefix
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Sane Split Commands
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# Reload tmux config
bind r source-file ~/.config/tmux/tmux.conf
# Enable Mouse control
set -g mouse on
# Set Tmux TERM
set -g default-terminal 'tmux-256color'