From f4027fa881c779ed51359582f972f1de3824ac05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Wadstr=C3=B6m?= Date: Tue, 23 Jun 2020 10:31:21 +0200 Subject: [PATCH] Fix smartcase in vim and add Buffers FZF --- .vimrc | 3 +++ .zshrc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.vimrc b/.vimrc index 789e9c3..752b4f8 100644 --- a/.vimrc +++ b/.vimrc @@ -48,6 +48,7 @@ set shiftwidth=4 set tabstop=4 " Smartcase search +set ignorecase set smartcase " Ripgrep FZF @@ -61,7 +62,9 @@ endfunction command! -nargs=* -bang RG call RipgrepFzf(, 0) +" FZF nnoremap :Files +nnoremap :Buffers " Tabs nnoremap :tabnext diff --git a/.zshrc b/.zshrc index e2045fe..ed4b4c0 100644 --- a/.zshrc +++ b/.zshrc @@ -112,3 +112,6 @@ fi export LANG=en_GB.UTF-8 export LC_CTYPE=en_GB.UTF-8 export EDITOR='vim' + +# FZF +export FZF_DEFAULT_COMMAND='fd --type f'