commit 4eccef4436595b7d938277bd9b05b49099ea10c4 parent 8f9337694899fc3b44a92ea11f020fd5d1aa493c Author: finwo <finwo@pm.me> Date: Mon, 6 May 2019 17:31:24 +0200 Bare config for neovim & zsh Diffstat:
| A | neovim/home/.vimrc | | | 0 | |
| A | zsh/home/.config/zsh/rc/000-history | | | 10 | ++++++++++ |
| A | zsh/home/.zshrc | | | 3 | +++ |
3 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/neovim/home/.vimrc b/neovim/home/.vimrc diff --git a/zsh/home/.config/zsh/rc/000-history b/zsh/home/.config/zsh/rc/000-history @@ -0,0 +1,10 @@ +# Generic history +HISTFILE=~/.histfile +HISTSIZE=10000000 +SAVEHIST=10000000 +setopt HIST_IGNORE_DUPS +bindkey -v + +# History search +[[ -n "${key[PageUp]}" ]] && bindkey "${key[PageUp]}" history-beginning-search-backward +[[ -n "${key[PageDown]}" ]] && bindkey "${key[PageDown]}" history-beginning-search-forward diff --git a/zsh/home/.zshrc b/zsh/home/.zshrc @@ -0,0 +1,3 @@ +for file in $(ls "${HOME}/.config/zsh/rc/"); do + source "${HOME}/.config/zsh/rc/${file}" +done