summaryrefslogtreecommitdiffstats
path: root/.config/kitty
diff options
context:
space:
mode:
authorYigit Sever2019-03-17 23:09:49 +0300
committerYigit Sever2019-03-17 23:18:28 +0300
commitea211500227aa58f5e495777743c5d391cbc3110 (patch)
treeafa2b455f9fea40b45dbf8a742c0d0d498024edb /.config/kitty
downloaddotfiles-ea211500227aa58f5e495777743c5d391cbc3110.tar.gz
dotfiles-ea211500227aa58f5e495777743c5d391cbc3110.tar.bz2
dotfiles-ea211500227aa58f5e495777743c5d391cbc3110.zip
Initial commit
diffstat (limited to '.config/kitty')
-rw-r--r--.config/kitty/kitty.conf265
1 files changed, 265 insertions, 0 deletions
diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf
new file mode 100644
index 0000000..8fb681f
--- /dev/null
+++ b/.config/kitty/kitty.conf
@@ -0,0 +1,265 @@
1# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
2
3#: Fonts {{{ --> Ligature Support
4
5font_family Fira Code
6bold_font Fira Code Bold
7italic_font Fira Code Light
8bold_italic_font Fira Code Retina
9
10font_size 10.0
11
12adjust_line_height 0
13adjust_column_width 0
14
15box_drawing_scale 0.001, 1, 1.5, 2
16
17#: }}}
18
19#: Cursor customization {{{
20
21cursor_shape block
22cursor #FDE311
23cursor_text_color background
24
25cursor_blink_interval 0
26
27#: }}}
28
29#: Scrollback {{{
30
31scrollback_lines 2000
32wheel_scroll_multiplier 5.0
33
34#: }}}
35
36#: Mouse {{{
37
38url_color #2aa889
39url_style curly
40open_url_modifiers ctrl+shift
41open_url_with firefox
42
43#: }}}
44
45#: Terminal bell {{{
46
47enable_audio_bell no
48visual_bell_duration 0.0
49
50#: }}}
51
52#: Window layout {{{
53
54remember_window_size no
55initial_window_width 80c
56initial_window_height 24c
57
58window_padding_width 5.0
59
60#: }}}
61
62#: Tab bar {{{
63
64tab_bar_edge bottom
65tab_bar_style separator
66tab_separator " ┇"
67
68active_tab_foreground #d5c4a1
69active_tab_background #504945
70active_tab_font_style italic
71inactive_tab_foreground #a89984
72inactive_tab_background #7c6f64
73inactive_tab_font_style normal
74
75#: }}}
76
77#: Color scheme {{{
78
79foreground #ebdbb2
80background #282828
81
82#: The foreground and background for text selected with the mouse
83selection_foreground #fbf1c7
84selection_background #d65d0e
85
86#: black
87color0 #282828
88color8 #928374
89
90#: red
91color1 #cc241d
92color9 #fb4934
93
94#: green
95color2 #97971a
96color10 #b8bb26
97
98#: yellow
99color3 #d79921
100color11 #fabd2f
101
102#: blue
103color4 #458588
104color12 #83a598
105
106#: purple
107color5 #b16286
108color13 #d3869b
109
110#: cyan
111color6 #689d6a
112color14 #8ec07c
113
114#: white
115color7 #a89984
116color15 #ebdbb2
117
118#: }}}
119
120#: Advanced {{{
121editor nvim
122#: }}}
123
124#: Keyboard shortcuts {{{
125
126#: Finally, you can use raw system key codes to map keys. To see the
127#: system key code for a key, start kitty with the kitty --debug-
128#: keyboard option. Then kitty will output some debug text for every
129#: key event. In that text look for ``native_code`` the value of that
130#: becomes the key name in the shortcut. For example:
131
132#: .. code-block:: none
133
134#: on_key_input: glfw key: 65 native_code: 0x61 action: PRESS mods: 0x0 text: 'a'
135
136#: Here, the key name for the A key is 0x61 and you can use it with::
137
138#: map ctrl+0x61 something
139
140#: to map ctrl+a to something.
141
142#: You can use the special action no_op to unmap a keyboard shortcut
143#: that is assigned in the default configuration.
144
145#: You can combine multiple actions to be triggered by a single
146#: shortcut, using the syntax below::
147
148#: map key combine <separator> action1 <separator> action2 <separator> action3 ...
149
150#: For example::
151
152#: map kitty_mod+e combine : new_window : next_layout
153
154#: this will create a new window and switch to the next available
155#: layout
156
157#: You can use multi-key shortcuts using the syntax shown below::
158
159#: map key1>key2>key3 action
160
161#: For example::
162
163#: map ctrl+f>2 set_font_size 20
164
165kitty_mod ctrl+shift
166
167#: The value of kitty_mod is used as the modifier for all default
168#: shortcuts, you can change it in your kitty.conf to change the
169#: modifiers for all the default shortcuts.
170
171# clear_all_shortcuts no
172
173#: You can have kitty remove all shortcut definition seen up to this
174#: point. Useful, for instance, to remove the default shortcuts.
175
176#: Clipboard {{{
177
178map kitty_mod+c copy_to_clipboard
179map kitty_mod+v paste_from_clipboard
180map kitty_mod+s paste_from_selection
181map shift+insert paste_from_selection
182map kitty_mod+o pass_selection_to_program
183
184#: }}}
185
186#: Scrolling {{{
187
188map kitty_mod+up scroll_line_up
189map kitty_mod+k scroll_line_up
190map kitty_mod+down scroll_line_down
191map kitty_mod+j scroll_line_down
192map kitty_mod+page_up scroll_page_up
193map kitty_mod+page_down scroll_page_down
194map kitty_mod+home scroll_home
195map kitty_mod+end scroll_end
196map kitty_mod+h show_scrollback
197
198#: }}}
199
200#: Window management {{{
201
202# map kitty_mod+enter new_window
203# map kitty_mod+n new_os_window
204# map kitty_mod+w close_window
205# map kitty_mod+] next_window
206# map kitty_mod+[ previous_window
207# map kitty_mod+f move_window_forward
208# map kitty_mod+b move_window_backward
209# map kitty_mod+` move_window_to_top
210# map kitty_mod+r start_resizing_window
211# map kitty_mod+1 first_window
212# map kitty_mod+2 second_window
213# map kitty_mod+3 third_window
214# map kitty_mod+4 fourth_window
215# map kitty_mod+5 fifth_window
216# map kitty_mod+6 sixth_window
217# map kitty_mod+7 seventh_window
218# map kitty_mod+8 eighth_window
219# map kitty_mod+9 ninth_window
220# map kitty_mod+0 tenth_window
221#: }}}
222
223#: Tab management {{{
224
225# map kitty_mod+right next_tab
226# map kitty_mod+left previous_tab
227# map kitty_mod+t new_tab
228# map kitty_mod+q close_tab
229# map kitty_mod+. move_tab_forward
230# map kitty_mod+, move_tab_backward
231# map kitty_mod+alt+t set_tab_title
232
233#: }}}
234
235#: Layout management {{{
236
237# map kitty_mod+l next_layout
238# map ctrl+alt+p last_used_layout
239
240#: }}}
241
242#: Font sizes {{{
243
244# map kitty_mod+equal change_font_size all +2.0
245# map kitty_mod+minus change_font_size all -2.0
246# map kitty_mod+backspace change_font_size all 0
247
248#: }}}
249
250#: Miscellaneous {{{
251
252# map kitty_mod+f11 toggle_fullscreen
253# map kitty_mod+u kitten unicode_input
254# map kitty_mod+f2 edit_config_file
255# map kitty_mod+escape kitty_shell window
256
257# map kitty_mod+a>m set_background_opacity +0.1
258# map kitty_mod+a>l set_background_opacity -0.1
259# map kitty_mod+a>1 set_background_opacity 1
260# map kitty_mod+a>d set_background_opacity default
261# map kitty_mod+delete clear_terminal reset active
262
263#: }}}
264
265# }}}