From c2fcd44b6a64ec7fd44f364a64396f680babbf8d Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Wed, 29 May 2024 12:51:04 -0500 Subject: Updates --- vimrc | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 vimrc (limited to 'vimrc') diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..7a47e75 --- /dev/null +++ b/vimrc @@ -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 e :e **/ +noremap gd mB:LspGotoDefinition +noremap ca :LspCodeAction +noremap k :LspDiagCurrent +nnoremap l :ls:b + +au BufEnter *.org set spell + +set wildmenu +set wildmode=longest:full,lastused +set wildignore=_build/**,release/** +set grepprg=git\ grep\ -nH -- cgit v1.2.3