Config for Wezterm, Fish, Neovim, Vim and Ripgrep. Not tested for Windows.
Requires: git
cd
- git clone as ~/.config
ln -s .config/vimrc .vimrc
set -Ux RIPGREP_CONFIG_PATH ~/.config/ripgreprc
ln -s .config/viebrc .viebrc
- homebrew for Macos
- fish---shell with modern usable defaults (and keep an eye on nu shell).
- fisher, fish plugin manager.
- ripgrep.
- fd, find replacement.
- bat, cat replacement.
- fzf.
- and for fish: https://github.com/jethrokuan/fzf or https://github.com/PatrickF1/fzf.fish
- np for easy NPM package publication.
- fnm for fast Node.js version managing. Previously used nvm, and for fish fish-nvm.
- multiplexer: zellij, tmux, (keep an eye on tab-rs).
- exa,
ls
replacement. - neovim GUI: goneovim or neovide.
More global fish config from the shell:
set -Ux FZF_DEFAULT_COMMAND rg --files --hidden --follow
set -Ux EDITOR "vim"
# create and save alias
alias ls "exa"
funcsave ls
# to remove
functions --erase ls
functions -n
You can also use file: .config/fish/config.fish
Functional, lightweight and 'native extending' neovim config with a focus on web front-end coding, though it's usable for most text editing. Uncomplicated config for dummies hacking (author included).
Install Neovim >= 0.8.0 (needs to be built with LuaJIT), fzf, ripgrep, fd, bat, delta, prettierd. nvim
and Lazy.nvim installs. Then:
:TSInstall all
/:TSUpdate
:Mason
to install LSPs
- format files async on save, but not if their too big, or min...
A Vim config that works without plugins. It gives no errors on missing plugins unless keymaps/commands requiring plugins are used. Requries:
- Vim >= version 8 +lua.
- Package managing with minpac
Terminal:
brew update && brew upgrade
fisher update
npm -g update
npm -g outdate
npm -g i …@latest
Explicitly install outdated global NPM packages not automatically updated.
Neovim:
:Lazy<cr>
S
:TSUpdate<cr>
:Mason<cr>
U
-
UTF-8 fish, tmux, neovim LANG, LC_ALL error. Try adding this to your
~/.config/fish/config.fish
:set -gx LC_ALL en_US.UTF-8
-
Neovim: restart, see Maintenance.
:checkhealth<cr>
-
Neovim Treesitter "missing xcrun" for Macos:
xcode-select --install
-
Neovim Treesitter "error executing Lua": nvim-treesitter/nvim-treesitter#3092
-
Neovim css autocompletion with css-lsp may depend on native non-LSP omnifunc.