diff options
| author | McSinyx <vn.mcsinyx@gmail.com> | 2016-06-20 17:46:08 +0700 |
|---|---|---|
| committer | Raphael McSinyx <vn.mcsinyx@gmail.com> | 2016-11-20 16:44:09 +0700 |
| commit | d37551fe23ecef7c5ff17201a27593bcaa371c53 (patch) | |
| tree | 8db06d17ee151f1aead5e27983d6056bc70a8331 /vim | |
| parent | 282eee5492d23d0070bbd8ef812b726bc203529a (diff) | |
| download | dotfiles-d37551fe23ecef7c5ff17201a27593bcaa371c53.tar.gz | |
Update 20160620
Diffstat (limited to 'vim')
| -rwxr-xr-x | vim/.vim/vimrc (renamed from vim/.vimrc) | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vim/.vimrc b/vim/.vim/vimrc index f55b7e3..260548b 100755 --- a/vim/.vimrc +++ b/vim/.vim/vimrc @@ -1,8 +1,12 @@ execute pathogen#infect() filetype plugin indent on syntax enable -set clipboard=exclude:cons\|linux set nocompatible +set undodir=~/.cache/vim/undo +set directory=~/.cache/vim/swap +set backupdir=~/.cache/vim/backup +set viminfo+=n~/.cache/vim/viminfo +set clipboard=exclude:cons\|linux set hidden set wildmenu set showcmd @@ -15,14 +19,10 @@ set tabstop=8 expandtab shiftwidth=4 softtabstop=4 smarttab set omnifunc=syntaxcomplete#Complete set tags+=~/.vim/systags set dictionary=/usr/share/dict/words -set imdisable -set keymap=vietnamese-telex -set iminsert=0 -syntax keyword pythonBoolean False True None +set keymap=vietnamese-telex imdisable iminsert=0 imsearch=-1 autocmd BufNewFile,BufRead *.PAS set filetype=pascal autocmd FileType vim,pascal setlocal shiftwidth=2 tabstop=2 autocmd FileType c setlocal noexpandtab shiftwidth=8 tabstop=8 -autocmd FileType markdown,asciidoc setlocal textwidth=79 +autocmd FileType markdown setlocal textwidth=79 +autocmd FileType python syntax keyword pythonBoolean False True None autocmd BufWinEnter * let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1) -let mapleader = ' ' -let g:stime_table = "telex" |
