diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-29 12:51:04 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-29 12:51:04 -0500 |
commit | c2fcd44b6a64ec7fd44f364a64396f680babbf8d (patch) | |
tree | b7d0b5902d682985392991ae430ef9fef2431e03 /vimrc | |
parent | 3b42452a37117bace208a2085980e7c1b79b3738 (diff) | |
download | rcm-c2fcd44b6a64ec7fd44f364a64396f680babbf8d.tar.gz rcm-c2fcd44b6a64ec7fd44f364a64396f680babbf8d.tar.bz2 rcm-c2fcd44b6a64ec7fd44f364a64396f680babbf8d.zip |
Updates
Diffstat (limited to 'vimrc')
-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 |