aboutsummaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/c.vim18
-rw-r--r--ftplugin/coffee.vim1
-rw-r--r--ftplugin/doxygen.vim3
-rw-r--r--ftplugin/help.vim3
-rw-r--r--ftplugin/java.vim2
-rw-r--r--ftplugin/nerdtree.vim1
-rw-r--r--ftplugin/python.vim1
-rw-r--r--ftplugin/text.vim21
8 files changed, 0 insertions, 50 deletions
diff --git a/ftplugin/c.vim b/ftplugin/c.vim
deleted file mode 100644
index 6bd8e83..0000000
--- a/ftplugin/c.vim
+++ /dev/null
@@ -1,18 +0,0 @@
1setlocal equalprg=clang-format
2setlocal breakat-=-
3setlocal keywordprg=man\ 3
4
5setlocal makeprg=make\ %:r
6
7setlocal cindent cinoptions+=(0 | " indent at parentheses
8
9" map <buffer> = :pyfile /usr/share/clang/clang-format.py<CR>
10
11
12let c_space_errors=1
13let c_gnu=1
14
15
16hi! cConstant gui=italic
17hi! cConditional gui=italic
18hi! cInclude gui=italic
diff --git a/ftplugin/coffee.vim b/ftplugin/coffee.vim
deleted file mode 100644
index 5d5675c..0000000
--- a/ftplugin/coffee.vim
+++ /dev/null
@@ -1 +0,0 @@
1let coffee_indent_keep_current = 1 " avoid problems with html indentation
diff --git a/ftplugin/doxygen.vim b/ftplugin/doxygen.vim
deleted file mode 100644
index 7dcd7e5..0000000
--- a/ftplugin/doxygen.vim
+++ /dev/null
@@ -1,3 +0,0 @@
1let g:load_doxygen_syntax=1
2
3syntax match Normal /@copydoc/ conceal cchar=↺
diff --git a/ftplugin/help.vim b/ftplugin/help.vim
deleted file mode 100644
index e2eb971..0000000
--- a/ftplugin/help.vim
+++ /dev/null
@@ -1,3 +0,0 @@
1" I will never get used to press CTRL-] to follow a link, never!
2nnoremap <buffer> <CR> <C-]>
3nnoremap <buffer> <BS> <C-T>
diff --git a/ftplugin/java.vim b/ftplugin/java.vim
deleted file mode 100644
index 7da3e00..0000000
--- a/ftplugin/java.vim
+++ /dev/null
@@ -1,2 +0,0 @@
1set makeprg=javac\ -Xdiags:verbose\ %
2set errorformat=%A%f:%l:\ %m,%-Z%p^,%-C%.%#
diff --git a/ftplugin/nerdtree.vim b/ftplugin/nerdtree.vim
deleted file mode 100644
index 62f5e5b..0000000
--- a/ftplugin/nerdtree.vim
+++ /dev/null
@@ -1 +0,0 @@
1 autocmd! WinNew,WinEnter,WinLeave * if exists("t:NERDTreeBufName") && bufwinnr(t:NERDTreeBufName) == bufwinnr('%') | setlocal statusline=NERDTree | endif
diff --git a/ftplugin/python.vim b/ftplugin/python.vim
deleted file mode 100644
index 1268957..0000000
--- a/ftplugin/python.vim
+++ /dev/null
@@ -1 +0,0 @@
1let &path=system('python -c "import sys; print(\",\".join(sys.path))"')
diff --git a/ftplugin/text.vim b/ftplugin/text.vim
deleted file mode 100644
index 9097834..0000000
--- a/ftplugin/text.vim
+++ /dev/null
@@ -1,21 +0,0 @@
1" highlight double words (its unlikely they are right)
2autocmd InsertLeave * syntax match Convention /\v<(\w+)\_s+\1>/ containedin=ALL
3
4
5set autoindent nosmartindent nocindent
6
7set formatoptions+=n " When formatting text, recognize numbered lists.
8set formatoptions+=1 " do not break after a one letter word
9" set formatoptions+=p " Don't break lines at single spaces that follow periods.
10
11set formatoptions+=aw " Automatic formatting of paragraphs (w=only if space in the end)
12
13
14set noexpandtab
15set spell
16set complete+=kspell
17
18inoremap <C-Space> <C-n>
19
20" nnoremap <c-s> :normal <c-n>
21" autocmd CursorHoldI * normal <c-x>s
..