diff options
Diffstat (limited to '')
-rw-r--r-- | vimrc | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -0,0 +1,36 @@ +packadd lsp +packadd vim-colors-plain +set tabstop=2 +set expandtab +set shiftwidth=2 +set shiftround +set nobackup +set autoindent +set smartindent +set cindent +let mapleader=" " +syntax on +colorscheme plain-cterm + +call LspAddServer([#{ + \ name: 'caml', + \ filetype: ['ocaml'], + \ path: '/home/mccd/.opam/default/bin/ocamllsp', + \ args: [], + \ syncInit: v:true + \ }]) + + +noremap , : +noremap <leader>e :e **/ +noremap gd mB:LspGotoDefinition<Enter> +noremap <leader>ca :LspCodeAction<Enter> +noremap <leader>k :LspDiagCurrent<Enter> +nnoremap <leader>l :ls<CR>:b<space> + +au BufEnter *.org set spell + +set wildmenu +set wildmode=longest:full,lastused +set wildignore=_build/**,release/** +set grepprg=git\ grep\ -nH |