move completly to neovim

This commit is contained in:
2021-11-26 16:24:32 +01:00
parent b50d5ca51b
commit bf252df391
5 changed files with 6 additions and 5 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,69 @@
if ($TERM=~"xterm-256color" || $TERM=~"screen-256color")
call plug#begin('~/.config/nvim/plugins')
Plug 'cloudhead/neovim-fuzzy'
Plug 'mhinz/vim-signify'
Plug 'overcache/NeoSolarized'
" language plugins
Plug 'LnL7/vim-nix'
Plug 'neovimhaskell/haskell-vim'
call plug#end()
colorscheme NeoSolarized
set background=light
set termguicolors
endif
filetype plugin indent on
let g:markdown_fenced_languages = ['python', 'bash=sh', 'go', 'c', 'cpp', 'yaml', 'json', 'sql', 'haskell']
set autoindent
set autoread
set autowrite
set expandtab
set hidden
set ignorecase
set incsearch
set laststatus=2
set linebreak
set list listchars=tab:▸\ ,trail
set mouse=a
set nofoldenable
set nojoinspaces
set number
set path+=**
set printoptions=paper:A4,syntax:n,number:y
set shiftwidth=4
set showbreak=↪\
set splitbelow
set splitright
set statusline=\(%n\)\ %<%.99f\ %y\ %w%m%r%=%-14.(%l,%c%V%)\ %P
set tabstop=4
set textwidth=120
set wrapscan
let mapleader=" "
let maplocalleader=" "
nnoremap <silent> <esc><esc> :nohls<CR>
nnoremap <silent> gB :bp<CR>
nnoremap <silent> gb :bn<CR>
nnoremap <C-p> :FuzzyOpen<CR>
"noremap p p`[
"noremap P P`[
augroup vimrc
autocmd!
autocmd BufNewFile,BufRead *.pdc,*.pandoc setlocal filetype=markdown
autocmd BufNewFile,BufRead Vagrantfile setlocal filetype=ruby
autocmd FileType puppet setlocal tw=140
autocmd FileType bash,zsh,sh,ruby,yaml setlocal sw=2
autocmd FileType go setlocal noexpandtab sw=8 ts=8
" restore cursor
"autocmd VimLeave * set guicursor=a:ver90
augroup END