Update .vimrc and .xonshrc

This commit is contained in:
riley 2021-09-25 15:08:51 -04:00
parent 9a12259f09
commit e9f966929e
2 changed files with 10 additions and 9 deletions

8
.vimrc
View file

@ -33,10 +33,10 @@ autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
set splitbelow
set splitright
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
"nnoremap <C-J> <C-W><C-J>
"nnoremap <C-K> <C-W><C-K>
"nnoremap <C-L> <C-W><C-L>
"nnoremap <C-H> <C-W><C-H>
"formatting
set tabstop=4

View file

@ -1,6 +1,6 @@
# general shit
$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
# path stuff
@ -22,8 +22,10 @@ def _colortest():
sys.stdout.write("\033[0m\n")
# tmux
if !(which tmux) and $TERM != 'tmux-256color':
tmux -2 new-session -A -s main
if !(which tmux) and $TERM != 'tmux-256color':
folder = p'.'
tmux -2 new-session -A -s @(folder.resolve().name)
exit
# debug
def _debug():
@ -63,5 +65,4 @@ $LESS_TERMCAP_md = "\033[01;31m" # begin bold
$LESS_TERMCAP_me = "\033[0m" # end mode
$LESS_TERMCAP_so = "\033[01;44;36m" # begin standout-mode (bottom of screen)
$LESS_TERMCAP_se = "\033[0m" # end standout-mode
$LESS_TERMCAP_us = "\033[00;36m" # begin underline
$LESS_TERMCAP_ue = "\033[0m" # end underline