My Favorite Softwares
My Favorite Softwares
Editor
Neovim
Try out my configuration of Neovim based on LazyVim:
https://github.com/mirpri/MyLazyVim
clangd config
Clangd is the C/C++ language server you may use for C/C++ developing with neovim. In windows, it can be configured globally in C:\Users\xxx\AppData\Local\clangd\config.yaml. You need to adjust the settings based on your default compiler and set your preferred standard. Basically, if you are using the latest version of mingw, set to:
CompileFlags:
Add:
- -std=c++17 # set standard
- --target=x86_64-w64-windows-gnu # Universal Headers will workZed
Zed is a modern alternative to vscode written in Rust.
Shell
nushell (Windows)
I use Nushell on Windows as it is much faster than PowerShell and behaves more (though not exactly) like a Unix shell. It fast, beautiful and flexible.
condaconda init doesn't support nushell. You will need script from nu_scripts. and use it in config.nu:
use ./conda.nuoh-my-posh
omp can work seemlessly with nushell.
Fish
Fish is a very user-friendly shell. It literally have the best auto-completion experience out of the box.
Configuration
To disable welcome message add this line:
set -g fish_greetingto ~/.config/fish/config.fish (This is fish's config file like bash's ~/.bashrc)
Change welcome message:
set -g fish_greeting "Hello"Or to display system info:
set -l os_info (grep "PRETTY_NAME" /etc/os-release | cut -d '"' -f 2)
set -g fish_greeting "Welcome to $os_info!"Environment variables
Fish uses set -x (instead of export in bash) to set environment variables.
Add to path:
set -x PATH $PATH /path/to/your/binSet http proxy:
set -x http_proxy http://127.0.0.1:7890
set -x https_proxy http://127.0.0.1:7890
set -x all_proxy socks5://127.0.0.1:7890Other shells
If you don't have fish installed, you can configure zsh or bash to have similar experience.
For zsh, install oh-my-zsh and add plugins.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-completions ~/.oh-my-zsh/custom/plugins/zsh-completions
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-history-substring-search ~/.oh-my-zsh/custom/plugins/zsh-history-substring-search
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlightingAdd plugins to ~/.zshrc: Search for plugins= in the file and change to:
plugins=(git zsh-completions zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting)For bash, ble.sh provides a similar experience.
# build from source
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.git
make -C ble.sh install PREFIX=$HOME/.local
# or download nightly
curl -L https://github.com/akinomyoga/ble.sh/releases/download/nightly/ble-nightly.tar.xz | tar xJf -
bash ble-nightly/ble.sh --install ~/.local/share
echo 'source -- ~/.local/share/blesh/ble.sh' >> ~/.bashrcMedia Player: mpv
A minimal yet powerful video player. Blazing fast and fully customizable.
Official site: https://mpv.io
My configuration: https://github.com/mirpri/mpv-config
It's recommended to install from scoop and build file association with scripts from this repo.