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 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

View File

@ -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
@ -23,7 +23,9 @@ def _colortest():
# 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