1
0
Fork 0

nvim: different font size for neovide; kitty: some more configuration; tmux: get back hotkeys

This commit is contained in:
Von Random 2023-01-21 03:55:49 +02:00
parent eb3a6c75b2
commit 3df18892ec
3 changed files with 30 additions and 20 deletions

View file

@ -1,26 +1,29 @@
# I am config
font_family JetBrainsMono Nerd Font
font_size 14
adjust_line_height 0
box_drawing_scale 0.1, 0.5, 1, 1.5
disable_ligatures cursor
cursor_blink_interval 0
term xterm-direct
term kitty
font_family Cascadia Code PL
font_features CascadiaCodePL-Regular +ss19
font_features CascadiaCodePLRoman-SemiBold +ss19
font_features CascadiaCodePL-Italic +ss19 +ss01
font_features CascadiaCodePLItalic-SemiBold +ss19 +ss01
font_size 15
adjust_line_height 0
box_drawing_scale 0.1, 0.5, 1, 1.5
disable_ligatures cursor
cursor_blink_interval 0
tab_title_template "{index}┇{title}"
tab_bar_style slant
tab_bar_edge top
active_tab_foreground #ebdbb2
active_tab_background #282828
active_tab_font_style bold
inactive_tab_background #a89984
inactive_tab_foreground #282828
inactive_tab_font_style italic
tab_bar_background #a89984
tab_title_template "{index}┇{title}"
tab_bar_style slant
tab_bar_edge top
active_tab_foreground #ebdbb2
active_tab_background #282828
active_tab_font_style bold
inactive_tab_background #a89984
inactive_tab_foreground #282828
inactive_tab_font_style italic
tab_bar_background #a89984
enabled_layouts splits,stack
enable_audio_bell no
strip_trailing_spaces always
open_url_with default
@ -29,7 +32,7 @@ placement_strategy top-left
remember_window_size no
initial_window_width 120c
initial_window_height 30c
resize_in_steps yes
shell_integration no-cursor
map ctrl+g>c new_tab

View file

@ -1,3 +1,6 @@
local fsize = '11'
if vim.loop.os_uname().sysname == 'Darwin' then fsize = '14' end
vim.o.modeline = false
vim.o.foldmethod = 'marker'
vim.o.cursorline = true
@ -28,4 +31,4 @@ vim.o.title = true
vim.o.titlestring = '[%{hostname()}] %t - neovim'
vim.o.statusline = '[%F] %R%H%W%M %=[%{&fenc}/%{&ff}] %y [%4l/%L:%3v]'
vim.o.guifont = 'JetBrains Mono:h12'
vim.o.guifont = 'JetBrains Mono:h' .. fsize

View file

@ -1,3 +1,5 @@
unbind C-b
bind C-g send-prefix
bind v split-window -h
bind s split-window -v
bind h select-pane -L
@ -7,9 +9,11 @@ bind l select-pane -R
bind t command-prompt -p "attach pane to:" "join-pane -t '%%'"
bind y command-prompt break-pane
bind N new-session
set -g prefix C-g
set -g mode-keys "vi"
set -g escape-time "0"
set -g history-limit "10000"
set -g mouse on
# newer options, not universally compatible
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"