Skip to content

Instantly share code, notes, and snippets.

View sourcevault's full-sized avatar

sourcevault

View GitHub Profile
-------------
|           |
|           |
|           |
|           |
-------------
"rows":[0,1],
"cols":[0,1,1],
"cells":[[0,0,1,1],[1,0,2,1]]
@sourcevault
sourcevault / Default (Windows).sublime-keymap
Created May 27, 2023 18:56
snippet to provide cyrillic symbol support for neovintageous plugin (vim extenstion) in sublime text for FRU_76 and FRU_68 keeyboard layout.
{"keys": ["з"],"command": "nv_feed_key", "args": {"key": "z"},"context": [{"key": "vi_command_mode_aware"}]},
{"keys": ["З"],"command": "nv_feed_key", "args": {"key": "Z"},"context": [{"key": "vi_command_mode_aware"}]},
{"keys": ["б"],"command": "nv_feed_key", "args": {"key": "v"},"context": [{"key": "vi_command_mode_aware"}]},
{"keys": ["Б"],"command": "nv_feed_key", "args": {"key": "V"},"context": [{"key": "vi_command_mode_aware"}]},
{"keys": ["ю"],"command": "nv_feed_key", "args": {"key": "x"},"context": [{"key": "vi_command_mode_aware"}]},
{"keys": ["Ю"],"command": "nv_feed_key", "args": {"key": "X"},"context": [{"key": "vi_command_mode_aware"}]},
{"keys": ["с"],"command": "nv_feed_key", "args": {"key": "s"},"context": [{"key": "vi_command_mode_aware"}]},
{"keys": ["С"],"command": "nv_feed_key", "args": {"key": "S"},"context": [{"key": "vi_command_mode_aware"}]},
{"keys": ["т"],"command": "nv_feed_key", "args": {"key": "t"},"context": [{"key": "vi_command_mode_aware"}]},
{"keys": ["T"]
@sourcevault
sourcevault / vim.md
Last active July 19, 2023 00:16
vim commands and their description

VIM commands

description command
open help for keyword :h keyword
save file as :sav file
close current pane :clo
open a terminal window :ter
open man page for word under the cursor K

Cursor movement

| description | command |

" Type :help nv for help.
" set noendofline binary
set ignorecase
let mapleader=<space>
let maplocalleader=e
@sourcevault
sourcevault / greasemonkey.txt
Last active February 15, 2024 08:01
reddit_sidebar_hide for greasemonkey
// ==UserScript==
// @name reddit sidebar_hide 445502
// @version 1
// @grant none
// ==/UserScript==
// Reddit Sidebar Toggle.
// Created by Dylan Araps.