nvim: different font size for neovide; kitty: some more configuration; tmux: get back hotkeys
This commit is contained in:
parent
eb3a6c75b2
commit
3df18892ec
3 changed files with 30 additions and 20 deletions
41
kitty.conf
41
kitty.conf
|
@ -1,26 +1,29 @@
|
||||||
# I am config
|
# I am config
|
||||||
font_family JetBrainsMono Nerd Font
|
term xterm-direct
|
||||||
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 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_title_template "{index}┇{title}"
|
||||||
tab_bar_style slant
|
tab_bar_style slant
|
||||||
tab_bar_edge top
|
tab_bar_edge top
|
||||||
active_tab_foreground #ebdbb2
|
active_tab_foreground #ebdbb2
|
||||||
active_tab_background #282828
|
active_tab_background #282828
|
||||||
active_tab_font_style bold
|
active_tab_font_style bold
|
||||||
inactive_tab_background #a89984
|
inactive_tab_background #a89984
|
||||||
inactive_tab_foreground #282828
|
inactive_tab_foreground #282828
|
||||||
inactive_tab_font_style italic
|
inactive_tab_font_style italic
|
||||||
tab_bar_background #a89984
|
tab_bar_background #a89984
|
||||||
|
|
||||||
enabled_layouts splits,stack
|
enabled_layouts splits,stack
|
||||||
|
|
||||||
enable_audio_bell no
|
enable_audio_bell no
|
||||||
strip_trailing_spaces always
|
strip_trailing_spaces always
|
||||||
open_url_with default
|
open_url_with default
|
||||||
|
@ -29,7 +32,7 @@ placement_strategy top-left
|
||||||
remember_window_size no
|
remember_window_size no
|
||||||
initial_window_width 120c
|
initial_window_width 120c
|
||||||
initial_window_height 30c
|
initial_window_height 30c
|
||||||
|
resize_in_steps yes
|
||||||
shell_integration no-cursor
|
shell_integration no-cursor
|
||||||
|
|
||||||
map ctrl+g>c new_tab
|
map ctrl+g>c new_tab
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
local fsize = '11'
|
||||||
|
if vim.loop.os_uname().sysname == 'Darwin' then fsize = '14' end
|
||||||
|
|
||||||
vim.o.modeline = false
|
vim.o.modeline = false
|
||||||
vim.o.foldmethod = 'marker'
|
vim.o.foldmethod = 'marker'
|
||||||
vim.o.cursorline = true
|
vim.o.cursorline = true
|
||||||
|
@ -28,4 +31,4 @@ vim.o.title = true
|
||||||
vim.o.titlestring = '[%{hostname()}] %t - neovim'
|
vim.o.titlestring = '[%{hostname()}] %t - neovim'
|
||||||
vim.o.statusline = '[%F] %R%H%W%M %=[%{&fenc}/%{&ff}] %y [%4l/%L:%3v]'
|
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
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
unbind C-b
|
||||||
|
bind C-g send-prefix
|
||||||
bind v split-window -h
|
bind v split-window -h
|
||||||
bind s split-window -v
|
bind s split-window -v
|
||||||
bind h select-pane -L
|
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 t command-prompt -p "attach pane to:" "join-pane -t '%%'"
|
||||||
bind y command-prompt break-pane
|
bind y command-prompt break-pane
|
||||||
bind N new-session
|
bind N new-session
|
||||||
|
set -g prefix C-g
|
||||||
set -g mode-keys "vi"
|
set -g mode-keys "vi"
|
||||||
set -g escape-time "0"
|
set -g escape-time "0"
|
||||||
set -g history-limit "10000"
|
set -g history-limit "10000"
|
||||||
|
set -g mouse on
|
||||||
|
|
||||||
# newer options, not universally compatible
|
# newer options, not universally compatible
|
||||||
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
|
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
|
||||||
|
|
Loading…
Reference in a new issue