Vim Configs and some i3 tweaks
This commit is contained in:
5
vim/.vim/.netrwhist
Normal file
5
vim/.vim/.netrwhist
Normal file
@@ -0,0 +1,5 @@
|
||||
let g:netrw_dirhistmax =10
|
||||
let g:netrw_dirhist_cnt =3
|
||||
let g:netrw_dirhist_1='/home/tuan/Nextcloud/Templates/LaTeX/Protokoll'
|
||||
let g:netrw_dirhist_2='/home/tuan/Nextcloud/Templates/LaTeX/Protokoll/INCL'
|
||||
let g:netrw_dirhist_3='/home/tuan/Nextcloud/Documents/Git/infrastruktur/mailing_lists'
|
||||
1
vim/.vim/bundle/Vundle.vim
Submodule
1
vim/.vim/bundle/Vundle.vim
Submodule
Submodule vim/.vim/bundle/Vundle.vim added at 9a38216a1c
1
vim/.vim/bundle/vim-pandoc
Submodule
1
vim/.vim/bundle/vim-pandoc
Submodule
Submodule vim/.vim/bundle/vim-pandoc added at d0911146c6
1
vim/.vim/bundle/vim-pandoc-syntax
Submodule
1
vim/.vim/bundle/vim-pandoc-syntax
Submodule
Submodule vim/.vim/bundle/vim-pandoc-syntax added at 56e8e41ef8
2215
vim/.vim/colors/PaperColor.vim
Normal file
2215
vim/.vim/colors/PaperColor.vim
Normal file
File diff suppressed because it is too large
Load Diff
7
vim/.vim/ftplugin/go.vim
Normal file
7
vim/.vim/ftplugin/go.vim
Normal file
@@ -0,0 +1,7 @@
|
||||
" Shortcuts
|
||||
imap ;default package main<Enter><Enter>import (<Enter>"fmt"<Enter>)<Enter><Enter>func main() {<Enter>}<Esc>O
|
||||
|
||||
" Compiling
|
||||
map <C-c><C-c> <Esc>:!go run %<Enter>
|
||||
map <C-c><C-b> <Esc>:!go build %; ./%<<Enter>
|
||||
map <C-c><C-w> <Esc>:!GOOS=windows GOARCH=386 go build -o %<.exe %
|
||||
9
vim/.vim/ftplugin/md.vim
Normal file
9
vim/.vim/ftplugin/md.vim
Normal file
@@ -0,0 +1,9 @@
|
||||
setlocal spell spelllang=de_de
|
||||
|
||||
|
||||
" Begin Shortcuts
|
||||
|
||||
" Compilation
|
||||
map <C-c><C-c> <Esc>:RunBackgroundCommand pandoc <C-r>% --pdf-engine=xelatex -o <C-r>%<Del><Del>pdf<Enter>
|
||||
map <C-c><C-d> <Esc>:silent exec "!evince %<.pdf &"<Enter>
|
||||
|
||||
16
vim/.vim/ftplugin/tex.vim
Normal file
16
vim/.vim/ftplugin/tex.vim
Normal file
@@ -0,0 +1,16 @@
|
||||
setlocal spell spelllang=de_de
|
||||
|
||||
" Begin Shortcuts
|
||||
map <C-B> YpkI\begin{<Esc>A}<Esc>jI\end{<Esc>A}<Esc>ko
|
||||
map! <C-B> <Esc>YpkI\begin{<Esc>A}<Esc>jI\end{<Esc>A}<Esc>ko
|
||||
|
||||
imap ;item \begin{itemize}<Enter>\end{itemize}<Esc>ko\item<Space>
|
||||
imap ;- \item
|
||||
|
||||
":command! -complete=file -nargs=1 Rpdf :r !pdftotext -nopgbrk <q-args> -
|
||||
":command! -complete=file -nargs=1 Rpdf :r !pdftotext -nopgbrk <q-args> - | fmt -csw78
|
||||
|
||||
" Compilation
|
||||
map <C-c><C-c> <Esc>:RunBackgroundCommand pdflatex -interaction nonstopmode <C-r>%<Enter>
|
||||
map <C-c><C-d> <Esc>:silent exec "!evince %<.pdf &"<Enter>
|
||||
|
||||
29
vim/.vim/spell/de.utf-8.add
Normal file
29
vim/.vim/spell/de.utf-8.add
Normal file
@@ -0,0 +1,29 @@
|
||||
FSR
|
||||
Marecel
|
||||
Zutter
|
||||
FSK
|
||||
Karbe
|
||||
ICB
|
||||
tabbing
|
||||
Fotoboxen
|
||||
Datenschutzgrundverordnung
|
||||
DSGVO
|
||||
Freiverzehrkarte
|
||||
Busse
|
||||
StuPa
|
||||
Docs
|
||||
Busticket
|
||||
Studierendenwerk
|
||||
Softgetränke
|
||||
Water
|
||||
Science
|
||||
Micha
|
||||
Katha
|
||||
Komedia
|
||||
Tuan
|
||||
Planungstreffen
|
||||
FSRs
|
||||
Medizintechik
|
||||
Gästeliste
|
||||
VVK
|
||||
Tagesordnugnspunkte
|
||||
BIN
vim/.vim/spell/de.utf-8.add.spl
Normal file
BIN
vim/.vim/spell/de.utf-8.add.spl
Normal file
Binary file not shown.
BIN
vim/.vim/spell/de.utf-8.spl
Normal file
BIN
vim/.vim/spell/de.utf-8.spl
Normal file
Binary file not shown.
@@ -7,7 +7,6 @@ call vundle#begin()
|
||||
Plugin 'VundleVim/Vundle.vim'
|
||||
Plugin 'vim-pandoc/vim-pandoc'
|
||||
Plugin 'vim-pandoc/vim-pandoc-syntax'
|
||||
Plugin 'terryma/vim-multiple-cursors'
|
||||
call vundle#end()
|
||||
|
||||
" Filetypes
|
||||
@@ -16,8 +15,6 @@ au BufNewFile,BufRead *.tex set filetype=tex
|
||||
au BufNewFile,BufRead config set filetype=config
|
||||
" Functions
|
||||
|
||||
" Arch defaults
|
||||
|
||||
"" Move the swap file location to protect against CVE-2017-1000382
|
||||
if exists('$XDG_CACHE_HOME')
|
||||
let &g:directory=$XDG_CACHE_HOME
|
||||
@@ -33,8 +30,9 @@ endif
|
||||
" Basics
|
||||
syntax on
|
||||
filetype indent plugin on
|
||||
set background=dark
|
||||
colorscheme PaperColor
|
||||
set encoding=utf-8
|
||||
colorscheme monokai
|
||||
set autowrite
|
||||
set smartcase
|
||||
set incsearch
|
||||
|
||||
1
vim/bundle/Vundle.vim
Submodule
1
vim/bundle/Vundle.vim
Submodule
Submodule vim/bundle/Vundle.vim added at 9a38216a1c
1
vim/bundle/vim-multiple-cursors
Submodule
1
vim/bundle/vim-multiple-cursors
Submodule
Submodule vim/bundle/vim-multiple-cursors added at dd9289af03
1
vim/bundle/vim-pandoc
Submodule
1
vim/bundle/vim-pandoc
Submodule
Submodule vim/bundle/vim-pandoc added at d0911146c6
1
vim/bundle/vim-pandoc-syntax
Submodule
1
vim/bundle/vim-pandoc-syntax
Submodule
Submodule vim/bundle/vim-pandoc-syntax added at 56e8e41ef8
Reference in New Issue
Block a user