Skip to main content

Fennel Vim setup

Since this gets asked in #fennel from time to time, here is my Vim setup for Fennel:

call plug#begin('~/.vim/plugged')
" ...
Plug 'guns/vim-sexp', {'for': ['fennel']}
Plug 'tpope/vim-sexp-mappings-for-regular-people', {'for': ['fennel']}
Plug 'kovisoft/paredit', {'for': ['fennel']}
Plug 'bakpakin/fennel.vim', {'for': 'fennel'}
" ...
call plug#end()

let g:sexp_enable_insert_mode_mappings = 0
let g:sexp_filetypes = 'fennel'

See https://gist.github.com/christoph-frick/ddba9ea1bdccef1972cd4cec9b453a8b