diff --git a/vimrc b/vimrc index cb8b606..51aa716 100644 --- a/vimrc +++ b/vimrc @@ -318,6 +318,8 @@ nnoremap :Ag nnoremap :15Gstatus " Search file name nnoremap :Files +" Search git file name +nnoremap :GFiles " Search buffers nnoremap :Buffers " Open Flake8 error @@ -350,4 +352,4 @@ nnoremap :bnext nnoremap o nnoremap O -nnoremap %!xxd +" nnoremap %!xxd diff --git a/zsh/alias.sh b/zsh/alias.sh index 239f3db..3c51f48 100644 --- a/zsh/alias.sh +++ b/zsh/alias.sh @@ -32,3 +32,5 @@ alias cls="ls -lha --color=always -F --group-directories-first |awk '{k=0;s=0;fo alias lcs="ls -lhaS --color=always -F --group-directories-first |awk '{k=0;s=0;for(i=0;i<=8;i++){;k+=((substr(\$1,i+2,1)~/[rwxst]/)*2^(8-i));};j=4;for(i=4;i<=10;i+=3){;s+=((substr(\$1,i,1)~/[stST]/)*j);j/=2;};if(k){;printf(\"%0o%0o \",s,k);};print;}'" alias open_keepass="keepassxc-cli open ~/Documents/keepassxc/main.kdbx --key-file ~/Documents/keepassxc/main.key" + +export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -g ""'