split vim config

This commit is contained in:
2021-04-25 22:04:51 +02:00
parent e135d0bd55
commit f50bbe77ab
10 changed files with 71 additions and 73 deletions

View File

@@ -1,16 +1,3 @@
set tw=72 " text width for line-break
set comments=s1:/mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-,fb:*
set ai! " auto indent
set fo+=tcqn " format options
" delete lines until end
nmap <C-d> dG1o
map! <C-d> <ESC>dG1o
" delete current line
nmap <C-s> ddi
map! <C-s> <ESC>ddi
" add empty line
nmap <C-a> 1o
map! <C-a> <ESC>1o
source ~/.vim/_formatting.vim
source ~/.vim/_line-shortcuts.vim
source ~/.vim/_word-shortcuts.vim