From 576b44e3da8c49418c85172822e98dc48d0bff46 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sun, 9 Feb 2020 13:23:22 -0500 Subject: [PATCH] Tweaked vim/zsh. Need up-arrow histsearch working --- .vimrc | 6 ++++-- .zshrc | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index d103e64..934d4c9 100644 --- a/.vimrc +++ b/.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 "\\\@