Commit Graph

36 Commits

Author SHA1 Message Date
Sanchayan Maity 09894c1660
Specify fonts generically
Since we have a proper fontconfig in place, let that be the source
of truth for the font to be used and just specify monospace as the
font to be used everywhere else.
2023-01-15 17:22:14 +05:30
Sanchayan Maity f0ad084c84 kitty: Allow borders to be distinguished easily 2022-02-10 21:31:57 +05:30
Sanchayan Maity f719100133 kitty: Open the last command output in neovim 2022-02-08 15:47:57 +05:30
Sanchayan Maity 34671c62fa kitty: Add mapping to jump to the 10th tab 2022-01-13 17:37:12 +05:30
Sanchayan Maity d72b6430a4 kitty: Simplify the scroll back pager command invocation
There is no need for us to make neovim execute those commands at
startup.
2022-01-05 18:21:10 +05:30
Sanchayan Maity 287798ad1f kitty: diff: Specify color scheme for kitty diff 2022-01-04 19:35:56 +05:30
Sanchayan Maity 4ecaa955df kitty: Use Regular instead of Medium Italic 2022-01-04 18:23:47 +05:30
Sanchayan Maity 43bcc268cd kitty: Enable shell integration
This is available since 0.24.
2022-01-04 17:52:20 +05:30
Sanchayan Maity 568cae50eb kitty: Add the default color scheme used by foot
We pick the same base 16 colors as in the default foot configuration
but with the background set to complete black viz #000000. Might want
to use this at a later date.
2021-12-29 19:36:24 +05:30
Sanchayan Maity 93c0c7033b kitty: Drop srcery color scheme and use default 2021-12-28 19:24:45 +05:30
Sanchayan Maity ae61dca249 Switch back to JetBrains Mono
To make sure symbols still get rendered properly, we need to install
the ttf-nerd-fonts-symbols package. Then make sure the below symlink
is present to make it work.

ln -s /usr/share/fontconfig/conf.avail/10-nerd-font-symbols.conf /etc/fonts/conf.d/10-nerd-font-symbols.conf
2021-12-28 19:23:18 +05:30
Sanchayan Maity c969cc7ed4 kitty: session: Do not launch tiny IRC automatically 2021-12-21 19:56:52 +05:30
Sanchayan Maity f993461dec kitty: Improve scroll back pager
Do not set file type to man, as it gives the same highlight to
everything and the standard white on black is better.

Also load our own custom plugin to purge ANSI color codes from the
buffer on loading.
2021-11-18 10:39:22 +05:30
Sanchayan Maity 7c767dcb9a kitty: session: Place pipewire tabs at start 2021-11-17 11:13:14 +05:30
Sanchayan Maity 952af3ae06 kitty: Add a session configuration 2021-10-13 12:48:52 +05:30
Sanchayan Maity a657297158 kitty: Switch to arrow keys for scroll
Use arrow keys as HJKL is not usable like before with the switch to
Colemak.
2021-08-12 18:00:59 +05:30
Sanchayan Maity e92cc8a823 kitty: Add a mapping to move to previous and next window 2021-08-06 10:51:22 +05:30
Sanchayan Maity b2d1a3ee62 kitty: Remove deprecated option
From 0.21.0 the options to control which modifiers keys to press
for various mouse actions have been removed. The options were:
terminal_select_modifiers, rectangle_select_modifiers and open_url_modifiers.

Use the mouse actions framework if these are needed.
2021-07-14 10:40:56 +05:30
Sanchayan Maity 74b4f194b8 Switch to Victor Mono
The vanilla JetBrains Mono does not render some ligatures like =>
properly which made us use nerd-fonts package. However, the nerd-fonts
jetbrains-mono font seems to sometimes cause problems with kitty not
recognizing it by the standard name. Could be a fontconfig issue as well.

Switch to Victor Mono which also has ligature support and does not seem
to suffer from the problem above. We need the nerd-fonts version as well
due to nvim-web-devicons requiring patched fonts.

Deploying the fontconfig change seems to make the devicons in the
neovim status line render better at least size wise.
2021-07-13 19:52:56 +05:30
Sanchayan Maity 55f71e8346 kitty: Update some key mappings 2021-06-01 16:27:51 +05:30
Sanchayan Maity 12ca3f31e4 kitty: Use xdg-open for opening URLs
This depends on default-web-browser being set with xdg as below.
$ xdg-settings set default-web-browser firefox-wayland.desktop

firefox-wayland is our own small one liner script to open
firefox with wayland enabled.

MOZ_ENABLE_WAYLAND=1 firefox $@
2021-05-21 11:08:55 +05:30
Sanchayan Maity 2f911b8e34 kitty: Change mapping for closing window and tab
Did like to use ctrl+q for building quickfix list in fzf.vim and this
should also make us less prone to accidentally closing tabs or windows.
2021-05-08 14:39:58 +05:30
Sanchayan Maity 79ec344e43 kitty: Fix font family description
Not sure why it worked before.
2021-04-20 11:32:14 +05:30
Sanchayan Maity 6e042db9d8 Revert "kitty: Disable transparent background"
This reverts commit d403912b1d.
2021-02-24 10:42:19 +05:30
Sanchayan Maity c5a2ca44a7 kitty: Change cursor shape to underline 2021-02-12 11:20:31 +05:30
Sanchayan Maity d403912b1d kitty: Disable transparent background 2021-02-12 00:58:47 +05:30
Sanchayan Maity 7ba3a0cc2a kitty: Use neovim as scrollback pager 2021-01-10 17:55:47 +05:30
Sanchayan Maity c3019c997d kitty: Turn off audio bell 2021-01-08 19:02:54 +05:30
Sanchayan Maity 58c02ce5b9 kitty: Switch to nerd font patched JetBrains Mono
Without this, the symbol => does not get rendered correctly.
2020-12-25 15:04:01 +05:30
Sanchayan Maity 30aa34c9a3 kitty: Map Ctrl+d to no_op
Ctrl+d seems to close window. Map it to no_op.
2020-12-19 16:26:31 +05:30
Sanchayan Maity 6e63f234af kitty: Fix key bindings for setting layouts 2020-12-12 12:55:28 +05:30
Sanchayan Maity 509d28c4c8 kitty: Use default value of term applicable for kitty 2020-12-11 17:00:32 +05:30
Sanchayan Maity b4cd8c26a2 kitty: Use cwd when opening new window
This is what we want most of the time. Add another key binding if we
want to open a window not in cwd.
2020-12-11 14:48:29 +05:30
Sanchayan Maity e3c7b2d052 kitty: Use Ctrl+q for closing window and not Ctrl+w 2020-12-10 11:44:42 +05:30
Sanchayan Maity b1568e7803 kitty: Update font size, tab bar and scroll back settings
Also disable the Ctrl+]/[ binding as it is used for tag jump in vim.
2020-11-25 21:07:29 +05:30
Sanchayan Maity 989a76eba7 Add initial kitty configuration 2020-11-24 11:13:23 +05:30