]> git.madduck.net Git - etc/vim.git/blobdiff - .vimrc

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

LSP config
[etc/vim.git] / .vimrc
diff --git a/.vimrc b/.vimrc
index f609ba452cb081f4f2336fc67495d7177a4f5a41..81d9463366bd45e97c8be6b9e7546f6e79b578e0 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -209,7 +209,7 @@ set nowrap
 " sidescrolloff
 " minimal number of columns to keep left and right of the cursor
 "       set siso=0
 " sidescrolloff
 " minimal number of columns to keep left and right of the cursor
 "       set siso=0
-set siso=0
+set siso=1
 
 " display
 " include "lastline" to show the last line even if it doesn't fit
 
 " display
 " include "lastline" to show the last line even if it doesn't fit
@@ -685,6 +685,7 @@ let &flp='^\v\s*(((#|\a|\d{,4}|[ivx]{,4})[]:.)}/])+|[-\*.·→+])\s+'
 " completeopt
 " whether to use a popup menu for Insert mode completion
 "       set cot=menu,preview
 " completeopt
 " whether to use a popup menu for Insert mode completion
 "       set cot=menu,preview
+set cot=menu,noinsert,popup,preview,fuzzy
 
 " pumheight
 " maximum height of the popup menu
 
 " pumheight
 " maximum height of the popup menu
@@ -1451,6 +1452,8 @@ filetype plugin indent on
 syntax on
 
 packadd! editorconfig
 syntax on
 
 packadd! editorconfig
+packadd! matchit
+packadd! gnupg
 
 " leave the w mark whenever a file is written
 autocmd BufWrite * normal mw
 
 " leave the w mark whenever a file is written
 autocmd BufWrite * normal mw
@@ -1525,6 +1528,15 @@ iab <Leader>→ ➬
 
 iab :thumbsup: 👍️
 
 
 iab :thumbsup: 👍️
 
+let g:ale_completion_enabled = 0
+let g:ale_fixers = { '*': [ "remove_trailing_lines", "trim_whitespace" ] }
+let g:ale_sign_error = '>>'
+let g:ale_sign_warning = '--'
+let g:ale_set_loclist = 1
+let g:ale_open_list = 1
+let g:ale_virtualtext_cursor = 'current'
+let g:ale_floating_window_border = repeat([''], 8)
+
 try
   execute pathogen#infect()
 catch
 try
   execute pathogen#infect()
 catch
@@ -1538,15 +1550,5 @@ colorscheme artesanal
 
 let g:is_posix = 1
 
 
 let g:is_posix = 1
 
-let g:ycm_add_preview_to_completeopt="popup"
-let g:ycm_autoclose_preview_window_after_completion = 1
-
-let g:UltiSnipsExpandTrigger = "<leader><tab>"
-let g:UltiSnipsJumpForwardTrigger = "<c-]>"
-let g:UltiSnipsJumpBackwardTrigger = "<c-[>"
-let g:UltiSnipsListSnippets = "<leader>q"
-map <F10> :UltiSnipsEdit<cr>
-imap <F10> <esc>:UltiSnipsEdit<cr>
-
 let &cpo=s:cpo_save
 unlet s:cpo_save
 let &cpo=s:cpo_save
 unlet s:cpo_save