From 35651b9d0ef722ec5ab63aa96bd03b3eede92d51 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 3 Sep 2019 13:05:45 +0200 Subject: vim better incsearch with pluggin, zsh extended glob --- .pluggins.vim | 1 + .vimrc | 5 +++++ .zshrc | 1 + 3 files changed, 7 insertions(+) diff --git a/.pluggins.vim b/.pluggins.vim index 2a36b18..6e2f7a2 100644 --- a/.pluggins.vim +++ b/.pluggins.vim @@ -18,6 +18,7 @@ call plug#begin() Plug 'vim-scripts/awk.vim' Plug 'sheerun/vim-polyglot' " better syntax highlighting Plug 'neovimhaskell/haskell-vim' " vim haskell highlighting + Plug 'haya14busa/incsearch.vim' " better incsearch " themes diff --git a/.vimrc b/.vimrc index cc68548..d6261af 100644 --- a/.vimrc +++ b/.vimrc @@ -129,3 +129,8 @@ map Q set encoding=utf-8 set textwidth=89 " when line wrap occurs + +" incsearch mapping +map / (incsearch-forward) +map ? (incsearch-backward) +map g/ (incsearch-stay) diff --git a/.zshrc b/.zshrc index ab2a7b9..ffe90cc 100644 --- a/.zshrc +++ b/.zshrc @@ -14,6 +14,7 @@ bindkey -v setopt auto_cd setopt pushd_ignore_dups setopt list_rows_first +set extendedglob # alias expansion bindkey "^ " _expand_alias # ctrl+space to expand -- cgit