summary refs log tree commit diff
path: root/vimrc
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-01-17 07:17:17 -0800
committerFranck Cuny <franckcuny@gmail.com>2016-01-17 07:17:17 -0800
commite58a6497d050480c56b9689004b9ded1cc2b0b9d (patch)
tree291b4ae5b114d06d96498f2312a9ab3e466ca501 /vimrc
parent[emacs] some small changes to the UI. (diff)
downloademacs.d-e58a6497d050480c56b9689004b9ded1cc2b0b9d.tar.gz
Remove configuration for `vim` and all the scripts
No need to carry a configuration for `vim` anymore, and most of the
scripts are either useless, or have moved to the *toolbox* repository on
GitHub (and are now in go, and sometimes with tests).
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc61
1 files changed, 0 insertions, 61 deletions
diff --git a/vimrc b/vimrc
deleted file mode 100644
index a79ea56..0000000
--- a/vimrc
+++ /dev/null
@@ -1,61 +0,0 @@
-syn off
-set nocompatible
-let mapleader=","
-filetype indent plugin on
-set autoread
-set nojoinspaces
-set list lcs=trail:·,tab:»·
-set hlsearch
-set incsearch
-set ignorecase
-set showmatch
-set matchtime=1
-set encoding=utf-8
-set winminheight=0
-set hidden " allows files to be open in invisible buffers
-set wildmenu
-set wildmode=list:longest,full
-set smartcase
-
-" seriously, no backup
-set nobackup
-set nowritebackup
-set noswapfile
-
-" Toggle paste mode on and off with comma p.
-map ,p :se invpaste paste?<return>
-
-set expandtab
-set tabstop=2
-set shiftwidth=2
-set softtabstop=2
-set textwidth=80
-set smarttab
-set autoindent
-set nocindent
-
-set fillchars+=vert:\ " yes, it's a trailing white space
-
-highlight ExtraWhitespace ctermbg=red guibg=red
-match ExtraWhitespace /\s\+$/
-
-autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
-autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
-autocmd InsertLeave * match ExtraWhitespace /\s\+$/
-autocmd BufWinLeave * call clearmatches()
-
-au BufRead,BufNewFile *.json   setlocal filetype=javascript
-au BufRead,BufNewFile *.md     setlocal filetype=markdown
-au BufRead,BufNewFile *.mesos  setlocal filetype=python
-au BufRead,BufNewFile *.aurora setlocal filetype=python
-au BufRead,BufNewFile BUILD    setlocal filetype=python
-au BufRead,BufNewFile *.pp     setlocal filetype=ruby
-au BufRead,BufNewFile *.alert  setlocal filetype=yaml
-au BufRead,BufNewFile *.go     setlocal filetype=go
-
-au FileType python   setlocal keywordprg=pydoc shiftwidth=2 softtabstop=2 tabstop=2 tw=100
-au FileType make     setlocal shiftwidth=8 tabstop=8 noexpandtab
-au FileType markdown setlocal tw=100
-au FileType sh       setlocal shiftwidth=2 softtabstop=2 tabstop=2 tw=80
-au FileType go       setlocal tw=100 noexpandtab tabstop=2 shiftwidth=2 nolist
-au FileType go       autocmd  BufWritePre <buffer> Fmt