diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2020-09-11 12:59:24 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2020-09-11 12:59:24 +0800 |
| commit | 7a0a2b356f1b0387d9dde8eff0e547f39d02e1c8 (patch) | |
| tree | 3a99c50502af54cf449240a3469c1d1ad87012c5 | |
| parent | 7ea50f0a72d72504be1a1bc6420617a227a50ec3 (diff) | |
update
| -rw-r--r-- | alias | 1 | ||||
| -rw-r--r-- | vimrc | 1 |
2 files changed, 2 insertions, 0 deletions
| @@ -90,6 +90,7 @@ cdg() { | |||
| 90 | cd ~/git/$1 || cd ~/git | 90 | cd ~/git/$1 || cd ~/git |
| 91 | } | 91 | } |
| 92 | alias cda='mkdir -p ~/data && cd ~/data' | 92 | alias cda='mkdir -p ~/data && cd ~/data' |
| 93 | alias cdc='cd ~/.config' | ||
| 93 | alias cdd='cd ~/Downloads' | 94 | alias cdd='cd ~/Downloads' |
| 94 | alias cdD='cd ~/Documents' | 95 | alias cdD='cd ~/Documents' |
| 95 | alias cdP='cd ~/Pictures' | 96 | alias cdP='cd ~/Pictures' |
| @@ -20,6 +20,7 @@ function! Bye() | |||
| 20 | endif | 20 | endif |
| 21 | endfunction | 21 | endfunction |
| 22 | nnoremap <silent> <C-C> :call Bye()<CR> | 22 | nnoremap <silent> <C-C> :call Bye()<CR> |
| 23 | nnoremap <silent> <C-S-C> :q!<CR> | ||
| 23 | nnoremap <leader>, :.terminal ++noclose<CR> | 24 | nnoremap <leader>, :.terminal ++noclose<CR> |
| 24 | vnoremap <leader>, :terminal ++noclose<CR> | 25 | vnoremap <leader>, :terminal ++noclose<CR> |
| 25 | nnoremap <leader>< :%terminal ++noclose<CR> | 26 | nnoremap <leader>< :%terminal ++noclose<CR> |