Skip to content

fatihict/init.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Neovim configuration for Clojure(Script) development

Steal anything you like and send me a message @fatihict on the Clojurians Slack if I can improve upon something :D

To fix

  • Ctags shouldn't see metadata as a function name
  • Check-in ~/.lein/profiles
  • Check-in ~/.ctags
  • Improve this README with a table of functions I need to use/remember
  • Check-in clojure snippets
  • Fix regex for defines etc.. To check for optional meta data, defines without meta data are currently not recognized

To remember

Clojure stuff

Remember Description
Piggieback :Piggieback (figwheel-sidecar.repl-api/repl-env)
<Leader>e Eval range
:%Eval Eval whole file
:Require Require a namespace with :reload
:Require! :reload-all on current buffer or given argument
cp Evaluate given motion (cpp for innermost form under cursor)
cm and c1m clojure.walk/macroexpand-all and macroexpand-1 on form
Open stacktrace :lopen
K Doc under cursor
[d Source under cursor
[<C-d> Jump to defintion also works with jars
gf Go to file with namespaces
:Last Open result of last eval. Cycle with :lprevious and :Lnext
c!{motion} Eval and replace
:Piggieback! Terminate the most recently created piggieback session
>f <f Move forms
>e <e Move element
>) <) >( <( Move parens
<I >I Insert at begin/end of form
ysaf Surround form with parens
dsf Delete surrounding of form
cse( or cse) Surround element in parens
cse[ or cse] Surround element in brackets
cse{ or cse} Surround element in braces

Global

Remember Description
C-y Scroll up
M-y Scroll down
C-e :History
<Leader>/ :History/
<Leader>: :History:
<Leader>bt :BTags
<Leader>bb :Buffers
<Leader>tb :Tagbar
<Leader>p :Tags
<Leader>l :Blines

About

My Neovim config for Clojure(Script) development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published