Skip to content

leisurelicht/.licht-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

我的配置集合

What this repository doing

  • manage, save my computer environment and soft config

  • Primarily for macOS, and sometimes use on ubuntu.

  • Include

    • kitty configurations
    • tmux configurations
    • a simple vim configurations in one file
    • a custom neovim configurations base on LazyVim.
    • zsh configurations
    • the installation and uninstallation script for all the configurations mentioned above

File structure

.
├── bak
├── installed // brew install soft list
├── kitty // kitty configuration
├── LICENSE
├── README.md
├── tmux // tmux configuration
├── vi // vim & neovim configuration
└── zsh // zsh configuration

Usage

Clone repository

git clone --depth=1 https://github.com/leisurelicht/.licht-config.git

Kitty

Usage

  • install

    ./install.sh kitty
  • uninstall

    ./uninstall.sh kitty

File structure

.
└── kitty.conf

Zsh

Usage

  • install

    ./install.sh zsh
    • change terminal font to Hack Nerd Font
    • if you're using iTerm2, you can refer to the following configuration.

    image

  • uinstall

    ./uninstall.sh zsh

File structure

└── zsh
   ├── aliasrc // command aliasrc
   ├── export_env // environment
   ├── fzf.zsh // fzf configuration file
   ├── install.sh
   ├── p10k.zsh // p10k configuration file
   ├── README.md
   └── zshrc // zsh configuration file

Tmux

Preview

image

Usage

  • install

    1. run install script
    ./install.sh tmux
    1. run tmux and install tmux plugins
    tmux
    <C-b>I
    1. only install mini tmux config
    curl -o ~/.tmux.conf https://raw.githubusercontent.com/leisurelicht/.licht-config/master/tmux/mini.conf
    
  • uninstall

    ./uninstall.sh tmux

File structure

.
├── install.sh // install script
├── README.md
├── tmux.conf // tmux configuration
└── uninstall.sh // uninstall configuration

Common key mapping

  • C = Ctrl = Control
  • pk = Prefix Key = <Ctrl-b>
* key description
--> session
pk-d detach the current client
pk-w choose a window from a list
pk-r reload tmux configuration
pk-I install tmux plugins
pk-i display window info
--> window
C-d quit but not close client
pk-c create a new window
pk-& kill the current window
pk-n select the next window
pk-p select the previous window
pk-f search for a pane
pk-number select a window based on a number
pk-' select a window based on a number
pk-, rename the current window
pk-> scroll preview left
pk-< scroll preview right
--> pane
C-d close the current pane
pk-x kill the active pane
pk-\ create a pane horizontally
pk-% create a pane horizontally
pk-| create a pane horizontally on the far right
pk-" create a pane vertically
pk-- create a pane vertically
pk-_ create a pane vertically on the very bottom
pk-; move to the previously active pane
pk-q show the number for each pane
pk-z zoom the active pane
pk-h move the cursor to the left pane
pk-l move the cursor to the right pane
pk-j move the cursor to the below pane
pk-k move the cursor to the above pane
pk-H resize the current pane left by 5
pk-L resize the current pane right by 5
pk-J resize the current pane down by 5
pk-K resize the current pane up by 5
pk-! move the current pane to a new window
pk-o move to the next pane in the current window
pk-{ swap the active pane with the pane above
pk-} swap the active pane with the pane below
pk-Alt+o rotate through the panes in reverse
pk-Ctrl+o rotate through the panes in clockwise
--> Other
pk-t show time in full screen

Vim && Neovim

Usage

  • install

    1. install full version
    ./install.sh [vim/neovim]
    1. only install mini vim
    curl -o ~/.vimrc https://raw.githubusercontent.com/leisurelicht/.licht-config/master/vi/vim/mini
  • uninstall

    ./uninstall.sh [vim/neovim]

File structure

.
├── nvim
│  ├── ftplugin
│  ├── init.lua
│  ├── lazy-lock.json
│  ├── lua
│  └── plugin
└── vim
   ├── autoload
   ├── config
   ├── custom
   ├── extends
   └── vimrc

Releases

No releases published

Packages

No packages published