vim-sexp-mappings-for-regular-people VS vim-slime

Compare vim-sexp-mappings-for-regular-people vs vim-slime and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
vim-sexp-mappings-for-regular-people vim-slime
6 56
424 1,795
- -
0.0 9.3
over 1 year ago 8 days ago
Vim Script Vim Script
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

vim-sexp-mappings-for-regular-people

Posts with mentions or reviews of vim-sexp-mappings-for-regular-people. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-14.
  • Vim function to move following word into parentheses?
    3 projects | /r/vim | 14 Feb 2023
    The vim-sexp plugin does slurping and barfing of s-expressions. When I used it years ago with Clojure, c/o of tpope's fireplace plugin, I preferred his mappings for it.
  • Paredit 25 Released
    6 projects | news.ycombinator.com | 26 Nov 2022
    I'm a vim user and generally dislike tools typing for me at the same time that I'm typing. I've gotten some value from https://github.com/tpope/vim-sexp-mappings-for-regular-peopl... though when writing Lisp.
  • Paredit Mnemonics for Slurping and Barfing Lisp Symbolic Expressions
    3 projects | news.ycombinator.com | 12 Mar 2022
    vim-sexp-mappings-for-regular-people [1] uses really easy-to-remember shortcuts for these:

    - "backward slurp" is "<(" (move opening paren to the left)

    - "forward slurp" is ">)" (move closing paren to the right)

    - "forward barf" is "<)" (move closing paren to the left)

    - "backward barf" is ">(" (move opening paren to the right)

    [1]: https://github.com/tpope/vim-sexp-mappings-for-regular-peopl...

  • Running Lisp in Production – Grammarly Engineering Blog
    9 projects | news.ycombinator.com | 1 Feb 2022
    I think the paredit stuff is a bit overblown but apart from managing parens for you, another simple example is editing single expressions. e.g. in Java you might have a line: "int a = blah.bar(something, thing, whatever);" If you realize you need to actually pass "whatever" first, not last, unless you know an IDE shortcut that can make the edit for you, you're going to have to type stuff. I would probably just move my cursor to the start, type "whatever, ", move my cursor to the comma after "thing" and highlight to the end then delete. If "whatever" was a longer variable, or even more interestingly an entire sub-function call like "whatever(x, y, z)", I might instead highlight it all, cut, backspace the comma, move cursor to the start, paste, type a comma. Oh no, I might miss a comma or somehow mess up a paren/semicolon or typo a name?! Whatever, it's rare for me, and for most mistakes I'd get a red squiggly alerting me to it immediately. I like typing, and prefer most 'helpful' plugins get out of my way for most things, so such a process isn't that annoying to me.

    But I do at least see there's a nicer process if you have something like paredit: you just move you cursor to the "whatever" (even if it's instead "whatever(a,b,c)") and a command will move it to the left/right/etc. and fix up anything that needs fixing up. In Lisp though the base syntax is so simple and uniform that there's not usually much needing "fixing up" -- there's no pesky commas to deal with for instance, and having the opening paren come in front of the function name instead of after simplifies a lot of things. The worst is adding/removing/moving a form that's at the end of a let binding, or perhaps sometimes adding something to the end of a function that previously ended with ))).

    I like to use vim (which does have paredit though I have it disabled) and just having the ability to jump between open/close parens by pressing "%" and to cut jumps as a whole, or the insides, without having to move my cursor character by character, is good enough for me. I still use some paredit-like commands in some instances like moving forms around or in those "worst case issues" I mentioned but I use them with these mappings: https://github.com/tpope/vim-sexp-mappings-for-regular-peopl...

    There are more advanced things but how much I care about them varies; I don't tend to need them for Lisp, though every so often I'll miss something from Eclipse that I suspect not even emacs does (or does well). e.g. I know emacs can do a "templateized" completion just like a Java IDE when you type a function name and insert its arguments as placeholder variables to later define/type over, I don't know though whether emacs can then let you place the cursor over each one in turn and with something as easy as 'ctrl+1' hoist that var to an assignment form just above (I did this all the time in Eclipse to avoid having to choose a name, type it, and type its correct type). (In Lisp it's complicated by needing to introduce a let binding if it doesn't exist or append to one if it does. It wouldn't surprise me if paredit can do this, it's just that I'm aware of some refactoring tools in Slime but they don't tend to approach what Eclipse or IntelliJ users expect even if in theory they could.)

  • VIM?
    7 projects | /r/lisp | 28 Sep 2021
    I use vim with slimv, paredit turned off but a few bindings from https://github.com/tpope/vim-sexp-mappings-for-regular-people are useful.
  • Lisp as an Alternative to Java (2000)
    5 projects | news.ycombinator.com | 2 Aug 2021
    Slimv comes with a Paredit Mode: https://github.com/kovisoft/slimv Personally I leave it off, though, never been a fan of anything trying to 'help' me automatically while I'm typing apart from indentation. I do appreciate vim-sexp occasionally with these mappings: https://github.com/tpope/vim-sexp-mappings-for-regular-peopl...

    https://susam.in/blog/lisp-in-vim-with-slimv-or-vlime/ is a good overview of the differences between slimv and vlime (the two vim plugins) and how to use them.

vim-slime

Posts with mentions or reviews of vim-slime. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-20.
  • Racket Language
    5 projects | news.ycombinator.com | 20 Apr 2024
    https://github.com/jpalardy/vim-slime

    you can have a REPL in nvim/vim/tmux/screen/another terminal/or any other window , and send regions from your vim buffer to that repl

  • Livebook: Elixir's Swiss Army Knife
    2 projects | news.ycombinator.com | 25 Mar 2024
    For vim users, check out vim-slime[1]. It's really changed my workflow! It can work for any language that uses a REPL, including bash/shell. Combined with tmux, it is an amazing and (in hindsight) obvious tool. I honestly can't imagine myself going back to not having it now.

    [1]: https://github.com/jpalardy/vim-slime

  • NeoVim Capability Functions
    4 projects | /r/neovim | 3 Nov 2023
    For splitting the terminal you could try either toggleterm or tmux. If you want to send things from one tmux pane to another, then you can use slime. For a toggle-able filetree, you can use nvim tree.
  • Help running chunks of Python to a terminal as REPL
    3 projects | /r/neovim | 3 Jun 2023
    I use vim-slime. It works really well in tmux. https://github.com/jpalardy/vim-slime. Just blocks of code as cells
  • slimux.nvim - Simple plugin to send text to tmux panes
    4 projects | /r/neovim | 24 May 2023
    This is yet another plugin to capture text from the current buffer and send it to a tmux pane. I was using https://github.com/jpalardy/vim-slime previously, and wished I could just set sensible defaults for where to send text. Also, I wanted to create my first Neovim plugin! I have to say, after writing a bit of Vimscript in the past, the Neovim Lua API makes me a much happier camper.
  • If we can have this functionality in neovim, I'll probably never leave my room again
    2 projects | /r/neovim | 21 Mar 2023
    I use slime (which sends code to tmux panes), tmux (of course) and ipython for this. For example, the code I sent to ipython was with a simple keybinding ...
  • Running codes in one line
    2 projects | /r/vim | 19 Mar 2023
    If I understand correctly, what you need is a combination of vim, tmux, ipython and vim-slime.
  • Tools for productivity
    31 projects | /r/neovim | 7 Mar 2023
    REPL??? Do you have a very-easy-to-use way of running and testing your code? From vim-slime to nvim sniprun to autocommands with the built in terminal, to an external repl like ptpython (for python obviously). iron.nvim and conjure are two other neovim repl plugins. There are many ways of running the code that you're working on, and having something that makes this really easy for you is pretty essential. (sometimes I use inotifytools on linux to literally just run the script every time I save it.)
  • Favorite REPL/Notebook/Task Running plugins and workflow?
    8 projects | /r/neovim | 25 Feb 2023
    For the record/list, there's also: - https://github.com/hkupty/iron.nvim and - https://github.com/jpalardy/vim-slime
  • Outdated tutorials
    2 projects | /r/vim | 19 Feb 2023
    However, if you're coding in an interpreted language like python, R, bash, etc., then there is one plugin which you are likely to find helpful. That's vim-slime.

What are some alternatives?

When comparing vim-sexp-mappings-for-regular-people and vim-slime you can also consider the following projects:

parinfer-rust-mode - Simplifying how you write Lisp

vim-repl - Best REPL environment for Vim

doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]

neovim-remote - :ok_hand: Support for --remote and friends.

paredit - Official mirror of Paredit versions released on vim.org

iron.nvim - Interactive Repl Over Neovim

slimv - Official mirror of Slimv versions released on vim.org

Pluto.jl - 🎈 Simple reactive notebooks for Julia

emacs

neoterm - Wrapper of some vim/neovim's :terminal functions.

portacle - A portable common lisp development environment

vim-ipython-cell - Seamlessly run Python code in IPython from Vim