changeset 92:afe2d02577c2

Small fixes to vimrc
author zegervdv <zegervdv@me.com>
date Thu, 07 Aug 2014 08:39:22 +0200
parents 97744720e080
children 8278ded5eb8c
files vimrc zshrc
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/vimrc	Mon Aug 04 19:11:35 2014 +0200
+++ b/vimrc	Thu Aug 07 08:39:22 2014 +0200
@@ -69,6 +69,8 @@
 set formatoptions+=l " Don't break lines that are already long
 set formatoptions+=1 " Break before 1-letter words
 
+set complete+=kspell
+
 set splitright
 set virtualedit=block
 set conceallevel=0
@@ -124,6 +126,8 @@
 nnoremap <C-a> ^
 nnoremap <C-e> $
 
+nnoremap <C-s> <C-e>
+
 nnoremap + <C-a>
 
 " Jump out of inner bracket
@@ -531,8 +535,8 @@
 let g:tex_flavor = 'latex'
 let g:Tex_TreatMacViewerAsUNIX = 1
 let g:Tex_ExecuterUNIXViewerInForeground = 1
-" let g:Tex_ViewRule_pdf = 'open -a Preview'
-let g:Tex_ViewRule_pdf = 'open -a /Applications/TeX/TeXShop.app'
+let g:Tex_ViewRule_pdf = 'open -a Preview'
+" let g:Tex_ViewRule_pdf = 'open -a /Applications/TeX/TeXShop.app'
 
 let g:Tex_ViewRule_ps = 'open -a Preview'
 
--- a/zshrc	Mon Aug 04 19:11:35 2014 +0200
+++ b/zshrc	Thu Aug 07 08:39:22 2014 +0200
@@ -81,8 +81,6 @@
 
 # describe options in full
 zstyle ':completion:*:options'         description 'yes'
-# Provide more processes in completion of programs like killall:
-zstyle ':completion:*:processes-names' command 'ps c -u ${USER} -o command | uniq'
 
 # complete manual by their section
 zstyle ':completion:*:manuals'    separate-sections true