Skip to content

Instantly share code, notes, and snippets.

View Walcriz's full-sized avatar
💬

Walcriz Walcriz

💬
View GitHub Profile
@Walcriz
Walcriz / vscode.lua
Last active October 14, 2023 20:51
Visual Studio Code Neovim configuration for when I need to use Live Share
--#####################################
-- VSCode Neovim Config for when I am forced to use VSCode
--
-- Walcriz
--#####################################
--------------
-- SETUP
--------------

Keybase proof

I hereby claim:

  • I am Walcriz on github.
  • I am walcriz (https://keybase.io/walcriz) on keybase.
  • I have a public key whose fingerprint is AF15 64FE B4F0 B8E3 0EBD E3A6 A763 3872 B1DA CA01

To claim this, I am signing this object:

@Walcriz
Walcriz / .ideavimrc
Last active April 20, 2024 14:47
Ideavim configuration
" General settings
set scrolloff=15
set belloff=all
set clipboard+=unnamedplus
set ignorecase
set smartcase
set incsearch
" Built in plugins
@Walcriz
Walcriz / cronhelper.sh
Created February 27, 2023 11:47
Simple utility for cronjobs. Install via: `chmod +x cronhelper.sh && sudo ln cronhelper.sh /usr/bin/cronhelper`
#!/bin/sh
# See: https://unix.stackexchange.com/questions/363376/how-do-i-add-remove-cron-jobs-by-script
usage () {
cat <<USAGE_END
Usage:
$0 add "job-spec"
$0 list
$0 remove "job-spec-lineno"
@Walcriz
Walcriz / .aminimalcommand
Last active August 6, 2023 13:25
Minimal .vimrc's:
:execute "bufdo set relativenumber | set number | set encoding=utf-8 | set ruler | set confirm | set fileencoding=utf-8 | set ignorecase | set smartcase | set incsearch | set paste | set smartindent | set tabstop=2 | set shiftwidth=2 | set nobackup | set formatoptions=tcrqn | set clipboard^=unnamed,unnamedplus | set hidden | set scrolloff=12 | inoremap <C-H> <C-\\><C-o>db"
@Walcriz
Walcriz / LS_COLORS
Created September 12, 2022 08:29
Personal LS colors
mi=0;38;2;0;0;0;48;2;255;92;87:pi=0;38;2;0;0;0;48;2;87;199;255:*~=0;38;2;102;102;102:rs=0:mh=0:do=0;38;2;0;0;0;48;2;255;106;193:ow=0:so=0;38;2;0;0;0;48;2;255;106;193:fi=0:ca=0:tw=0:ex=1;38;2;255;92;87:ln=0;38;2;255;106;193:bd=0;38;2;154;237;254;48;2;51;51;51:or=0;38;2;0;0;0;48;2;255;92;87:cd=0;38;2;255;106;193;48;2;51;51;51:sg=0:su=0:no=0:di=0;38;2;87;199;255:st=0:*.a=1;38;2;255;92;87:*.c=0;38;2;90;247;142:*.z=4;38;2;154;237;254:*.o=0;38;2;102;102;102:*.d=0;38;2;90;247;142:*.m=0;38;2;90;247;142:*.t=0;38;2;90;247;142:*.h=0;38;2;90;247;142:*.r=0;38;2;90;247;142:*.p=0;38;2;90;247;142:*.ts=0;38;2;90;247;142:*.cc=0;38;2;90;247;142:*.ko=1;38;2;255;92;87:*.ll=0;38;2;90;247;142:*.kt=0;38;2;90;247;142:*.cp=0;38;2;90;247;142:*.rm=0;38;2;255;180;223:*.cs=0;38;2;90;247;142:*css=0;38;2;90;247;142:*.nb=0;38;2;90;247;142:*.ps=0;38;2;255;92;87:*.xz=4;38;2;154;237;254:*.gv=0;38;2;90;247;142:*.bc=0;38;2;102;102;102:*.vb=0;38;2;90;247;142:*.lo=0;38;2;102;102;102:*.jl=0;38;2;90;247;142:*.pp=0;38;2;90;247;142:*.di=0;38;2;90;247;1
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@Walcriz
Walcriz / .vimrc
Last active October 16, 2022 17:57
" Configuration file for Vi Improved, save as ~/.vimrc to use.
" A heavly modified version of Miko Bartnicki's .vimrc by Walcriz.
" use Vim mode instead of pure Vi, it must be the first instruction
set nocompatible
" display settings
set encoding=utf-8 " encoding used for displaying file
set ruler " show the cursor position all the time
set showmatch " highlight matching braces
@Walcriz
Walcriz / aseprite-zoom-hotkey.ahk
Last active January 26, 2022 16:32
A very simple AHK script that makes zooming with a tablet in aseprite much better
; Very simple AHK script that makes zooming with a tablet in aseprite much better
; -= How to use this =-
; Ensure you have the "Edit -> Keyboard Shortcuts -> Mouse Wheel -> Zoom with scroll wheel" option enabled else this will NOT work
;
; Hold the 'Z' key and move your mouse/pen in either the X or Y axis (depending what you've set in the config below)
; to adjust the Zoom!
;
; Would recommend to disable the Zoom Tool hotkey inside of Aseprite if you have that set to 'Z'