From 65c799f574a8845474c3e06facbdfeb52c8ceb68 Mon Sep 17 00:00:00 2001 From: Dmitry Chumak Date: Tue, 12 Sep 2023 00:51:40 +0300 Subject: [PATCH 1/2] [vim] noswapfile enabled --- vim/vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/vimrc b/vim/vimrc index dd614eb..a7fc463 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -7,6 +7,7 @@ filetype plugin indent on "Включает определение типа фа "... соответствующих ему плагинов и файлов отступов set nobackup set nowritebackup +set noswapfile set encoding=utf-8 syntax enable set timeoutlen=300 ttimeoutlen=0 " https://www.johnhawthorn.com/2012/09/vi-escape-delays/ From 6badd231f8d6db9799519dc08b0f00cf1ad216bd Mon Sep 17 00:00:00 2001 From: Dmitry Chumak Date: Tue, 12 Sep 2023 00:58:34 +0300 Subject: [PATCH 2/2] [win] added autohotkey config file --- windows/keyboard.ahk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 windows/keyboard.ahk diff --git a/windows/keyboard.ahk b/windows/keyboard.ahk new file mode 100644 index 0000000..1c315f7 --- /dev/null +++ b/windows/keyboard.ahk @@ -0,0 +1,17 @@ +#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. +; #Warn ; Enable warnings to assist with detecting common errors. +SendMode Input ; Recommended for new scripts due to its superior speed and reliability. +SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. + +; Ctrl-Space to emit Win-Space which is used to switch keyboard layout +^space::#space + +LCtrl & Tab:: AltTab + +; remapping Ctrl- to emit Win- to switch between pinned apps +; on task panel +^1::Send #{1} +^2::Send #{2} +^3::Send #{3} +^4::Send #{4} +^5::Send #{5}