Update .vimrc and .xonshrc
This commit is contained in:
parent
9a12259f09
commit
e9f966929e
2 changed files with 10 additions and 9 deletions
8
.vimrc
8
.vimrc
|
@ -33,10 +33,10 @@ autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
|
||||||
set splitbelow
|
set splitbelow
|
||||||
set splitright
|
set splitright
|
||||||
|
|
||||||
nnoremap <C-J> <C-W><C-J>
|
"nnoremap <C-J> <C-W><C-J>
|
||||||
nnoremap <C-K> <C-W><C-K>
|
"nnoremap <C-K> <C-W><C-K>
|
||||||
nnoremap <C-L> <C-W><C-L>
|
"nnoremap <C-L> <C-W><C-L>
|
||||||
nnoremap <C-H> <C-W><C-H>
|
"nnoremap <C-H> <C-W><C-H>
|
||||||
|
|
||||||
"formatting
|
"formatting
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
|
|
11
.xonshrc
11
.xonshrc
|
@ -1,6 +1,6 @@
|
||||||
# general shit
|
# general shit
|
||||||
$PROMPT = '{RED} <3 {RESET}| {BOLD_GREEN}{cwd_base}{RESET} ) '
|
$PROMPT = '{RED} <3 {RESET}| {BOLD_GREEN}{cwd_base}{RESET} ) '
|
||||||
$XONSH_COLOR_STYLE = 'fruity'
|
$XONSH_COLOR_STYLE = 'default'
|
||||||
xontrib load apt_tabcomplete argcomplete autovox jedi z
|
xontrib load apt_tabcomplete argcomplete autovox jedi z
|
||||||
|
|
||||||
# path stuff
|
# path stuff
|
||||||
|
@ -22,8 +22,10 @@ def _colortest():
|
||||||
sys.stdout.write("\033[0m\n")
|
sys.stdout.write("\033[0m\n")
|
||||||
|
|
||||||
# tmux
|
# tmux
|
||||||
if !(which tmux) and $TERM != 'tmux-256color':
|
if !(which tmux) and $TERM != 'tmux-256color':
|
||||||
tmux -2 new-session -A -s main
|
folder = p'.'
|
||||||
|
tmux -2 new-session -A -s @(folder.resolve().name)
|
||||||
|
exit
|
||||||
|
|
||||||
# debug
|
# debug
|
||||||
def _debug():
|
def _debug():
|
||||||
|
@ -63,5 +65,4 @@ $LESS_TERMCAP_md = "\033[01;31m" # begin bold
|
||||||
$LESS_TERMCAP_me = "\033[0m" # end mode
|
$LESS_TERMCAP_me = "\033[0m" # end mode
|
||||||
$LESS_TERMCAP_so = "\033[01;44;36m" # begin standout-mode (bottom of screen)
|
$LESS_TERMCAP_so = "\033[01;44;36m" # begin standout-mode (bottom of screen)
|
||||||
$LESS_TERMCAP_se = "\033[0m" # end standout-mode
|
$LESS_TERMCAP_se = "\033[0m" # end standout-mode
|
||||||
$LESS_TERMCAP_us = "\033[00;36m" # begin underline
|
|
||||||
$LESS_TERMCAP_ue = "\033[0m" # end underline
|
|
||||||
|
|
Loading…
Reference in a new issue