From 640a4b831057435cd06cb91397c1d4f185775984 Mon Sep 17 00:00:00 2001 From: Paweł Dybiec Date: Sat, 30 Sep 2023 18:05:20 +0100 Subject: Add helix and update tmux conf --- helix.toml | 17 ++++++++++++++++- tmux.conf | 16 +++++++++------- 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/helix.toml b/helix.toml index 815ed7a..54233e4 100644 --- a/helix.toml +++ b/helix.toml @@ -1 +1,16 @@ -theme = "monokai" +theme = "dark_plus" + +[editor] +line-number = "absolute" +cursorline = true + +[editor.soft-wrap] +enable = true + +[editor.cursor-shape] +normal = "underline" +insert = "bar" +select= "block" + +[editor.lsp] +display-inlay-hints = true diff --git a/tmux.conf b/tmux.conf index 7065dd0..01f7ce2 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,14 +1,12 @@ # .tmux.conf +set-option -sa terminal-overrides ",xterm*:Tc" + set -g default-command "${SHELL}" set -g history-limit 500000 -set -g status-right "#{host} - %Y-%m-%d %H:%M" set -s default-terminal "screen-256color" set -gs escape-time 0 set -g allow-rename off -bind r source-file ~/.tmux.conf -bind-key C-r command-prompt "new-session -s %1 ssh %1 \; set-option default-command \"ssh %1\"" -bind-key C-m command-prompt "new-session -s %1 ssh %1 \; set-option default-command \"mosh %1\"" set -g mouse on unbind C-b @@ -18,13 +16,17 @@ bind C-x send-prefix set -g set-titles on set -g base-index 1 setw -g pane-base-index 1 +set-option -g renumber-windows on +set -g status-interval 5 +set -g focus-events on +set -g display-time 4000 bind c new-window -c "#{pane_current_path}" +bind '"' split-window -v -c "#{pane_current_path}" +bind % split-window -h -c "#{pane_current_path}" +setw -g aggressive-resize on -###################### -### DESIGN CHANGES ### -###################### # loud or quiet? set -g visual-activity off -- cgit 1.4.1