From d692cc3c601fde0199cfd1f42fd4ee476de09671 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 26 Nov 2014 11:40:31 +0000 Subject: nothing special --- vim/mySnippets/all.snippets | 1 + vim/mySnippets/mail.snippets | 9 +++++++++ vim/vimrc | 13 +++++-------- zshrc | 2 +- 4 files changed, 16 insertions(+), 9 deletions(-) create mode 100644 vim/mySnippets/all.snippets create mode 100644 vim/mySnippets/mail.snippets diff --git a/vim/mySnippets/all.snippets b/vim/mySnippets/all.snippets new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/vim/mySnippets/all.snippets @@ -0,0 +1 @@ + diff --git a/vim/mySnippets/mail.snippets b/vim/mySnippets/mail.snippets new file mode 100644 index 0000000..d3c7e29 --- /dev/null +++ b/vim/mySnippets/mail.snippets @@ -0,0 +1,9 @@ +snippet best "Best wishes" b +Best wishes, + +Urbain Vaes +endsnippet + +snippet sign "Signature" b +Urbain Vaes +endsnippet diff --git a/vim/vimrc b/vim/vimrc index 948413a..b3c0b0b 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -71,8 +71,6 @@ nnoremap :GundoToggle " Nerdtree nnoremap :NERDTreeToggle - - let NERDTreeIgnore=['\.pdf$', '\~$','\.toc$', \ '\.fls$','\.bbl$','\.blg$', \ '\.out$', '\.log$','\.aux$','\.sty$', @@ -117,7 +115,7 @@ set undodir=/home/urbain/.vimundo/ set nonumber set ruler set showcmd -set listchars=tab:▸\ ,eol:¬ +set listchars=tab:▸\ ,eol:¬,trail:- set fillchars=fold:\ ,vert:\ , set showbreak=... set colorcolumn=0 @@ -221,7 +219,7 @@ vnoremap g^ ^ "" Latex nmap LatexChangeEnv -let g:tex_fast="" +let g:tex_fast="" " Synctex function! LatexEvinceSearch() @@ -234,7 +232,7 @@ autocmd FileType tex map :silent LatexEvinceSearch autocmd Filetype tex call SetTexOptions() -"" Functions +"" Functions function! Tex_ForwardSearchLaTeX() let cmd = 'evince_forward_search ' . fnamemodify(LatexBox_GetMainTexFile(), ":p:r") . '.pdf ' . line(".") . ' ' . expand("%:p") let output = system(cmd) @@ -276,9 +274,8 @@ function! SetTexOptions() endfunction -"" Autocommands +"" Autocommands augroup autorelead_vimrc - au! + au! au BufWritePost ~/.vim/vimrc source ~/.vim/vimrc augroup END - diff --git a/zshrc b/zshrc index 5645305..3042313 100644 --- a/zshrc +++ b/zshrc @@ -58,7 +58,7 @@ alias a='vifm' alias mn='vim ~/.mynotes' alias x='sh ~/.xmodmap' alias mail='offlineimap' -# alias clear='print "\ec"' +alias ca='printf "\ec"' # Configuration alias ez='vim ~/.zshrc' -- cgit v1.2.3