Tweaked vim/zsh. Need up-arrow histsearch working
This commit is contained in:
parent
d27d2dfab8
commit
576b44e3da
6
.vimrc
6
.vimrc
|
@ -50,10 +50,12 @@ filetype plugin indent on " required
|
|||
" see :h vundle for more details or wiki for FAQ
|
||||
" Put your non-Plugin stuff after this line
|
||||
|
||||
syntax on
|
||||
|
||||
set relativenumber
|
||||
set number
|
||||
set autoindent
|
||||
set syntax
|
||||
|
||||
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab
|
||||
|
||||
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc,.png,.jpg
|
||||
|
@ -82,7 +84,6 @@ if has("autocmd")
|
|||
|
||||
autocmd BufNewFile *.sh 0r ~/.vim/templates/skeleton.sh
|
||||
autocmd BufNewFile *.sh 2
|
||||
autocmd BufNewFile *.sh start
|
||||
|
||||
autocmd BufNewFile *.cpp 0r ~/.vim/templates/skeleton.cpp
|
||||
autocmd BufNewFile *.cpp 10
|
||||
|
@ -100,3 +101,4 @@ hi Asterisks NONE
|
|||
hi AsteriskItalic cterm=italic gui=italic
|
||||
syn match Asterisks contained "**" conceal
|
||||
syn match AsteriskItalic "\\\@<!\*\*[^"*|]\+\*\*" contains=Asterisks
|
||||
|
||||
|
|
5
.zshrc
5
.zshrc
|
@ -110,6 +110,11 @@ zstyle ':completion:*' completer _expand _complete _ignored _correct _approximat
|
|||
zstyle ':completion:*' matcher-list '+m:{[:lower:]}={[:upper:]}' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=** r:|=**' 'l:|=* r:|=*'
|
||||
zstyle :compinstall filename '/home/sage/.zshrc'
|
||||
|
||||
autoload -U up-line-or-beginning-search
|
||||
autoload -U down-line-or-beginning-search
|
||||
bindkey '^[[A' up-line-or-search
|
||||
bindkey '^[[B' down-line-or-search
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
# End of lines added by compinstall
|
||||
|
|
Loading…
Reference in New Issue