Search code examples
emacslispslime

Autocomplete parentheses in SLIME


I'm learning Common Lisp using SLIME. Is there a way to autocomplete parentheses so that when I type an open paren, a closed one is automatically added? I'm more of a vim guy, so in mv ~/.vimrc I have:

inoremap ( ()< Left >

So when I type an open paren, vim automatically adds the closed paren and puts my cursor in between the parens. Is there a way to do this with SLIME?


Solution

  • If you're working with CL or other lisps, I can recommend to install & use the paredit - it helps a lot to write & manipulate s-expressions