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
|
7
.bashrc
7
.bashrc
@@ -1,8 +1,14 @@
|
||||
if [[ $- = *i* ]]; then
|
||||
bind "set completion-ignore-case on"
|
||||
bind "set show-all-if-ambiguous on"
|
||||
|
||||
bind '"\e[A": history-search-backward'
|
||||
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 less='less -R --mouse'
|
||||
@@ -34,6 +40,7 @@ function ssh() {
|
||||
tmux rename-window -t"${TMUX_PANE}" "$*"
|
||||
command ssh "$@"
|
||||
tmux set-window-option automatic-rename "on"
|
||||
vim +q # Fix terminal
|
||||
else
|
||||
command ssh "$@"
|
||||
fi
|
||||
|
||||
6
.vimrc
6
.vimrc
@@ -1,6 +1,6 @@
|
||||
set autoindent
|
||||
set backspace=indent,eol,start
|
||||
set completeopt=fuzzy,menuone,preview
|
||||
set completeopt=menuone,preview
|
||||
set encoding=utf-8
|
||||
set guifont=Cascadia_Mono:h12:cANSI:qDRAFT
|
||||
set guioptions-=t " Remove menu tearoff
|
||||
@@ -40,6 +40,10 @@ set wildmenu
|
||||
set winaltkeys=no
|
||||
set wrap
|
||||
|
||||
if has("patch-9.1.0463")
|
||||
set completeopt+=fuzzy
|
||||
endif
|
||||
|
||||
" Windows paths
|
||||
set packpath=$HOME/.vim,$VIM/vimfiles,$VIMRUNTIME
|
||||
set runtimepath=$HOME/.vim,$VIM/vimfiles,$VIMRUNTIME
|
||||
|
||||
Reference in New Issue
Block a user