Dotfiles besides of nvim_config
1. Clink
- Description
- bash's powerful command line editing in cmd.exe on Windows
- It supports colored command completion, autosuggestion, prompt Customization, lua plugins
- Features
clink_settings
:- customized prompt colors
- hide autosuggestion hint
.inputrc
:- set as accept autosuggestion
prompt.lua
:- show current git branch name / git status
- customize prompt and arg colors
- show virtual environment name
git_checkout.lua
:- show completion list when input
TAB
after command {checkout, branch, merge}
- show completion list when input
- Installation
- Download clink from release page Assets :
clink.1.6.14.93b83f.zip
- Unzip the zip file to wanted location
- Register the installed location to system path
- Register system variables to recognize configuration path : (
clink info
to confirm inputrc path is right)CLINK_INPUTRC
:<Dotfile path>\Dotfiles\clink
CLINK_SETTINGS
:<Dotfile path>\Dotfiles\clink
- Make symbolic link to use
prompt.lua
:mklink <clink install path>\prompt.lua <Dotfiles path>\clink\prompt.lua
- Make symbolic link to use
git_checkout.lua
:mklink <clink install path>\git_checkout.lua <Dotfiles path>\clink\git_checkout.lua
- open
cmd.exe
and doclink autorun install
- Download clink from release page Assets :
- Related file list
clink\.inputrc
: configuration fileclink\clink_settings
: setting fileclink\prompt.lua
: prompt customization fileclink\git_checkout.lua
: show completion of branch when checkout
- Reference
- Detailed configuration : Clink manual page
2. FZF
- Description
- A command-line fuzzy finder
- It has some limitation on Windows to use like Linux. With these files, you can use fzf for file opening and finding directories
- Related file list
clink\fzff.cmd
: To open selected file (supports excel / powerpoint / acrobat pdf)clink\fzfd.cmd
: To navigate directories
- Installation
- Install fzf :
scoop install fzf
- Install fd :
scoop install fd
- Install iconv :
scoop install iconv
- Install nvim :
scoop install nvim
- Install msoffice / adobe acrobat
- Register this
clink\
directory to environment variable PATH - Register installation paths which have
excel.exe
,powerpnt.exe
andAcrobat.exe
to system PATH.
- Install fzf :
- Usage
fzfd <directory>
- If <directory> is empty, it finds subdirectories in current directories using fzf.
- If you input path as <directory>, it finds subdirectories in <directory> using fzf.
fzff
- It finds all files in current subdirectories.
Enter
will open the sleeted file along to file extension. Files which are not belonged to excel, ppt and pdf will open usingnvim
3. z.lua
- Description
- A new cd command that helps you navigate faster by learning your habits.
- It works well to detect non-English paths, If your terminal's chcp is 65001 (utf-8).
- With FZF, z.lua give very convenient way to navigate.
- Related file list
clink\aliases.cmd
: To make aliases command
- Installation
- (pre-required) Install clink
- Download z.lua :
git clone https://github.com/skywind3000/z.lua.git
- Copy
z.lua
andz.cmd
from git repository to clink installation directory - Register clink installation directory to environment variable PATH
- use
cmd /k <Dotfile path>\Dotfiles\clink\aliases.cmd
- Usage
zi <keyword>
: aliase ofz -I $*
- show fzf window with path related <keyword>
zl <keyword>
: aliase ofz -l $*
- show list of path related <keyword>
zt <keyword>
: aliase ofz -t %*
- Go to the most recent path related <keyword>
4. Alacritty
- Description
- Terminal emulator using openGL, Fast response to replace windows-terminal.
- It would be useful to execute wsl.
- Customization is rich
- It supports Vi mode for search (but not edit). I use this instead of clink's vi mode.
- (cons) It cannot support split window.
- (cons) It doesn't support preset profiles
- Related file list
alacritty\
: configuration fileclink\ac.cmd
: To call alacritty.exe with shorten name.
- Installation
- Install alacritty :
scoop install alacritty
- Make dir for configuration :
mkdir %APPDATA%\alacritty
- Make link with configuration file :
mklink %APPDATA%\alacritty\alacritty.toml <path to dotfile>\Dotfiles\alacritty\alacritty.toml
(:exclamation::exclamation: Caution : terminal should have administrator privilege)
- Install alacritty :
- Reference
- Detailed configuration list : Alacritty configuration page
5.yazi
-
Description
- TUI file manager
-
Installation
- install
git for windows
: scoop install yazi 7zip jq poppler fd ripgrep fzf zoxide imagemagick
scoop install jid
: suggest instead ofjq
when installjq
from scoopscoop install jid ghostscript
:imagemagick
needs ghostscript- Add environment variable to
aliase.cmd
:set "YAZI_FILE_ONE=C:\Program Files\Git\usr\bin\file.exe"
- Add environment variable to
aliase.cmd
:set "YAZI_CONFIG_HOME=%HOME%\.config\Dotfiles\yazi"
- make yazi home directory :
mkdir %HOME%\.config\Dotfiles\yazi
- copy default yazi configuration files to
YAZI_CONFIG_HOME
from yazi-config/preset - (optional) add
excel.exe
path to system environment variables for opening with excel - (optional) add
sumatraPDF.exe
path to system environment variables for opening with sumatraPDF - (optional) add
fg.cmd
path to system environment variables for pluginfg
- (optional) add
fg_fzf.cmd
path to system environment variables for pluginfg
- (optional) add
bat_range.cmd
path to system environment variables for pluginfg
- install
-
Tips
file --mime-type <filename>
- For checking and using
mime
field in yazi.toml, use this command
- For checking and using
-
plugins
- ouch.yazi => Can I replace it by bandizip? (
bz l <filename>
)- Show archive preview even though is has subdirectories, it shows folder tree in preview.
- ouch cannot show non-english word properly.
- pre-required
scoop install ouch
- yamb.yazi
- using vim-like mark to go to marked folder
- what-size.yazi
- calculate size of current selection or cwd (if there are not selection)
- pre-required
du
:scoop install uutils-coreutils
- changed notify time from 5s to 1s
- system-clipboard.yazi
- copy files from yazi and paste to other windows explorer
- pre-required
clipboard
:scoop install clipboard
- key :
Y
- test
- ouch.yazi => Can I replace it by bandizip? (
6. komorebi
- Description
- tiling manager for windows
- tiling manager lists
glazewm
:- It is very fast and simple. It looks work well with other bug
- It doesn't support stacking window
- It use zebar to show where I am in workspace. but it doesn't support independent workspace in multi monitor
FancyWM
:- It is very stable to use but it is little slow to response
- It use virtual desktop of windows instead of workspace