add mapping to insert bulletpoint; formatting
authorTobias Sachs <git-pngdhxpf-ts@twobees.de>
Fri, 30 Apr 2021 10:43:36 +0000 (12:43 +0200)
committerTobias Sachs <git-pngdhxpf-ts@twobees.de>
Fri, 30 Apr 2021 10:43:36 +0000 (12:43 +0200)
vimrc

diff --git a/vimrc b/vimrc
index 890ffbf7b601cddcbdcf47ab251c4a9d33362774..7a60662f9817dca81aa65fb2303bb8ae7becd7cf 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -86,6 +86,9 @@ nnoremap <F8> ]s
 nnoremap <S-F8> [s
 nnoremap Z Y
 
+nnoremap <leader>- i• 
+inoremap <leader>- • 
+
 " Window switching
 nnoremap <C-k> <C-W>k
 nnoremap <C-j> <C-W>j
@@ -409,9 +412,9 @@ endif
 hi CursorLineNr  ctermbg=black guibg=black
 hi CursorLine    ctermbg=black guibg=black
 augroup CursorLine
-  au!
-  au VimEnter,WinEnter,BufWinEnter * setlocal cursorline
-  au WinLeave * setlocal nocursorline
+    au!
+    au VimEnter,WinEnter,BufWinEnter * setlocal cursorline
+    au WinLeave * setlocal nocursorline
 augroup END
 
 packadd! matchit
@@ -466,7 +469,9 @@ endif
 augroup logfilesgroup
     autocmd!
     au! BufRead,BufNewFile *.log    setlocal nowrap |
-                                  \ setlocal textwidth=0 |
-                                  \ let &colorcolumn=""
+                \ setlocal textwidth=0 |
+                \ let &colorcolumn=""
 augroup END
 
+
+set suffixes+=.mhp,.backup1,.backup2,.backup3