summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Dybiec <pawel@dybiec.info>2023-09-30 18:05:20 +0100
committerPaweł Dybiec <pawel@dybiec.info>2023-09-30 18:05:20 +0100
commit640a4b831057435cd06cb91397c1d4f185775984 (patch)
treefe42e9035585bd87cbfbdf5921a30dcb505207c0
parentbashrc (diff)
Add helix and update tmux confmain
-rw-r--r--helix.toml17
-rw-r--r--tmux.conf16
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