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>
|
||||
|
||||
Reference in New Issue
Block a user