sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
--[[ | |
lvim is the global options object | |
Linters should be | |
filled in as strings with either | |
a global executable or a path to | |
an executable | |
]] | |
-- THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT | |
-- general |
The following regular expressions are crafted to match some commonly used cryptocurrency wallet address types. This document details the Regex components and pattern tests to match Ethereum, Bitcoin, Dash and Monero addresses.
/^0x[a-fA-F0-9]{40}$/g
/* inline formatting, link targets and [[ ]] disappears if not active line*/ | |
div:not(.CodeMirror-activeline) > .CodeMirror-line span.cm-formatting, | |
div:not(.CodeMirror-activeline) > .CodeMirror-line span.cm-string.cm-url, | |
div:not(.CodeMirror-activeline) > .CodeMirror-line span.cm-formatting-link, | |
div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-hmd-barelink, | |
div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-comment | |
{ display: none; } | |
/* hide all html tags -- IT IS COMMENTED OUT BY DEFAULT */ | |
/* div:not(.CodeMirror-activeline) > .CodeMirror-line span.cm-tag{ display: none; } */ |
-- https://github.com/tekezo/Karabiner/issues/814 | |
-- HANDLE SCROLLING WITH MOUSE BUTTON PRESSED | |
local scrollMouseButton = 2 | |
local deferred = false | |
overrideOtherMouseDown = | |
hs.eventtap.new( | |
{hs.eventtap.event.types.rightMouseDown}, | |
function(e) | |
deferred = true |
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
" Specify a directory for plugins | |
call plug#begin('~/.vim/plugged') | |
Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
Plug 'scrooloose/nerdtree' | |
"Plug 'tsony-tsonev/nerdtree-git-plugin' | |
Plug 'Xuyuanp/nerdtree-git-plugin' | |
Plug 'tiagofumo/vim-nerdtree-syntax-highlight' | |
Plug 'ryanoasis/vim-devicons' | |
Plug 'airblade/vim-gitgutter' |
const btn = | |
document.querySelector('#debouceBtn') | |
.addEventListener('click', debounce(showMessage, 1000)); | |
function debounce(fn, millisec) { | |
let timer = 0; | |
return () => { | |
clearTimeout(timer); | |
timer = setTimeout(fn, millisec); | |
} |