added some more zsh and vim stuff
This commit is contained in:
parent
ab339017a5
commit
27a9651206
3 changed files with 16 additions and 3 deletions
13
.vimrc
13
.vimrc
|
|
@ -19,3 +19,16 @@ filetype plugin indent on
|
|||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
set expandtab
|
||||
|
||||
" Highlight searches (use <C-L> to temporarily turn off highlighting; see the
|
||||
" mapping of <C-L> below)
|
||||
set hlsearch
|
||||
|
||||
" Use case insensitive search, except when using capital letters
|
||||
set ignorecase
|
||||
set smartcase
|
||||
|
||||
" Display the cursor position on the last line of the screen or in the status
|
||||
" line of a window
|
||||
set ruler
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit d196be84fa37a3a7e21355e68560c20676096d2a
|
||||
Subproject commit afe9fb059cf4069d278d69cd72e0d9b50e10d6c9
|
||||
4
.zshrc
4
.zshrc
|
|
@ -67,7 +67,7 @@ source $ZSH/oh-my-zsh.sh
|
|||
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
|
||||
if [ -e ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]
|
||||
then
|
||||
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
fi
|
||||
|
||||
# Now source some stuff that should not be public
|
||||
|
|
@ -91,7 +91,7 @@ alias xterm='uxterm -bg black -fg grey -sb -leftbar -si -bc -cr orange'
|
|||
|
||||
# I use xterm and this sets a nice title with hostname and cwd in it.
|
||||
case $TERM in
|
||||
xterm)
|
||||
xterm*)
|
||||
export TERM=xterm-256color
|
||||
precmd () {print -Pn "\e]0;%n@%m: %~\a"}
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue