mirror of
https://github.com/chylex/dotfiles.git
synced 2026-02-14 06:06:14 +01:00
Compare commits
4 Commits
31f48f8934
...
d476fb1e73
| Author | SHA1 | Date | |
|---|---|---|---|
|
d476fb1e73
|
|||
|
f5c5ce694c
|
|||
|
a2d3fc277d
|
|||
|
ca62ab26f8
|
15
.bashrc
15
.bashrc
@@ -1,8 +1,14 @@
|
|||||||
bind "set completion-ignore-case on"
|
if [[ $- = *i* ]]; then
|
||||||
bind "set show-all-if-ambiguous on"
|
bind "set completion-ignore-case on"
|
||||||
|
bind "set show-all-if-ambiguous on"
|
||||||
|
|
||||||
bind '"\e[A": history-search-backward'
|
bind '"\e[A": history-search-backward'
|
||||||
bind '"\e[B": history-search-forward'
|
bind '"\e[B": history-search-forward'
|
||||||
|
fi
|
||||||
|
|
||||||
|
shopt -s histappend
|
||||||
|
HISTCONTROL=ignoreboth
|
||||||
|
PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
|
||||||
|
|
||||||
alias gh='history|grep'
|
alias gh='history|grep'
|
||||||
alias less='less -R --mouse'
|
alias less='less -R --mouse'
|
||||||
@@ -34,6 +40,7 @@ function ssh() {
|
|||||||
tmux rename-window -t"${TMUX_PANE}" "$*"
|
tmux rename-window -t"${TMUX_PANE}" "$*"
|
||||||
command ssh "$@"
|
command ssh "$@"
|
||||||
tmux set-window-option automatic-rename "on"
|
tmux set-window-option automatic-rename "on"
|
||||||
|
vim +q # Fix terminal
|
||||||
else
|
else
|
||||||
command ssh "$@"
|
command ssh "$@"
|
||||||
fi
|
fi
|
||||||
|
|||||||
6
.vimrc
6
.vimrc
@@ -1,6 +1,6 @@
|
|||||||
set autoindent
|
set autoindent
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
set completeopt=fuzzy,menuone,preview
|
set completeopt=menuone,preview
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set guifont=Cascadia_Mono:h12:cANSI:qDRAFT
|
set guifont=Cascadia_Mono:h12:cANSI:qDRAFT
|
||||||
set guioptions-=t " Remove menu tearoff
|
set guioptions-=t " Remove menu tearoff
|
||||||
@@ -40,6 +40,10 @@ set wildmenu
|
|||||||
set winaltkeys=no
|
set winaltkeys=no
|
||||||
set wrap
|
set wrap
|
||||||
|
|
||||||
|
if has("patch-9.1.0463")
|
||||||
|
set completeopt+=fuzzy
|
||||||
|
endif
|
||||||
|
|
||||||
" Windows paths
|
" Windows paths
|
||||||
set packpath=$HOME/.vim,$VIM/vimfiles,$VIMRUNTIME
|
set packpath=$HOME/.vim,$VIM/vimfiles,$VIMRUNTIME
|
||||||
set runtimepath=$HOME/.vim,$VIM/vimfiles,$VIMRUNTIME
|
set runtimepath=$HOME/.vim,$VIM/vimfiles,$VIMRUNTIME
|
||||||
|
|||||||
Reference in New Issue
Block a user