Add C-X to search into gitfiles, add hidden files to :Files and :GFiles
This commit is contained in:
parent
f4c2af0f30
commit
4c4f674720
4
vimrc
4
vimrc
@ -318,6 +318,8 @@ nnoremap <C-F> :Ag<CR>
|
||||
nnoremap <C-c> :15Gstatus<CR>
|
||||
" Search file name
|
||||
nnoremap <C-G> :Files<CR>
|
||||
" Search git file name
|
||||
nnoremap <C-X> :GFiles<CR>
|
||||
" Search buffers
|
||||
nnoremap <C-B> :Buffers<CR>
|
||||
" Open Flake8 error
|
||||
@ -350,4 +352,4 @@ nnoremap <c-right> :bnext<CR>
|
||||
nnoremap <Return> o<ESC>
|
||||
nnoremap <BS> O<ESC>
|
||||
|
||||
nnoremap <C-X> %!xxd<CR>
|
||||
" nnoremap <C-X> %!xxd<CR>
|
||||
|
||||
@ -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 ""'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user