Skip to content

Instantly share code, notes, and snippets.

@mfandl
Created March 15, 2020 13:54
Show Gist options
  • Save mfandl/1b461a9adfcadd96b14eb2d3c36169f2 to your computer and use it in GitHub Desktop.
Save mfandl/1b461a9adfcadd96b14eb2d3c36169f2 to your computer and use it in GitHub Desktop.
set number
set expandtab
set tabstop=2
set softtabstop=2
set shiftwidth=2
set nofoldenable
let g:mapleader = ','
filetype plugin on
set omnifunc=syntaxcomplete#Complete
call plug#begin('~/.config/nvim/plugged')
Plug 'dense-analysis/ale'
Plug 'pangloss/vim-javascript'
Plug 'mxw/vim-jsx'
Plug 'tikhomirov/vim-glsl'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'neovimhaskell/haskell-vim'
Plug 'rust-lang/rust.vim'
Plug 'wlangstroth/vim-racket'
Plug 'kovisoft/slimv'
Plug 'icymind/NeoSolarized'
Plug 'purescript-contrib/purescript-vim'
Plug 'frigoeu/psc-ide-vim'
Plug 'ludovicchabant/vim-gutentags'
Plug 'plasticboy/vim-markdown'
Plug 'vmchale/dhall-vim'
call plug#end()
set termguicolors
set background=light
colorscheme NeoSolarized
let g:netrw_banner = 0
let g:netrw_liststyle = 3
let g:netrw_winsize = 20
let g:haskell_classic_highlighting = 1
let g:haskell_indent_if = 3
let g:haskell_indent_case = 2
let g:haskell_indent_let = 4
let g:haskell_intend_where = 6
let g:haskell_indent_before_where = 2
let g:haskell_indent_after_baer_where = 2
let g:haskell_indent_do = 3
let g:haskell_indent_in = 1
let g:haskell_indent_guard = 2
let g:haskell_indent_case_alternative = 1
let g:cabal_indent_section = 2
let g:haskell_enable_quantification = 1
let g:haskell_enable_recursivedo = 1
let g:haskel_enable_arrowsyntax = 1
let g:haskell_enable_pattern_synonyms = 1
let g:haskell_enable_typeroles = 1
let g:haskell_enable_static_pointers = 1
let g:haskell_enable_backpack = 1
let g:haskellmode_completion_ghc = 0
let g:deoplete#enable_at_startup = 1
let g:paredit_electric_return = 0
let g:slimv_impl = 'mit'
let g:scheme_builtin_swank = 1
set wildignore+=*/node_modules/*
nnoremap <leader>ex :Explore<cr>
nnoremap <leader>hh :nohl<cr>
nnoremap <leader>ff :ALEFix<cr>
nnoremap <leader>ei :vsplit $MYVIMRC<cr>
nnoremap <leader>si :so $MYVIMRC<cr>
nnoremap <leader>= gg=G<cr>
nnoremap <leader>y "+y
nnoremap <leader>p "+p
vnoremap <leader>y "+y
vnoremap <leader>p "+p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment