Deleted some plugins and added a huge list of abbrevs for common misspellings for vim. Source: Wikipedia
This commit is contained in:
2
vim/.vim/ftplugin/cs.vim
Normal file
2
vim/.vim/ftplugin/cs.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
" Exception Abbrev
|
||||
nnoremap <C-j> ostring funcName = MethodBase.GetCurrentMethod().ReflectedType.ToString() + "." + MethodBase.GetCurrentMethod().Name;<CR>try {<CR><Esc>k$%ocatch (Exception ex) {<CR>Log(1, MessageType.Error, funcName, String.Format("{0}:\n\n{1}\n", funcName, ex));<CR>}<CR>}<Esc>=%
|
||||
@@ -1,8 +1,13 @@
|
||||
" setlocal spell spelllang=de_de
|
||||
" set nospell
|
||||
|
||||
" Abbrevs
|
||||
abbrev iff Leftrightarrow
|
||||
|
||||
" Begin Shortcuts
|
||||
inoremap $$ $<Esc>bi$\<Esc>f$a
|
||||
vnoremap <C-l> da\overline{<C-o>p}<Esc>
|
||||
|
||||
" Compilation
|
||||
map <C-c><C-c> <Esc>:!pandoc <C-r>% -o <C-r>%<Del><Del>pdf --from markdown+yaml_metadata_block --template $HOME/Templates/Pandoc/eisvogel --listings &>/dev/null & disown <CR><CR>
|
||||
map <C-c><C-c> <Esc>:!pandoc <C-r>% -o <C-r>%<Del><Del>pdf --from markdown+tex_math_dollars+yaml_metadata_block+hard_line_breaks --template $HOME/Templates/Pandoc/eisvogel --listings &>/dev/null & disown <CR><CR>
|
||||
map <C-c><C-d> <Esc>:!evince <C-r>%<Del><Del>pdf &>/dev/null & disown <CR><CR>
|
||||
|
||||
Submodule vim/.vim/plugged/ultisnips deleted from a6c9d4fd1b
5892
vim/.vim/plugin/missspelling_abbrevs.vim
Normal file
5892
vim/.vim/plugin/missspelling_abbrevs.vim
Normal file
File diff suppressed because it is too large
Load Diff
@@ -2,14 +2,13 @@ runtime macros/matchit.vim
|
||||
filetype on
|
||||
|
||||
call plug#begin()
|
||||
Plug 'SirVer/ultisnips'
|
||||
Plug 'honza/vim-snippets'
|
||||
Plug 'lervag/vimtex'
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
Plug 'fatih/vim-go'
|
||||
Plug 'SirVer/ultisnips'
|
||||
call plug#end()
|
||||
|
||||
let g:match_ignorecase = 1
|
||||
|
||||
let g:polyglot_disabled = ['latex']
|
||||
|
||||
let g:UltiSnipsExpandTrigger="<tab>"
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
title:
|
||||
author: Tuan-Dat Tran
|
||||
date: [:VIM_EVAL:]strftime('%Y-%m-%d')[:END_EVAL:]
|
||||
---
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user