switch vim flavour to Neovim; reason: macOS clipboard support

access to system clipboard was broken in command-line vim, the buffers
"+ or "* were said not to exist and neither unnamed or unnamedplus
clipboard settings were working.

Aliases nvim to "vim"
This commit is contained in:
Trolli Schmittlauch 2022-05-19 17:11:04 +02:00
parent 847196e0a3
commit 94aa73b2c0
3 changed files with 10 additions and 14 deletions

View file

@ -36,11 +36,8 @@ set incsearch
set autoindent
set history=1000
" set cursorline
if has("unnamedplus")
set clipboard=unnamedplus
elseif has("clipboard")
set clipboard=unnamed
endif
" use system clipboard as default buffer
set clipboard=unnamed
" set expandtab
set shiftwidth=4
@ -101,7 +98,7 @@ au FileType nix setlocal tabstop=2 expandtab shiftwidth=2 softtabstop=2
set ofu=syntaxcomplete#Complete
" nmap <C-V> "+gP
" imap <C-V> <ESC><C-V>a
vmap <C-C> "+y
"vmap <C-C> "+y
" ALE linter settings
let g:ale_linters = { 'python': ['flake8'] }
@ -109,4 +106,4 @@ let g:ale_linters = { 'python': ['flake8'] }
" vim-pandoc settings
let g:pandoc#modules#disabled = ["spell"]
set textwidth=0
set wrapmargin=0
set wrapmargin=0