aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2023-09-07 19:13:03 +0200
committerThomas Schmucker <ts@its1.de>2023-09-07 19:13:03 +0200
commit0a2d6b291ac93cd0c70db20f93fb58e6b20d721d (patch)
treed00e54754cc523504d368b07bb2978fbf76a8317
parent9689e1c80a2215edb74b5e65c663e0e1c48c546d (diff)
downloaddotfiles-0a2d6b291ac93cd0c70db20f93fb58e6b20d721d.tar.gz
dotfiles-0a2d6b291ac93cd0c70db20f93fb58e6b20d721d.tar.bz2
dotfiles-0a2d6b291ac93cd0c70db20f93fb58e6b20d721d.zip
Konfiguration für VIT hinzugefügt
-rwxr-xr-xinstall.sh3
-rw-r--r--tmuxp/pim.yaml6
-rw-r--r--vit/config.ini256
-rw-r--r--zsh/zshenv3
4 files changed, 268 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 0df3998..ce0cfec 100755
--- a/install.sh
+++ b/install.sh
@@ -16,6 +16,9 @@ cp -R tmuxp "$CONFIG"
16# nvim 16# nvim
17cp -R nvim "$CONFIG" 17cp -R nvim "$CONFIG"
18 18
19# vit
20cp -R vit "$CONFIG"
21
19# zsh 22# zsh
20cp zsh/zshenv ~/.zshenv 23cp zsh/zshenv ~/.zshenv
21 24
diff --git a/tmuxp/pim.yaml b/tmuxp/pim.yaml
index f458964..0672f5f 100644
--- a/tmuxp/pim.yaml
+++ b/tmuxp/pim.yaml
@@ -6,6 +6,12 @@ windows:
6 - window_name: mail 6 - window_name: mail
7 panes: 7 panes:
8 - shell_command: neomutt 8 - shell_command: neomutt
9 - window_name: calendar
10 panes:
11 - shell_command: wyrd
12 - window_name: tasks
13 panes:
14 - shell_command: vit
9 - window_name: shell 15 - window_name: shell
10 panes: 16 panes:
11 - null 17 - null
diff --git a/vit/config.ini b/vit/config.ini
new file mode 100644
index 0000000..4960336
--- /dev/null
+++ b/vit/config.ini
@@ -0,0 +1,256 @@
1# This is the user configuration file for VIT.
2
3# All configuration options are listed here, commented out, and showing their
4# default value when not otherwise set.
5
6# The format is standard INI file format. Configuration sections are enclosed
7# by brackets. Configuration values should be placed in their relevant section,
8# using a 'name = value' format. Boolean values can be expressed by the
9# following:
10# True values: 1, yes, true (case insensitive)
11# False values: All other values.
12
13
14[taskwarrior]
15
16# Full path to the Taskwarrior configuration file. Tilde will be expanded to
17# the user's home directory.
18# NOTE: This setting is overridden by the TASKRC environment variable.
19#taskrc = ~/.taskrc
20
21
22[vit]
23
24# The keybinding map to use. This maps actions registered with VIT to be fired
25# when the user presses the specific keys configured in the keybindings file.
26# Possible keybindings are in the 'keybinding' directory, and the setting's
27# value should be the filename minus the .ini extension. The default keybinding
28# configuration is modeled heavily on the legacy VIT keybindings, and inspired
29# by vi/vim.
30#default_keybindings = vi
31
32# The theme to use. This allows control over the colors used in the
33# application itself. Possible themes are in the 'theme' directory, and the
34# setting's value should be the filename minus the .py extension.
35# Note that the theme does not control any coloring related to tasks -- this
36# is controlled via the color settings in the Taskwarrior configuration.
37#theme = default
38
39# Boolean. If true, VIT will ask for confirmation before marking a task as done,
40# deleting a task, or quitting VIT. Set to false to disable the prompts.
41confirmation = False
42
43
44# Boolean. If true, VIT will show the output of the task command and wait for
45# enter. If false, VIT will not show output of the task command after
46# modifications to a task are made.
47wait = False
48
49# Boolean. If true, VIT will enable mouse support for actions such as selecting
50# list items.
51#mouse = False
52
53# Boolean. If true, hitting backspace against an empty prompt aborts the prompt.
54#abort_backspace = False
55
56# Boolean. If true, VIT will focus on the newly added task. Note: the new task must be
57#included in the active filter for this setting to have effect.
58#focus_on_add = False
59
60# Path to a directory to manage pid files for running instances of VIT.
61# If no path is provided, no pid files will be managed.
62# The special token $UID may be used, and will be substituted with the user ID
63# of the user starting VIT.
64# VIT can be run with the '--list-pids' argument, which will output a list of
65# all pids in pid_dir; useful for sending signals to the running processes.
66# If you use this feature, it's suggested to choose a directory that is
67# automatically cleaned on boot, e.g.:
68# /var/run/user/$UID/vit
69# /tmp/vit_pids
70#pid_dir =
71
72# Int. The number of flash repetitions focusing on the edit made
73#flash_focus_repeat_times = 2
74
75# Float. Waiting time for the blink focusing on the edit made
76#flash_focus_pause_seconds = 0.1
77
78[report]
79
80# The default Taskwarrior report to load when VIT first starts, if no report
81# or filters are passed at the command line.
82#default_report = next
83
84# The default Taskwarrior report to load when VIT first starts, if filters are
85# passed at the command line with no report.
86#default_filter_only_report = next
87
88# Boolean. If true, reports with the primary sort of project ascending will
89# indent subprojects. If you use deeply nested subprojects, you'll probably
90# like this setting.
91#indent_subprojects = True
92
93# Boolean. If true, display report rows with alternating background colors.
94#row_striping = True
95
96
97[marker]
98
99# Boolean. Enables markers. Markers are configurable labels that appear on the
100# left side of a report to indicate information about a task when the displayed
101# report does not contain the related column.
102# For example, let's suppose you have a 'notes' UDA configured. You'd like to
103# see some indication that a task has a note, without displaying the full note
104# column in reports. You could configure a marker for that custom UDA as
105# follows:
106# uda.notes.label = (N)
107# Then, when a listed task has a note associated with it, you'll see the
108# marker '(N)' displayed in the leftmost column of any report that displays the
109# task in question.
110#enabled = True
111
112# What columns to generate markers for. Can either be 'all' for all columns, or
113# a comma separated list of columns to enable markers for. Possible columns
114# are:
115# depends,description,due,project,recur,scheduled,start,status,tags,until
116#columns = all
117
118# The header label for the markers column when it is displayed.
119#header_label =
120
121# Boolean. If true, an associated color value must be configured in the
122# Taskwarrior configuration in order for the marker to be displayed. If false,
123# and no Taskwarrior color configuration is present for the matching marker,
124# then it is not displayed.
125# For example, if this is set to True, then for the above-mentioned 'notes'
126# marker to be displayed, a matching Taskwarrior color configuration for the
127# 'notes' UDA must be present, e.g.:
128# color.uda.notes=yellow
129#require_color = True
130
131# Boolean. If true, subprojects of a project will also display the configured
132# root project's marker, if the subproject itself does not have its own marker
133# configured.
134# For example, given the following projects:
135# Foo
136# Foo.Bar
137# If this value is set to True, and the Foo project has a configured marker,
138# then Foo.Bar would also display Foo's marker.
139#include_subprojects = True
140
141# Below are listed all of the available markers, with their default label.
142# To disable a specific marker, set its label to empty. Any section enclosed
143# in brackets should be replaced by the appropriate identifier, eg.
144# [project_name] with the actual name of a project.
145#active.label = (A)
146#blocked.label = (BD)
147#blocking.label = (BG)
148#completed.label = (C)
149#deleted.label = (X)
150#due.label = (D)
151#due.today.label = (DT)
152#keyword.label = (K)
153#keyword.[keyword_name].label =
154#overdue.label = (OD)
155#project.label = (P)
156#project.none.label =
157#project.[project_name].label =
158#recurring.label = (R)
159#scheduled.label = (S)
160#tag.label = (T)
161#tag.none.label =
162#tag.[tag_name].label =
163#uda.label =
164#uda.priority.label = (PR)
165#uda.[uda_name].label =
166
167
168[color]
169
170# Boolean. If true, use the colors in Taskwarrior's configuration to colorize
171# reports. Note that VIT uses a fundamentally different paradigm for
172# colorization, which combines tying coloring to associated report columns in
173# combination with markers (see above). This setting works independently of
174# Taskwarriors 'color' config setting.
175#enabled = True
176
177# Boolean. If true, subprojects of a project will also display the configured
178# root project's color, if the subproject itself does not have its own color
179# configured.
180# For example, given the following projects:
181# Foo
182# Foo.Bar
183# If this value is set to True, and the Foo project has a configured color,
184# then Foo.Bar would also display Foo's color.
185#include_subprojects = True
186
187# For the Taskwarrior color configuration, there are three special values:
188# color.project.none
189# color.tag.none
190# color.uda.[uda_name].none
191# If any of these are configured for color, then the label below will be used
192# in the related column to display the color configuration.
193#none_label = [NONE]
194
195
196[keybinding]
197
198# This section allows you to override the configured keybindings, associate
199# additional keybindings with VIT actions, and set up macros triggered by a
200# keybinding.
201
202# Meta keys are enclosed in angle brackets, variables are enclosed in curly
203# brackets. Keybindings here can either be:
204# - Associated with a single VIT action
205# - A macro that describes a series of key presses to replay
206
207# For VIT actions, the form is:
208# keys[,keys] = {ACTION_NAME}
209# For example, to associate the keybinding 'zz' with the undo action:
210# zz = {ACTION_TASK_UNDO}
211# To only disable a keybinding, use the special noop action:
212# w = {ACTION_NOOP}
213# wa = {ACTION_TASK_WAIT}
214# The above would disable the task wait action for the 'w' key, and instead
215# assign it to the 'wa' keybinding.
216# For capital letter keybindings, use the letter directly:
217# D = {ACTION_TASK_DONE}
218
219# For a list of available actions, run 'vit --list-actions'.
220# A great reference for many of the available meta keys, and understanding the
221# default keybindings is the 'keybinding/vi.ini' file.
222
223# For macros, the form is:
224# keys[,keys] = keypresses
225# For example, to map the 'o' key to opening the OneNote script, passing it
226# the currently focused task UUID:
227# o = :!wr onenote {TASK_UUID}<Enter>
228
229# The special '{TASK_[attribute]}' variable can be used in any macro, and it
230# will be replaced with the value of the attribute for the currently
231# highlighted task. Any attribute listed in 'task _columns' is supported, e.g.
232# o = :!wr echo project is {TASK_PROJECT}<Enter>
233
234# Multiple keybindings can be associated with the same action/macro, simply
235# separate the keybindings with a comma:
236# <Ctrl> z,zz = {ACTION_TASK_UNDO}
237
238# 'Special' keys are indicated by enclosing them in brackets. VIT supports the
239# following special keys on either side of the keybinding declaration, by
240# internally translating them into the single character:
241#
242# <Colon>
243# <Equals>
244# <Space>
245# <Semicolon>
246#
247# Under the hood, VIT uses the Urwid mappings for keyboard input:
248# http://urwid.org/manual/userinput.html
249#
250# Any modifier, navigation, or function keys can be described in the VIT
251# keybinding configuration by wrapping them in angle brackets, matching the
252# correct Urwid keyboard input structure:
253#
254# <Ctrl> e = :!wr echo do something
255# <Shift> <Ctrl> <F5> = :!wr echo you used a function key
256
diff --git a/zsh/zshenv b/zsh/zshenv
index d3140d9..322aaab 100644
--- a/zsh/zshenv
+++ b/zsh/zshenv
@@ -20,3 +20,6 @@ export KEYBOARD_KEY_TIMEOUT_US=1000
20# Tmuxp 20# Tmuxp
21export TMUXP_CONFIGDIR="$XDG_CONFIG_HOME/tmuxp" 21export TMUXP_CONFIGDIR="$XDG_CONFIG_HOME/tmuxp"
22 22
23# Vit (Taskwarrior UI)
24export VIT_DIR="$XDG_CONFIG_HOME/vit"
25