Show Menu
Cheatography

my_cheatsheet Cheat Sheet by

commands

find . -name 'xxx'
find xxx file inside current directory recurs­ively
grep -irl 'xxx' .
find xxx string recurs­ively inside current directory

vim

coq
toggle quickfix window
cok
toggle location window
cv
replace in visual mode

fzf & fasd

fa
fuzzy find file/d­ire­ctory to edit/cd
fas
fuzzy find anything and list without action
ff
fuzzy find file and edit
ffs
fuzzy find file and list
fd
fuzzy find directory and cd
fds
fuzzy find directory and list
ma
fuzzy find most used file/d­ire­ctory to edit/cd
mas
fuzzy find most used file/d­ire­ctory and list without action
mf
fuzzy find most used file to edit
mfs
fuzzy find most used file and list
md
fuzzy find most used directory and cd
mds
fuzzy find most used directory and list
 

fugitive

 

git

git rebase -i <co­mmi­t>
rebase the current branch to the target branch, also used to squash commit without typing commit message again

fasd aliases

alias a='fasd -a'
# any
output
alias d='fasd -d'
# directory
output
alias f='fasd -f'
# file
output
alias sd='fasd -sid'
# intera­ctive directory selection
search­,select -> output
alias sf='fasd -sif'
# intera­ctive file selection
search­,select -> output
alias z='fasd_cd -d'
# cd, same functi­onality as j in autojump
cd
alias zz='fa­sd_cd -d -i'
# cd with intera­ctive selection
search, select -> cd
fasd -i
search and select
fasd -s
show scores
fasd -si
show scores and search select
alias s='fasd -si'
# show scores and search select
       
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          VI Editor Cheat Sheet
          Vim NERDTree Cheat Sheet
          Juanjux's Vim Cheatsheet Cheat Sheet