Updata bashrc, vimrc

This commit is contained in:
Smirnov Sasha 2020-05-20 21:29:02 +03:00
parent e060239719
commit 2aa9b9ef5a
2 changed files with 23 additions and 25 deletions

8
bashrc
View file

@ -1,11 +1,9 @@
export VISUAL="vim" export VISUAL="vim"
[[ $- != *i* ]] && return [[ $- != *i* ]] && return
alias ls='ls --color=auto' alias ls='ls --color=auto'
PS1='\u@\h \W \$ ' PS1='\e[36m\w\e[39m '
stty -ixon
alias cls='clear' alias cls='clear'
alias sl='ls'
alias cd..='cd ..'
alias py='python3' alias py='python3'
alias ipy='ipython3'
alias py3='python3' alias py3='python3'
alias ipy3='ipython3'

2
vimrc
View file

@ -69,7 +69,7 @@ map <C-h> <C-W>h
map <C-l> <C-W>l map <C-l> <C-W>l
" Tabs " Tabs
map <leader>tn :tabnew<CR> " CReate new tab map <leader>tn :tabnew<CR> " Create new tab
map <leader>to :tabonly<CR> " Kill all tab map <leader>to :tabonly<CR> " Kill all tab
map <leader>tc :tabclose<CR> " Tab kill map <leader>tc :tabclose<CR> " Tab kill
map <leader>1 :tabn 1<CR> " Change tab map <leader>1 :tabn 1<CR> " Change tab