Customizable zsh configuration using zplug, perzto, grml and fzf.
- Use zplug to manage plugins
- Change .zshrc.postconf to zshrc_custom.zsh
Define $ZDOTDIR
as your convenience.
cd
ZDOTDIR=${HOME}/.zsh
git clone --recursive https://github.com/CharlesGueunet/zsh-config.git $ZDOTDIR
ln -s ${ZDOTDIR}/.zshrc .
You can copy your old ~/.zhistory in the $ZDOTDIR
folder if you want to keep
your old history.
Then, (re)start zsh.
In your shell:
cd $ZDOTDIR
git pull # update from git
plugins update # update plugins
sz # re-interpret the .zshrc
$ZDOTDIR/plugins_custom_list.zsh
: add new plugins. For the syntax, see the zplug website of theplugins_list.zsh
file.$ZDOTDIR/plugins_custom_conf.zsh
: overwite and add plugins configuration.
$ZDOTDIR/zshrc_custom.zsh
: overwrite and add global zsh configurations.
When changing directory, ..
will go to the parent directory.
If you type ...
it will be transformed automatically into ../..
and each .
you add will
be transformed into ../
for a fast traversal.
Ctrl-v
will open vifm (if installed), a ncurse based file manager based on vim.
popd # undo a directory change
cd +N # make N undo directory change
cdt # go to a temporary directory
plugins update # Update plugins
Normal and Insert modes works just like in Vim.
In Normal mode, v
let you edit the command inside vim
- FZF :
Ctrl-r
fuzzy navigate historyCtrl-t
fuzzy find a file / folderAlt-c
fuzzy change current directory
- Completion
Ctrl-f
complete next suggested wordCtrl-y
complete with the whole suggestionCtrl-p/n
navigate through last version of this commandCtrl-Space
same as tabCtrl-g
substiture in last command
- Misc
v
in normal mode to edit inside vimCtrl-q
to enter a command in a temporary promt (recover your input after)
This git is mainted by Charles Gueunet <charles.gueunet+zsh@gmail.com>
Copyright (C) 2016 Charles Gueunet
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.