Skip to content

Jaehaks/Dotfiles

Repository files navigation

Dotfiles

Dotfiles besides of nvim_config

Contensts

  • Dotfiles
    • Contensts
    • plugins
      • [1. Clink](#1-clinkhttpsgithubcomalacrittyalacrittytabreadme-ov-file)
      • [2. FZF](#2-fzfhttpsgithubcomjunegunnfzf)
      • [3. z.lua](#3-zluahttpsgithubcomskywind3000zlua)
      • [3. Alacritty](#3-alacrittyhttpsgithubcomalacrittyalacrittytabreadme-ov-file)

plugins


  • 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}

  • Installation
    1. Download clink from release page Assets : clink.1.6.14.93b83f.zip
    2. Unzip the zip file to wanted location
    3. Register the installed location to system path
    4. 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
    5. Make symbolic link to use prompt.lua :
      • mklink <clink install path>\prompt.lua <Dotfiles path>\clink\prompt.lua
    6. Make symbolic link to use git_checkout.lua :
      • mklink <clink install path>\git_checkout.lua <Dotfiles path>\clink\git_checkout.lua
    7. open cmd.exe and do clink autorun install

  • Related file list
    • clink\.inputrc : configuration file
    • clink\clink_settings : setting file
    • clink\prompt.lua : prompt customization file
    • clink\git_checkout.lua : show completion of branch when checkout


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
    1. Install fzf : scoop install fzf
    2. Install fd : scoop install fd
    3. Install iconv : scoop install iconv
    4. Install nvim : scoop install nvim
    5. Install msoffice / adobe acrobat
    6. Register this clink\ directory to environment variable PATH
    7. Register installation paths which have excel.exe, powerpnt.exe and Acrobat.exe to system PATH.

  • 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 using nvim

  • 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
    1. (pre-required) Install clink
    2. Download z.lua : git clone https://github.com/skywind3000/z.lua.git
    3. Copy z.lua and z.cmd from git repository to clink installation directory
    4. Register clink installation directory to environment variable PATH
    5. use cmd /k <Dotfile path>\Dotfiles\clink\aliases.cmd

  • Usage
    • zi <keyword> : aliase of z -I $*
      • show fzf window with path related <keyword>
    • zl <keyword> : aliase of z -l $*
      • show list of path related <keyword>
    • zt <keyword> : aliase of z -t %*
      • Go to the most recent path related <keyword>

  • 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 file
    • clink\ac.cmd : To call alacritty.exe with shorten name.

  • Installation
    1. Install alacritty : scoop install alacritty
    2. Make dir for configuration : mkdir %APPDATA%\alacritty
    3. 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)


  • Description

    • TUI file manager
  • Installation

    1. install git for windows :
    2. scoop install yazi 7zip jq poppler fd ripgrep fzf zoxide imagemagick
    3. scoop install jid : suggest instead of jq when install jq from scoop
    4. scoop install jid ghostscript : imagemagick needs ghostscript
    5. Add environment variable to aliase.cmd : set "YAZI_FILE_ONE=C:\Program Files\Git\usr\bin\file.exe"
    6. Add environment variable to aliase.cmd : set "YAZI_CONFIG_HOME=%HOME%\.config\Dotfiles\yazi"
    7. make yazi home directory : mkdir %HOME%\.config\Dotfiles\yazi
    8. copy default yazi configuration files to YAZI_CONFIG_HOME from yazi-config/preset
    9. (optional) add excel.exe path to system environment variables for opening with excel
    10. (optional) add sumatraPDF.exe path to system environment variables for opening with sumatraPDF
    11. (optional) add fg.cmd path to system environment variables for plugin fg
    12. (optional) add fg_fzf.cmd path to system environment variables for plugin fg
    13. (optional) add bat_range.cmd path to system environment variables for plugin fg
  • Tips

    • file --mime-type <filename>
      • For checking and using mime field in yazi.toml, use this command
  • 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

  • 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

About

Dotfiles besides of nvim_config

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published