From 3389e4fdde8fd612fd8a54db28d97f62ca729a7f Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Wed, 27 Nov 2019 08:53:03 +0100 Subject: Remove vim config, it's old and not in use --- vim/.vim/ftdetect/markdown.vim | 2 -- vim/.vim/ftplugin/c.vim | 2 -- vim/.vim/ftplugin/css.vim | 2 -- vim/.vim/ftplugin/drowmark.vim | 27 -------------- vim/.vim/ftplugin/html.vim | 4 --- vim/.vim/ftplugin/javascript.vim | 4 --- vim/.vim/ftplugin/markdown.vim | 29 --------------- vim/.vim/ftplugin/tex.vim | 11 ------ vim/.vim/spell/en.utf-8.spl | Bin 609337 -> 0 bytes vim/.vim/spell/en.utf-8.sug | Bin 556476 -> 0 bytes vim/.vim/spell/es.utf-8.spl | Bin 601019 -> 0 bytes vim/.vim/spell/es.utf-8.sug | Bin 1912378 -> 0 bytes vim/.vimrc | 74 --------------------------------------- 13 files changed, 155 deletions(-) delete mode 100644 vim/.vim/ftdetect/markdown.vim delete mode 100644 vim/.vim/ftplugin/c.vim delete mode 100644 vim/.vim/ftplugin/css.vim delete mode 100644 vim/.vim/ftplugin/drowmark.vim delete mode 100644 vim/.vim/ftplugin/html.vim delete mode 100644 vim/.vim/ftplugin/javascript.vim delete mode 100644 vim/.vim/ftplugin/markdown.vim delete mode 100644 vim/.vim/ftplugin/tex.vim delete mode 100644 vim/.vim/spell/en.utf-8.spl delete mode 100644 vim/.vim/spell/en.utf-8.sug delete mode 100644 vim/.vim/spell/es.utf-8.spl delete mode 100644 vim/.vim/spell/es.utf-8.sug delete mode 100644 vim/.vimrc (limited to 'vim') diff --git a/vim/.vim/ftdetect/markdown.vim b/vim/.vim/ftdetect/markdown.vim deleted file mode 100644 index 51b8df5..0000000 --- a/vim/.vim/ftdetect/markdown.vim +++ /dev/null @@ -1,2 +0,0 @@ -" Understand .md as markdown -autocmd BufNewFile,BufRead *.md set ft=markdown diff --git a/vim/.vim/ftplugin/c.vim b/vim/.vim/ftplugin/c.vim deleted file mode 100644 index ce42c00..0000000 --- a/vim/.vim/ftplugin/c.vim +++ /dev/null @@ -1,2 +0,0 @@ -setlocal foldmethod=syntax -setlocal syntax=c.doxygen diff --git a/vim/.vim/ftplugin/css.vim b/vim/.vim/ftplugin/css.vim deleted file mode 100644 index 6a56808..0000000 --- a/vim/.vim/ftplugin/css.vim +++ /dev/null @@ -1,2 +0,0 @@ -set tabstop=2 softtabstop=0 expandtab shiftwidth=2 -set autoindent diff --git a/vim/.vim/ftplugin/drowmark.vim b/vim/.vim/ftplugin/drowmark.vim deleted file mode 100644 index be65689..0000000 --- a/vim/.vim/ftplugin/drowmark.vim +++ /dev/null @@ -1,27 +0,0 @@ -" Spellcheck in markdown (automatic to english) -setlocal spelllang=es -setlocal spell - -" Textwidth for automatic wrap `gq` is formatting operation -setlocal textwidth=79 -setlocal formatoptions+=t -setlocal formatoptions-=l - - -" Highlight where the lines are more than 80 characters wide -setlocal colorcolumn=80 -highlight ColorColumn ctermbg=LightGreen - -" Auto-capitalize script -augroup SENTENCES - au! - autocmd InsertCharPre * if &ft=='drowmark' | if search('\v(%^|[.!?]\_s+|\_^\-\s|\_^title\:\s|\n\n)%#', 'bcnw') != 0 | let v:char = toupper(v:char) | endif | endif -augroup END - -" Highlight spelling errors in red and underline -hi clear SpellBad -hi SpellBad cterm=underline ctermfg=Red - -" Tabs to 2 spaces -set tabstop=2 softtabstop=0 expandtab shiftwidth=2 -set autoindent diff --git a/vim/.vim/ftplugin/html.vim b/vim/.vim/ftplugin/html.vim deleted file mode 100644 index cde3013..0000000 --- a/vim/.vim/ftplugin/html.vim +++ /dev/null @@ -1,4 +0,0 @@ -setlocal tabstop=2 softtabstop=0 expandtab shiftwidth=2 -setlocal autoindent - -setlocal foldmethod=indent diff --git a/vim/.vim/ftplugin/javascript.vim b/vim/.vim/ftplugin/javascript.vim deleted file mode 100644 index cde3013..0000000 --- a/vim/.vim/ftplugin/javascript.vim +++ /dev/null @@ -1,4 +0,0 @@ -setlocal tabstop=2 softtabstop=0 expandtab shiftwidth=2 -setlocal autoindent - -setlocal foldmethod=indent diff --git a/vim/.vim/ftplugin/markdown.vim b/vim/.vim/ftplugin/markdown.vim deleted file mode 100644 index f891b35..0000000 --- a/vim/.vim/ftplugin/markdown.vim +++ /dev/null @@ -1,29 +0,0 @@ -setlocal syntax=markdown - -" Spellcheck in markdown (automatic to english) -setlocal spelllang=en -setlocal spell - -" Textwidth for automatic wrap `gq` is formatting operation -setlocal textwidth=79 -setlocal formatoptions+=t -setlocal formatoptions-=l - - -" Highlight where the lines are more than 80 characters wide -setlocal colorcolumn=80 -highlight ColorColumn ctermbg=LightGreen - -" Auto-capitalize script -augroup SENTENCES - au! - autocmd InsertCharPre * if &ft=='markdown' | if search('\v(%^|[.!?]\_s+|\_^\-\s|\_^title\:\s|\n\n)%#', 'bcnw') != 0 | let v:char = toupper(v:char) | endif | endif -augroup END - -" Highlight spelling errors in red and underline -hi clear SpellBad -hi SpellBad cterm=underline ctermfg=Red - -" Tabs to 2 spaces -set tabstop=2 softtabstop=0 expandtab shiftwidth=2 -set autoindent diff --git a/vim/.vim/ftplugin/tex.vim b/vim/.vim/ftplugin/tex.vim deleted file mode 100644 index fc0d53a..0000000 --- a/vim/.vim/ftplugin/tex.vim +++ /dev/null @@ -1,11 +0,0 @@ -set tabstop=2 softtabstop=0 expandtab shiftwidth=2 -set autoindent - -" Test some wrapping on the html -setlocal textwidth=79 -setlocal formatoptions+=t - -" Highlight where the lines are more than 80 characters wide -setlocal colorcolumn=80 -highlight ColorColumn ctermbg=LightGreen - diff --git a/vim/.vim/spell/en.utf-8.spl b/vim/.vim/spell/en.utf-8.spl deleted file mode 100644 index 83b9b8f..0000000 Binary files a/vim/.vim/spell/en.utf-8.spl and /dev/null differ diff --git a/vim/.vim/spell/en.utf-8.sug b/vim/.vim/spell/en.utf-8.sug deleted file mode 100644 index 1add0c6..0000000 Binary files a/vim/.vim/spell/en.utf-8.sug and /dev/null differ diff --git a/vim/.vim/spell/es.utf-8.spl b/vim/.vim/spell/es.utf-8.spl deleted file mode 100644 index 62d848d..0000000 Binary files a/vim/.vim/spell/es.utf-8.spl and /dev/null differ diff --git a/vim/.vim/spell/es.utf-8.sug b/vim/.vim/spell/es.utf-8.sug deleted file mode 100644 index 9064321..0000000 Binary files a/vim/.vim/spell/es.utf-8.sug and /dev/null differ diff --git a/vim/.vimrc b/vim/.vimrc deleted file mode 100644 index 2104937..0000000 --- a/vim/.vimrc +++ /dev/null @@ -1,74 +0,0 @@ - -" Vundle stuff ---------------------------------------------- -set nocompatible -filetype off -set rtp+=~/.vim/bundle/Vundle.vim -call vundle#begin() - -" let Vundle manage Vundle, required -Plugin 'VundleVim/Vundle.vim' - -" Post to Wordpress using MarkDown -Plugin 'ekaitz-zarraga/droWMark' - -" Add plugins here - -call vundle#end() " required -" / Vundle stuff end ---------------------------------------- - -" Allow backspace always -set backspace=indent,eol,start - -" Activate syntax highlighting by default -syntax on - -" Different config for each filetype -filetype plugin on - -" Show trailing spaces -highlight ExtraWhitespace ctermbg=red guibg=red -match ExtraWhitespace /\s\+$/ -autocmd BufWinEnter * match ExtraWhitespace /\s\+$/ -autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@ -function TrimWhiteSpace() - %s/\s*$// - '' -:endfunction -nnoremap :call TrimWhiteSpace() - -" Fold -set foldmethod=indent -set foldlevelstart=99 - -" HighLight search and map CarrierReturn to remove highlight -set hlsearch -nnoremap :noh - -" Ignore Case in search -set ignorecase -set smartcase - -" Always show tabline (0=never, 1=when there are at least 2 tabs, 2=always) -set showtabline=1 - -" Mouse support -set mouse=a - -" Set default colorscheme but dark comments -> Torte -colorscheme torte - -" Default tabs -set tabstop=4 softtabstop=0 expandtab shiftwidth=4 -set autoindent - -" Change buffers without needing to save -set hidden - -" Explore configured to show tree -let g:netrw_liststyle= 3 -- cgit v1.2.3