mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Updata bashrc, vimrc
This commit is contained in:
parent
e060239719
commit
2aa9b9ef5a
2 changed files with 23 additions and 25 deletions
8
bashrc
8
bashrc
|
|
@ -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
2
vimrc
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue