Added vim quickscope and fixed lg alias to work w/o tmux

This commit is contained in:
jon
2022-11-19 21:01:41 -06:00
parent 1841878b94
commit eae719cfb6
2 changed files with 10 additions and 1 deletions

View File

@@ -32,7 +32,6 @@ alias ip='ip -br a'
alias s='sudo'
alias df='sudo df -hT -x tmpfs -x devtmpfs'
alias rsync='rsync --progress'
alias lg='ll | grep -i $0'
# allows alias expansion after sudo, eg: sudo l
# bash man page, "last char of alias value is space or tab..."
alias sudo='sudo '
@@ -40,6 +39,12 @@ alias sudo='sudo '
#bind 'set completion-ignore-case on'
set bell-style none
#ls and grep function
lg_grep() {
ls -alh | grep -i $1
}
alias lg=lg_grep
## function and alias for short find
short_find() {
find ./ -iname "*${1}*"

View File

@@ -118,8 +118,12 @@ let g:jedi#popup_select_first = 0
"let g:colorizer_auto_color = 1
let g:colorizer_auto_filetype='css,html,c'
"quick-scope config
let g:qs_highlight_on_keys = ['f', 'F', 't', 'T']
call plug#begin('~/.vim/plugged') " vim-plug
Plug 'unblevable/quick-scope'
Plug 'tpope/vim-fugitive'
Plug 'vim-scripts/indentpython.vim'
Plug 'scrooloose/syntastic'