Deleted some plugins and added a huge list of abbrevs for common misspellings for vim. Source: Wikipedia

clean_emacs
TuDatTr 2020-03-08 15:23:37 +01:00
parent 4e20234777
commit b19a19751f
9 changed files with 5906 additions and 9 deletions

View File

@ -1,6 +1,6 @@
! urxvt
! Fonts
urxvt*font: xft:Hack Nerd Font Mono:style=Regular:size=11:hinting=full, xft:DejaVu Sans Mono for Powerline:size=11,SourceHanSans-Regular
urxvt*font: xft:Hack Nerd Font Mono:style=Regular:size=11:hinting=full, xft:DejaVu Sans Mono for Powerline:size=11, SourceHanSans-Regular
! Behavior
urxvt*scrollBar: false

View File

@ -108,7 +108,7 @@ exec --no-startup-id urxvtd
exec --no-startup-id synergyc -f --no-tray --debug INFO --name genesis --enable-crypto 192.168.178.38:24800
exec --no-startup-id dunst
exec --no-startup-id ~/.scripts/startup.sh
exec --no-startup-id /home/tuan/workspace/go/monthlyLedger/main /home/tuan/Templates/ledger/*
exec --no-startup-id llk
###############################################################################
################################# Keybindings #################################

View File

@ -9,4 +9,4 @@ t:/home/tuan/Templates
w:/home/tuan/workspace_l/Projects
k:/home/tuan
q:/home/tuan/.nextcloud/Quick Drop
':/home/tuan/.dotfiles/vim/.vim
':/home/tuan/.vim

2
vim/.vim/ftplugin/cs.vim Normal file
View 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>=%

View File

@ -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>

@ -1 +0,0 @@
Subproject commit a6c9d4fd1b23e1480b973e7cee1fe20c79248b75

File diff suppressed because it is too large Load Diff

View File

@ -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>"

View File

@ -2,4 +2,4 @@
title:
author: Tuan-Dat Tran
date: [:VIM_EVAL:]strftime('%Y-%m-%d')[:END_EVAL:]
---
...