From 07797b39851da045aa1bfd0289de0858a1377c48 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Sun, 18 Dec 2022 20:29:55 +0100 Subject: Switched to nvim and neovide --- ftplugin/c.vim | 18 ------------------ ftplugin/coffee.vim | 1 - ftplugin/doxygen.vim | 3 --- ftplugin/help.vim | 3 --- ftplugin/java.vim | 2 -- ftplugin/nerdtree.vim | 1 - ftplugin/python.vim | 1 - ftplugin/text.vim | 21 --------------------- 8 files changed, 50 deletions(-) delete mode 100644 ftplugin/c.vim delete mode 100644 ftplugin/coffee.vim delete mode 100644 ftplugin/doxygen.vim delete mode 100644 ftplugin/help.vim delete mode 100644 ftplugin/java.vim delete mode 100644 ftplugin/nerdtree.vim delete mode 100644 ftplugin/python.vim delete mode 100644 ftplugin/text.vim (limited to 'ftplugin') 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 @@ -setlocal equalprg=clang-format -setlocal breakat-=- -setlocal keywordprg=man\ 3 - -setlocal makeprg=make\ %:r - -setlocal cindent cinoptions+=(0 | " indent at parentheses - -" map = :pyfile /usr/share/clang/clang-format.py - - -let c_space_errors=1 -let c_gnu=1 - - -hi! cConstant gui=italic -hi! cConditional gui=italic -hi! 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 @@ -let 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 @@ -let g:load_doxygen_syntax=1 - -syntax 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 @@ -" I will never get used to press CTRL-] to follow a link, never! -nnoremap -nnoremap 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 @@ -set makeprg=javac\ -Xdiags:verbose\ % -set 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 @@ - 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 @@ -let &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 @@ -" highlight double words (its unlikely they are right) -autocmd InsertLeave * syntax match Convention /\v<(\w+)\_s+\1>/ containedin=ALL - - -set autoindent nosmartindent nocindent - -set formatoptions+=n " When formatting text, recognize numbered lists. -set formatoptions+=1 " do not break after a one letter word -" set formatoptions+=p " Don't break lines at single spaces that follow periods. - -set formatoptions+=aw " Automatic formatting of paragraphs (w=only if space in the end) - - -set noexpandtab -set spell -set complete+=kspell - -inoremap - -" nnoremap :normal -" autocmd CursorHoldI * normal s -- cgit v1.2.3