summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--.vim/after/ftplugin/cpp.vim5
-rw-r--r--.vim/after/ftplugin/cs.vim3
m---------.vim/bundle/Vundle.vim0
-rw-r--r--.vim/ftdetect/Xresources.vim1
-rw-r--r--.vim/ftdetect/muttrc.vim1
-rw-r--r--.vim/vimrc (renamed from .vimrc)19
7 files changed, 28 insertions, 4 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..a9995d5
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule ".vim/bundle/Vundle.vim"]
+ path = .vim/bundle/Vundle.vim
+ url = https://github.com/Vundlevim/Vundle.vim
diff --git a/.vim/after/ftplugin/cpp.vim b/.vim/after/ftplugin/cpp.vim
new file mode 100644
index 0000000..0e18e2e
--- /dev/null
+++ b/.vim/after/ftplugin/cpp.vim
@@ -0,0 +1,5 @@
+setlocal expandtab
+setlocal shiftwidth=4
+setlocal softtabstop=4
+
+setlocal cino=N-s
diff --git a/.vim/after/ftplugin/cs.vim b/.vim/after/ftplugin/cs.vim
new file mode 100644
index 0000000..765e06c
--- /dev/null
+++ b/.vim/after/ftplugin/cs.vim
@@ -0,0 +1,3 @@
+setlocal expandtab
+setlocal shiftwidth=4
+setlocal softtabstop=4
diff --git a/.vim/bundle/Vundle.vim b/.vim/bundle/Vundle.vim
new file mode 160000
+Subproject 4984767509e3d05ca051e253c8a8b37de784be4
diff --git a/.vim/ftdetect/Xresources.vim b/.vim/ftdetect/Xresources.vim
deleted file mode 100644
index 0054363..0000000
--- a/.vim/ftdetect/Xresources.vim
+++ /dev/null
@@ -1 +0,0 @@
-au BufNewFile,BufRead */.Xresources.d/* set filetype=xdefaults
diff --git a/.vim/ftdetect/muttrc.vim b/.vim/ftdetect/muttrc.vim
deleted file mode 100644
index 910fe15..0000000
--- a/.vim/ftdetect/muttrc.vim
+++ /dev/null
@@ -1 +0,0 @@
-au BufNewFile,BufRead */.mutt.d/* set filetype=muttrc
diff --git a/.vimrc b/.vim/vimrc
index 12f9eac..91025df 100644
--- a/.vimrc
+++ b/.vim/vimrc
@@ -1,3 +1,5 @@
+" Initialize Vundle for plugin management
+
set nocompatible
filetype off
@@ -5,11 +7,16 @@ set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'a.vim'
-Plugin 'altercation/vim-colors-solarized'
Plugin 'andreasvc/vim-256noir'
+Plugin 'aperezdc/vim-template'
Plugin 'cespare/vim-toml'
Plugin 'ctrlpvim/ctrlp.vim'
+Plugin 'godlygeek/tabular'
+Plugin 'OmniSharp/omnisharp-vim'
+Plugin 'rodjek/vim-puppet'
Plugin 'rust-lang/rust.vim'
+Plugin 'scrooloose/syntastic'
+Plugin 'tpope/vim-dispatch'
Plugin 'tpope/vim-fugitive'
call vundle#end()
@@ -17,13 +24,21 @@ filetype plugin indent on
runtime! ftplugin/man.vim
+" Syntax highlighting
+syntax on
+
" Status line and numbers
set laststatus=2
set number
" Colors
set background=dark
-colorscheme 256_noir
" LaTeX instead of Plain TeX
let g:tex_flavor = "latex"
+
+" Temporary workaround: csproj indicates a project root
+let g:ctrlp_root_markers = ['*.csproj']
+
+" Ignore some additional patterns when opening files
+set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*/vendor/*,*/node_modules/*