Fix smartcase in vim and add Buffers FZF

This commit is contained in:
Patrick Wadström 2020-06-23 10:31:21 +02:00
parent 3d11e45aee
commit f4027fa881
2 changed files with 6 additions and 0 deletions

3
.vimrc
View File

@ -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(<q-args>, <bang>0)
" FZF
nnoremap <C-p> :Files<Cr>
nnoremap <M-p> :Buffers<Cr>
" Tabs
nnoremap <Tab> :tabnext<CR>

3
.zshrc
View File

@ -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'