- Работа выполнена самостоятельно.
- Работа создана во время проведения занятия.
- Не менее трех коммитов за авторством студента, равномерно распределенных по времени выполнения задания.
- Работа размещена на удаленном репозитории на Gitlab в папке студента в группе Mospolytech_fit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Caps Lock to Escape, enable Left Control when held", | |
"rules": [ | |
{ | |
"description": "Caps Lock to Escape on single press, Left Control on press and hold.", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "caps_lock", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Caps Lock (Ctrl) + HJKL", | |
"rules": [ | |
{ "description": "Caps Lock to Ctrl", | |
"manipulators": [{"type": "basic", "from": {"key_code": "caps_lock", "modifiers": {"optional": ["any"]}}, "to": [{"key_code": "left_control"}]}] }, | |
{ "description": "Ctrl + H/J/K/L to Arrow Keys", | |
"manipulators": [{"type": "basic", "from": {"key_code": "h", "modifiers": {"mandatory": ["left_control"], "optional": ["any"]}}, "to": [{"key_code": "left_arrow"}] }, | |
{"type": "basic", "from": {"key_code": "j", "modifiers": {"mandatory": ["left_control"], "optional": ["any"]}}, "to": [{"key_code": "down_arrow"}]}, | |
{"type": "basic", "from": {"key_code": "k", "modifiers": {"mandatory": ["left_control"], "optional": ["any"]}}, "to": [{"key_code": "up_arrow"}]}, | |
{"type": "basic", "from": {"key_code": "l", "modifiers": {"mandatory": ["left_control"], "optional": ["any"]}}, "to": [{"key_code": "right_arrow"}]}] }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
background #0e1419 | |
foreground #e5e1cf | |
cursor #f19618 | |
selection_background #243340 | |
color0 #000000 | |
color8 #555555 | |
color1 #ff3333 | |
color9 #ff6565 | |
color2 #b8cc52 | |
color10 #e9fe83 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: superuser.com/questions/776008 | |
function fish_remove_path --description "Remove paths from the PATH" | |
if set -l index (contains -i $argv[1] $PATH) | |
set --erase --universal fish_user_paths[$index] | |
echo "Updated PATH: $PATH" | |
else | |
echo "$argv[1] not found in PATH: $PATH" | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function man | |
if test $COLUMNS -gt 80 | |
set -gx MANWIDTH 80 | |
else | |
set -gx MANWIDTH $COLUMNS | |
end | |
command man --no-hyphenation --no-justification $argv | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
text=$(man "$@") && echo "$text" | vim -R +":set ft=man nolist nonu fdm=indent sw=7" - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim:fileencoding=utf-8:foldmethod=marker | |
# Keyboard bindings | |
map ctrl+p nth_window -1 | |
map ctrl+c copy_and_clear_or_interrupt | |
map ctrl+v paste_from_clipboard | |
map kitty_mod+t new_tab_with_cwd | |
map kitty_mod+enter new_window_with_cwd | |
# map kitty_mod+n new_os_window_with_cwd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mariana theme from Sublime Text for Kitty terminal | |
foreground #d5dee9 | |
background #303841 | |
cursor #f9ae57 | |
cursor_text_color background | |
selection_foreground #d5dee9 | |
selection_background #596673 |
NewerOlder