A 🔋 included SwayFX config primarily written for Arch (with your contribution it can support your distro too!)
A few of OurDotfiles features:
- SwayFX (Sway with Eye Candy!)
- Neovim (with 🔋 included IDE-like config)
- Rofi
- Wezterm (with included oh-my-zsh + Powerline10k theme)
- Yazi (Set as your default file manager with the help of xdg-desktop-portal-termfilechooser!)
- waybar
- tmux
- btrfs snapshotting (If you're using btrfs, it will automagically set up Snapper as well as grub-btrfs and snap-pac for easier recovery from borked updates!)
- shared games folder (on seperate subvolume for improved space savings while gaming and utilizing snapshots!)
THE NEXT LINE AUTOMATICALLY RUNS THE INSTALLER PLEASE READ BEFORE RUNNING
curl -sSL https://raw.githubusercontent.com/GR3YH4TT3R93/OurDots/main/.config/scripts/install.sh | bash
git clone --recurse-submodules https://github.com/GR3YH4TT3R93/OurDots.git ~/
~/.config/scripts/install.sh
# bare:
b remote set-url https://your.git.fork/repo
# regular:
git init
git config --local status.showUntrackedFiles no
git remote add origin https://your.git.fork/repo
e # open editor
Use ESC or CTRL-[ to enter Normal mode.
But some people may like the custom escape key such as jj, jk and so on,
if you want to custom the escape key, you can learn more from here.
ctrl-p: Previous command in historyctrl-n: Next command in history/: Search backward in historyn: Repeat the last/
Normal mode is indicated with block style cursor, and Insert mode with
beam style cursor by default.
In Normal mode you can use vv to edit current command line in an editor
(e.g. vi/vim/nvim...), because it is bound to the Visual mode.
You can change the editor by ZVM_VI_EDITOR option, by default it is
$EDITOR.
$: To the end of the line^: To the first non-blank character of the line0: To the first character of the linew: [count] words forwardW: [count] WORDS forwarde: Forward to the end of word [count] inclusiveE: Forward to the end of WORD [count] inclusiveb: [count] words backwardB: [count] WORDS backwardt{char}: Till before [count]'th occurrence of {char} to the rightT{char}: Till before [count]'th occurrence of {char} to the leftf{char}: To [count]'th occurrence of {char} to the rightF{char}: To [count]'th occurrence of {char} to the left;: Repeat latest f, t, F or T [count] times,: Repeat latest f, t, F or T in opposite direction
i: Insert text before the cursorI: Insert text before the first character in the linea: Append text after the cursorA: Append text at the end of the lineo: Insert new command line below the current oneO: Insert new command line above the current one
There are 2 kinds of keybinding mode for surround operating, default is
classic mode, you can choose the mode by setting ZVM_VI_SURROUND_BINDKEY
option.
classicmode (verb->s->surround)
S": Add"for visual selectionys": Add"for visual selectioncs"': Change"to'ds": Delete"
s-prefixmode (s->verb->surround)
sa": Add"for visual selectionsd": Delete"sr"': Change"to'
Note that key sequences must be pressed in fairly quick succession to avoid a timeout. You may extend this timeout with the ZVM_KEYTIMEOUT option.
vi": Select the text object inside the quotesva(: Select the text object including the brackets
Then you can do any operation for the selection:
- Add surrounds for text object
vi"->S[orsa[=>"object"->"[object]"va"->S[orsa[=>"object"->["object"]
- Delete/Yank/Change text object
di(orvi(->dca(orva(->cyi(orvi(->y
In normal mode, typing ctrl-a will increase to the next keyword, and typing
ctrl-x will decrease to the next keyword. The keyword can be at the cursor,
or to the right of the cursor (on the same line). The keyword could be as
below:
- Number (Decimal, Hexadecimal, Binary...)
- Boolean (True or False, Yes or No, On or Off...)
- Weekday (Sunday, Monday, Tuesday, Wednesday...)
- Month (January, February, March, April, May...)
- Operator (&&, ||, ++, --, ==, !==, and, or...)
- ...
For example:
- Increment
9=>10aa99bb=>aa100bbaa100bc=>aa101bc0xDe=>0xdf0Xdf=>0Xe00b101=>0b1100B11=>0B101true=>falseyes=>noon=>offT=>FFri=>SatOct=>NovMonday=>TuesdayJanuary=>February+=>-++=>--===>!=!===>===&&=>||and=>or- ...
- Decrement:
100=>99aa100bb=>aa99bb0=>-10xdE0=>0xDDF0xffFf0=>0xfffef0xfffF0=>0xFFFEF0x0=>0xffffffffffffffff0Xf=>0Xe0b100=>0b0100B100=>0B011True=>FalseOn=>OffSun=>SatJan=>DecMonday=>SundayAugust=>July/=>*++=>--===>!=!===>===||=>&&or=>and- ...